On Wed, 13 Oct 1999, Brian Paul wrote:

> I've renamed the memory macros I created a few days ago.  I removed
> the GL_ prefix on each one in order to prevent future name-space
> collisions with future GL enums/tokens.
> 
> The new macros are
> MALLOC
> CALLOC
> MALLOC_STRUCT
> CALLOC_STRUCT
> FREE
 
It would probably be safer to use an '_GL_' prefix (eg _GL_FREE)
since there is a fair probability of one of your new tokens
being a #define in some system header on one OS or another.

I agree that GL and gl prefixes for internal Mesa names is gonna
be pretty dangerous though.

Steve Baker                (817)619-2657 (Vox/Vox-Mail)
Raytheon Systems Inc.      (817)619-2466 (Fax)
Work: [EMAIL PROTECTED]      http://www.hti.com
Home: [EMAIL PROTECTED] http://web2.airmail.net/sjbaker1



_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to