+Bool_ = FakeEnum(Int, [
+ "False",
+ "True",
+])
+
+GLXAttrib = FakeEnum(Int, [
+ "GLX_USE_GL",
+ "GLX_BUFFER_SIZE",
+ "GLX_LEVEL",
+ "GLX_RGBA",
+ "GLX_DOUBLEBUFFER",
+ "GLX_STEREO",
+ "GLX_AUX_BUFFERS",
+ "GLX_RED_SIZE",
+ "GLX_GREEN_SIZE",
+ "GLX_BLUE_SIZE",
+ "GLX_ALPHA_SIZE",
+ "GLX_DEPTH_SIZE",
+ "GLX_STENCIL_SIZE",
+ "GLX_ACCUM_RED_SIZE",
+ "GLX_ACCUM_GREEN_SIZE",
+ "GLX_ACCUM_BLUE_SIZE",
+ "GLX_ACCUM_ALPHA_SIZE",
+ "GLX_CONFIG_CAVEAT",
+ "GLX_X_VISUAL_TYPE",
+ "GLX_TRANSPARENT_TYPE",
+ "GLX_TRANSPARENT_INDEX_VALUE",
+ "GLX_TRANSPARENT_RED_VALUE",
+ "GLX_TRANSPARENT_GREEN_VALUE",
+ "GLX_TRANSPARENT_BLUE_VALUE",
+ "GLX_TRANSPARENT_ALPHA_VALUE",
+ "GLX_DONT_CARE",
+])
+
+GLXError = FakeEnum(Int, [
+ "GLX_BAD_SCREEN",
+ "GLX_BAD_ATTRIBUTE",
+ "GLX_NO_EXTENSION",
+ "GLX_BAD_VISUAL",
+ "GLX_BAD_CONTEXT",
+ "GLX_BAD_VALUE",
+ "GLX_BAD_ENUM",
+])
+
+
+GLXbuffer = Flags(Int, [
+ "GLX_WINDOW_BIT",
+ "GLX_PIXMAP_BIT",
+ "GLX_PBUFFER_BIT",
+ "GLX_AUX_BUFFERS_BIT",
+ "GLX_FRONT_LEFT_BUFFER_BIT",
+ "GLX_FRONT_RIGHT_BUFFER_BIT",
+ "GLX_BACK_LEFT_BUFFER_BIT",
+ "GLX_BACK_RIGHT_BUFFER_BIT",
+ "GLX_DEPTH_BUFFER_BIT",
+ "GLX_STENCIL_BUFFER_BIT",
+ "GLX_ACCUM_BUFFER_BIT",
+])
+
+GLXEnum = FakeEnum(Int, [
+ "GLX_NONE",
+ "GLX_SLOW_CONFIG",
+ "GLX_TRUE_COLOR",
+ "GLX_DIRECT_COLOR",
+ "GLX_PSEUDO_COLOR",
+ "GLX_STATIC_COLOR",
+ "GLX_GRAY_SCALE",
+ "GLX_STATIC_GRAY",
+ "GLX_TRANSPARENT_RGB",
+ "GLX_TRANSPARENT_INDEX",
+ "GLX_VISUAL_ID",
+ "GLX_SCREEN",
+ "GLX_NON_CONFORMANT_CONFIG",
+ "GLX_DRAWABLE_TYPE",
+ "GLX_RENDER_TYPE",
+ "GLX_X_RENDERABLE",
+ "GLX_FBCONFIG_ID",
+ "GLX_RGBA_TYPE",
+ "GLX_COLOR_INDEX_TYPE",
+ "GLX_MAX_PBUFFER_WIDTH",
+ "GLX_MAX_PBUFFER_HEIGHT",
+ "GLX_MAX_PBUFFER_PIXELS",
+ "GLX_PRESERVED_CONTENTS",
+ "GLX_LARGEST_PBUFFER",
+ "GLX_WIDTH",
+ "GLX_HEIGHT",
+ "GLX_EVENT_MASK",
+ "GLX_DAMAGED",
+ "GLX_SAVED",
+ "GLX_WINDOW",
+ "GLX_PBUFFER",
+ "GLX_PBUFFER_HEIGHT",
+ "GLX_PBUFFER_WIDTH",
+])
+
+GLXbuffer = Flags(Int, [
+ "GLX_RGBA_BIT",
+ "GLX_COLOR_INDEX_BIT",
+ "GLX_PBUFFER_CLOBBER_MASK",
+])