glapi = API('GL')
-glapi.add_functions([
+glapi.addFunctions([
# GL_VERSION_1_0
GlFunction(Void, "glCullFace", [(GLenum, "mode")]),
GlFunction(Void, "glFrontFace", [(GLenum, "mode")]),
GlFunction(Void, "glPrimitiveRestartIndexNV", [(GLuint, "index")]),
# GL_ATI_map_object_buffer
- GlFunction(GLmap, "glMapObjectBufferATI", [(GLbuffer, "buffer")]),
+ GlFunction(GLpointer, "glMapObjectBufferATI", [(GLbuffer, "buffer")]),
GlFunction(Void, "glUnmapObjectBufferATI", [(GLbuffer, "buffer")]),
# GL_ATI_separate_stencil