summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/slang_mem.h')
-rw-r--r--src/mesa/shader/slang/slang_mem.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/shader/slang/slang_mem.h b/src/mesa/shader/slang/slang_mem.h
index f44892666bf..a91c2b8791f 100644
--- a/src/mesa/shader/slang/slang_mem.h
+++ b/src/mesa/shader/slang/slang_mem.h
@@ -30,12 +30,7 @@
#include "imports.h"
-typedef struct slang_mempool_
-{
- GLuint Size, Used;
- char *Data;
- struct slang_mempool_ *Next;
-} slang_mempool;
+typedef struct slang_mempool_ slang_mempool;
extern slang_mempool *
@@ -53,6 +48,9 @@ _slang_realloc(void *oldBuffer, GLuint oldSize, GLuint newSize);
extern char *
_slang_strdup(const char *s);
+extern void
+_slang_free(void *addr);
+
#define USE_MEMPOOL 1 /* XXX temporary */