summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_public.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-17 14:27:36 -0600
committerBrian Paul <[email protected]>2008-06-18 09:22:00 -0600
commit5ebd8495b31fadf7452aa336fb5aa708c1a5d753 (patch)
tree8f3f5b43cbe3ad229c8d4d98577be27d5a9a14c8 /src/mesa/state_tracker/st_public.h
parent29d632efbc29200ed4f6f5e34dd10c857a2568aa (diff)
gallium: added st_get_proc_address()
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r--src/mesa/state_tracker/st_public.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 9d88ce9764d..a0dab33257f 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -86,4 +86,11 @@ void st_finish( struct st_context *st );
void st_notify_swapbuffers(struct st_framebuffer *stfb);
void st_notify_swapbuffers_complete(struct st_framebuffer *stfb);
+
+/** Generic function type */
+typedef void (*st_proc)();
+
+st_proc st_get_proc_address(const char *procname);
+
+
#endif