diff options
author | Brian Paul <[email protected]> | 2004-11-27 03:51:11 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-11-27 03:51:11 +0000 |
commit | 767e15a78afdb2042cc5eb693afb5791c046c995 (patch) | |
tree | 43674d5e1692db5bf8c4c7036b6b0580bef5f7e5 /src/mesa/glapi/gl_apitemp.py | |
parent | 1136412013d76a5cc197a10fcab99da03c642378 (diff) |
Use new _glapi_proc typedef instead of void * for function pointers.
Misc clean-ups in glapi.c
Diffstat (limited to 'src/mesa/glapi/gl_apitemp.py')
-rw-r--r-- | src/mesa/glapi/gl_apitemp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/gl_apitemp.py b/src/mesa/glapi/gl_apitemp.py index a68fc7e6632..1e5c3f4efa5 100644 --- a/src/mesa/glapi/gl_apitemp.py +++ b/src/mesa/glapi/gl_apitemp.py @@ -148,7 +148,7 @@ class PrintGlOffsets(gl_XML.FilterGLAPISpecBase): #error TABLE_ENTRY must be defined #endif -static void * DISPATCH_TABLE_NAME[] = {""" +static _glapi_proc DISPATCH_TABLE_NAME[] = {""" keys = self.functions.keys() keys.sort() for k in keys: @@ -175,7 +175,7 @@ static void * DISPATCH_TABLE_NAME[] = {""" * We list the functions which are not otherwise used. */ #ifdef UNUSED_TABLE_NAME -static const void * const UNUSED_TABLE_NAME[] = {""" +static _glapi_proc UNUSED_TABLE_NAME[] = {""" keys = self.functions.keys() keys.sort() |