aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/table.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mapi/table.h')
-rw-r--r--mesalib/src/mapi/table.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mesalib/src/mapi/table.h b/mesalib/src/mapi/table.h
index e2d6ef03d..a1af40c6f 100644
--- a/mesalib/src/mapi/table.h
+++ b/mesalib/src/mapi/table.h
@@ -41,6 +41,14 @@ struct mapi_table;
extern const mapi_func table_noop_array[];
+
+typedef void (*nop_handler_proc)(const char *name);
+
+
+void
+table_set_noop_handler(nop_handler_proc func);
+
+
/**
* Get the no-op dispatch table.
*/