print '# else'
print '# define __getPrivateProcAddress(name) glXGetProcAddressARB((const GLubyte *)(name))'
print '# endif'
- print '# define __abort() OS::Abort()'
print '#else /* !RETRACE */'
print '# ifdef _WIN32'
print '# define __getPrivateProcAddress(name) __wglGetProcAddress(name)'
print ' static inline __GLXextFuncPtr __glXGetProcAddressARB(const GLubyte * procName);'
print '# endif'
print '# endif'
- print '# define __abort() Trace::Abort()'
print '#endif /* !RETRACE */'
print
def is_public_function(self, function):
- return function.name in public_symbols
+ return function.name in public_symbols or function.name.startswith('CGL')
if __name__ == '__main__':