summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_process.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-06-22 09:05:29 +0200
committerMichal Krol <[email protected]>2009-09-07 10:11:47 +0200
commit6a11d4150cfcdd646c17f8b365b5481c2c583208 (patch)
tree9037f4dc93262d269ba126788a0d5691bb10b4cd /src/glsl/pp/sl_pp_process.h
parent5e8e3cddae9b2797cfa525c643c701debe2f4c04 (diff)
glsl: Implement macro expansion.
Diffstat (limited to 'src/glsl/pp/sl_pp_process.h')
-rw-r--r--src/glsl/pp/sl_pp_process.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_process.h b/src/glsl/pp/sl_pp_process.h
index f7df9a2850a..37cdc4c9a78 100644
--- a/src/glsl/pp/sl_pp_process.h
+++ b/src/glsl/pp/sl_pp_process.h
@@ -33,6 +33,8 @@
#include "sl_pp_token.h"
+struct sl_pp_process_state;
+
int
sl_pp_process(struct sl_pp_context *context,
const struct sl_pp_token_info *input,
@@ -45,4 +47,8 @@ sl_pp_process_define(struct sl_pp_context *context,
unsigned int last,
struct sl_pp_macro *macro);
+int
+sl_pp_process_out(struct sl_pp_process_state *state,
+ const struct sl_pp_token_info *token);
+
#endif /* SL_PP_PROCESS_H */