summaryrefslogtreecommitdiffstats
path: root/src/mapi/mapi/u_execmem.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-04-23 16:06:26 +0800
committerChia-I Wu <[email protected]>2010-05-07 10:41:11 +0800
commita73c6540d9a7f6e26d8568ba2fc522cb865f0a6c (patch)
treeedeb695b6ed24d3cb0016fbabadea48931de779f /src/mapi/mapi/u_execmem.h
parent296adbd545b8efd38c9ed508166b2de2764a444b (diff)
mapi: Add mapi and share the code with glapi.
Specifically, move all or most of glapi/glapi.c to mapi/u_current.c, glapi/glapi_execmem.c to mapi/u_execmem.c, glapi/glthread.[ch] to mapi/u_thread.[ch] and remove their dependencies on core Mesa headers.
Diffstat (limited to 'src/mapi/mapi/u_execmem.h')
-rw-r--r--src/mapi/mapi/u_execmem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mapi/mapi/u_execmem.h b/src/mapi/mapi/u_execmem.h
new file mode 100644
index 00000000000..13fff8df225
--- /dev/null
+++ b/src/mapi/mapi/u_execmem.h
@@ -0,0 +1,7 @@
+#ifndef _U_EXECMEM_H_
+#define _U_EXECMEM_H_
+
+void *
+u_execmem_alloc(unsigned int size);
+
+#endif /* _U_EXECMEM_H_ */