summaryrefslogtreecommitdiff
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.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/glsl/pp/sl_pp_context.h b/src/glsl/pp/sl_pp_context.h
index 6b8cc2f960..569a2d735b 100644
--- a/src/glsl/pp/sl_pp_context.h
+++ b/src/glsl/pp/sl_pp_context.h
@@ -30,6 +30,7 @@
#include "sl_pp_dict.h"
#include "sl_pp_macro.h"
+#include "sl_pp_purify.h"
#define SL_PP_MAX_IF_NESTING 64
@@ -53,10 +54,12 @@ struct sl_pp_context {
unsigned int line;
unsigned int file;
-};
-int
-sl_pp_context_add_unique_str(struct sl_pp_context *context,
- const char *str);
+ struct sl_pp_purify_state pure;
+
+ char *getc_buf;
+ unsigned int getc_buf_size;
+ unsigned int getc_buf_capacity;
+};
#endif /* SL_PP_CONTEXT_H */