diff options
Diffstat (limited to 'glsl_parser_extras.h')
| -rw-r--r-- | glsl_parser_extras.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glsl_parser_extras.h b/glsl_parser_extras.h index e1585d2872..cad3424f6b 100644 --- a/glsl_parser_extras.h +++ b/glsl_parser_extras.h @@ -101,6 +101,10 @@ extern void _mesa_glsl_warning(const YYLTYPE *locp, _mesa_glsl_parse_state *state, const char *fmt, ...); +extern "C" { +extern int preprocess(void *ctx, const char **shader, size_t *shader_len); +} + extern void _mesa_glsl_lexer_ctor(struct _mesa_glsl_parse_state *state, const char *string, size_t len); |
