summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_public.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-11-21 20:41:48 +0100
committerMichal Krol <michal@vmware.com>2009-11-21 20:41:48 +0100
commitabe1f332983e5c70d75b5ae83f06c0dfdd081a26 (patch)
tree93fb1dec081fdffe0c80b041a21b1a01a0730ead /src/glsl/pp/sl_pp_public.h
parentb89cd8afc510541a18f2f5c04884637626e104e1 (diff)
glsl/pp: Do purification and tokenisation in a single step.
Diffstat (limited to 'src/glsl/pp/sl_pp_public.h')
-rw-r--r--src/glsl/pp/sl_pp_public.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_public.h b/src/glsl/pp/sl_pp_public.h
index b1d92d02a7..8317c7e378 100644
--- a/src/glsl/pp/sl_pp_public.h
+++ b/src/glsl/pp/sl_pp_public.h
@@ -45,6 +45,10 @@ sl_pp_context_destroy(struct sl_pp_context *context);
const char *
sl_pp_context_error_message(const struct sl_pp_context *context);
+int
+sl_pp_context_add_unique_str(struct sl_pp_context *context,
+ const char *str);
+
const char *
sl_pp_context_cstr(const struct sl_pp_context *context,
int offset);