[GEM-dev] HaveValidContext + AGL

IOhannes m zmoelnig zmoelnig at iem.at
Mon Jan 30 16:40:25 CET 2006


hi all.

i am currently skipping through the code and trying to replace 
pre-processor checks by runtime checks.

i see a lot of references to HaveValidContext() in __APPLE__.
i think some of them are obsolete or leftovers.

what bothers me a bit is, that whenver HaveValidContext is used, there 
is also an include for <AGL/agl.h>.
is this necessary or is it just a copy'n'paste leftover?
(i think there is nothing special in most of these files which would 
require AGL)

also i noticed that <Carbon/Carbon.h> and <AGL/agl.h> are included using 
the #import directive, which i think is ugly.
are these 2 files save to include more than once?

mf.asdr
IOhannes




More information about the GEM-dev mailing list