diff options
author | Michal Krol <[email protected]> | 2009-09-14 13:07:25 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-14 13:07:25 +0200 |
commit | a67f32289a6e22daa2665310f4a8f26979f7ed60 (patch) | |
tree | 0959b3e98b5eaab652ce6e7a05112c777305ba80 /src/glsl/pp/sl_pp_context.h | |
parent | 9f273f109875cd9208d4c1c8f5939fb5e507c230 (diff) |
glsl/pp: Add a dictionary to a context.
Diffstat (limited to 'src/glsl/pp/sl_pp_context.h')
-rw-r--r-- | src/glsl/pp/sl_pp_context.h | 4 |
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 |