[GRASS5] G_malloc and casts...

Eric G. Miller egm2 at jps.net
Mon Oct 29 01:58:00 EST 2001

Is there a good reason why G_malloc(), G_calloc, and G_realloc
return pointers to a "char" rather than pointers to "void"? It
forces everyone else to cast the returned value, making code
unnecessarily noisy.

Eric G. Miller <egm2 at jps.net>

More information about the grass-dev mailing list