mesa: small texture targetIndex tidy up
[mesa.git] / src / mesa / main / api_exec.h
index ff35b78bb9fb578e8e149b704da2f1f5163a4563..f55f56bda4ab5f42aea4117aaab672801a32223f 100644 (file)
@@ -26,6 +26,9 @@
 #ifndef API_EXEC_H
 #define API_EXEC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 struct _glapi_table;
 struct gl_context;
@@ -39,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