Hi everybody,


While having a look at glut headers on OSX, I realized that there are a glutCheckLoop and a glutWMCloseFunc functions but they are not exported through OpenGL.GLUT. 


#if (GLUT_MACOSX_IMPLEMENTATION >= 2)
/* Mac OS X specific API */
extern void APIENTRY glutWMCloseFunc(void (*func)(void));
extern void APIENTRY glutCheckLoop(void);
#endif


I quickly tried to add the following code in OpenGL/GLUT/__init__.py (I know it should be done somewhere else) as a quick test and it seems to be working fine:

glutCheckLoop = platform.createBaseFunction( 
    'glutCheckLoop', dll=platform.GLUT, resultType=None, 
    argTypes=[],
    doc='glutCheckLoop(  ) -> None', 
    argNames=(),
)

glutCheckLoop = platform.createBaseFunction( 
    'glutCheckLoop', dll=platform.GLUT, resultType=None, 
    argTypes=[],
    doc='glutCheckLoop(  ) -> None', 
    argNames=(),
)


Would that be possible to include the code (at the right place) for next release ?


Nicolas