mesa: add support for memory object creation/import/delete
[mesa.git] / src / mesa / main / api_exec.h
index bcf46116394cbdd029029f2d8c06e6cfb57f42af..f55f56bda4ab5f42aea4117aaab672801a32223f 100644 (file)
@@ -1,6 +1,5 @@
 /*
  * Mesa 3-D graphics library
- * Version:  7.1
  *
  * Copyright (C) 1999-2008  Brian Paul   All Rights Reserved.
  *
@@ -27,6 +26,9 @@
 #ifndef API_EXEC_H
 #define API_EXEC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 struct _glapi_table;
 struct gl_context;
@@ -40,4 +42,11 @@ _mesa_initialize_exec_table(struct gl_context *ctx);
 extern void
 _mesa_initialize_dispatch_tables(struct gl_context *ctx);
 
+extern struct _glapi_table *
+_mesa_new_nop_table(unsigned numEntries);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
 #endif