These functions are used to set and get global OpenGL options, as well as to obtain the version number of the installed OpenGL libraries.
void NSOpenGLGetOption(NSOpenGLGlobalOption pname, long *param)
void NSOpenGLGetVersion(long *major, long *minor)
void NSOpenGLSetOption(NSOpenGLGlobalOption pname, long param)