summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_macro.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-06-26 12:26:05 +0200
committerMichal Krol <[email protected]>2009-09-07 10:11:52 +0200
commita294715612d14d64e12026361ff7cc29321607d6 (patch)
tree34f6fdc5ad039a504b7f99eba340b3668225af32 /src/glsl/pp/sl_pp_macro.h
parent153b179862411e9de14d26bbcff16bc81f1edc91 (diff)
glsl: Allow for preprocessor macro redefinition.
Diffstat (limited to 'src/glsl/pp/sl_pp_macro.h')
-rw-r--r--src/glsl/pp/sl_pp_macro.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_macro.h b/src/glsl/pp/sl_pp_macro.h
index 476991d581d..7af11c5ece7 100644
--- a/src/glsl/pp/sl_pp_macro.h
+++ b/src/glsl/pp/sl_pp_macro.h
@@ -50,6 +50,9 @@ sl_pp_macro_new(void);
void
sl_pp_macro_free(struct sl_pp_macro *macro);
+void
+sl_pp_macro_reset(struct sl_pp_macro *macro);
+
int
sl_pp_macro_expand(struct sl_pp_context *context,
const struct sl_pp_token_info *input,