summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/pp/sl_pp_context.h')
-rw-r--r--src/glsl/pp/sl_pp_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/pp/sl_pp_context.h b/src/glsl/pp/sl_pp_context.h
index c7e6770f449..5826f9448d0 100644
--- a/src/glsl/pp/sl_pp_context.h
+++ b/src/glsl/pp/sl_pp_context.h
@@ -28,6 +28,7 @@
#ifndef SL_PP_CONTEXT_H
#define SL_PP_CONTEXT_H
+#include "sl_pp_dict.h"
#include "sl_pp_macro.h"
@@ -39,6 +40,7 @@ struct sl_pp_context {
char *cstr_pool;
unsigned int cstr_pool_max;
unsigned int cstr_pool_len;
+ struct sl_pp_dict dict;
struct sl_pp_macro *macro;
struct sl_pp_macro **macro_tail;
@@ -53,7 +55,7 @@ struct sl_pp_context {
unsigned int file;
};
-void
+int
sl_pp_context_init(struct sl_pp_context *context);
void