summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glapi.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-11-27 03:51:11 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-11-27 03:51:11 +0000
commit767e15a78afdb2042cc5eb693afb5791c046c995 (patch)
tree43674d5e1692db5bf8c4c7036b6b0580bef5f7e5 /src/mesa/glapi/glapi.h
parent1136412013d76a5cc197a10fcab99da03c642378 (diff)
Use new _glapi_proc typedef instead of void * for function pointers.
Misc clean-ups in glapi.c
Diffstat (limited to 'src/mesa/glapi/glapi.h')
-rw-r--r--src/mesa/glapi/glapi.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h
index 32cd2c812a..b060c1495e 100644
--- a/src/mesa/glapi/glapi.h
+++ b/src/mesa/glapi/glapi.h
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 6.2
+ * Version: 6.3
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
@@ -51,6 +51,8 @@ struct _glapi_table;
typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...);
+typedef void (*_glapi_proc)(); /* generic function pointer */
+
extern void *_glapi_Context;
@@ -115,7 +117,7 @@ extern GLint
_glapi_get_proc_offset(const char *funcName);
-extern const GLvoid *
+extern const _glapi_proc
_glapi_get_proc_address(const char *funcName);