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_procs.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_procs.py')
-rw-r--r-- | src/mesa/glapi/gl_procs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/gl_procs.py b/src/mesa/glapi/gl_procs.py index e5f575211f2..b8a6253eff4 100644 --- a/src/mesa/glapi/gl_procs.py +++ b/src/mesa/glapi/gl_procs.py @@ -52,13 +52,13 @@ class PrintGlProcs(gl_XML.FilterGLAPISpecBase): print 'typedef struct {' print ' int Name_offset;' print '#ifdef NEED_FUNCTION_POINTER' - print ' void * Address;' + print ' _glapi_proc Address;' print '#endif' print ' unsigned int Offset;' print '} glprocs_table_t;' print '' print '#ifdef NEED_FUNCTION_POINTER' - print '# define NAME_FUNC_OFFSET(n,f,o) { n , (void *) f , o }' + print '# define NAME_FUNC_OFFSET(n,f,o) { n , (_glapi_proc) f , o }' print '#else' print '# define NAME_FUNC_OFFSET(n,f,o) { n , o }' print '#endif' |