diff options
author | Michal Krol <[email protected]> | 2009-06-19 12:02:28 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-07 10:11:45 +0200 |
commit | fd991d845a5f639b9b675a4840ad234c151d56b4 (patch) | |
tree | 46a786562e309631fcdcb3e5ffaec820a4b4baef /src/glsl/pp/sl_pp_process.h | |
parent | 3ce5e668180748e2eccd1a8d3931ab98c2919df3 (diff) |
glsl: Parse define directive in preprocessor.
Diffstat (limited to 'src/glsl/pp/sl_pp_process.h')
-rw-r--r-- | src/glsl/pp/sl_pp_process.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_process.h b/src/glsl/pp/sl_pp_process.h index d6401de960e..f7df9a2850a 100644 --- a/src/glsl/pp/sl_pp_process.h +++ b/src/glsl/pp/sl_pp_process.h @@ -29,6 +29,7 @@ #define SL_PP_PROCESS_H #include "sl_pp_context.h" +#include "sl_pp_macro.h" #include "sl_pp_token.h" @@ -37,4 +38,11 @@ sl_pp_process(struct sl_pp_context *context, const struct sl_pp_token_info *input, struct sl_pp_token_info **output); +int +sl_pp_process_define(struct sl_pp_context *context, + const struct sl_pp_token_info *input, + unsigned int first, + unsigned int last, + struct sl_pp_macro *macro); + #endif /* SL_PP_PROCESS_H */ |