summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_purify.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-11-10 00:15:33 +0100
committerMichal Krol <[email protected]>2009-11-10 00:15:33 +0100
commitd37f7694b60d3dad8daf9e2af4e509c15b996553 (patch)
tree4d619cee086d92d8a520bc588f73fc035108180a /src/glsl/pp/sl_pp_purify.h
parentc4bd6ccde8241d6a5eb631c713ba79db51163701 (diff)
glsl/pp: Have sl_pp_purify() return error msg/line no.
Diffstat (limited to 'src/glsl/pp/sl_pp_purify.h')
-rw-r--r--src/glsl/pp/sl_pp_purify.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/glsl/pp/sl_pp_purify.h b/src/glsl/pp/sl_pp_purify.h
index 011b117937e..88ea9c9e7a7 100644
--- a/src/glsl/pp/sl_pp_purify.h
+++ b/src/glsl/pp/sl_pp_purify.h
@@ -36,6 +36,9 @@ struct sl_pp_purify_options {
int
sl_pp_purify(const char *input,
const struct sl_pp_purify_options *options,
- char **output);
+ char **output,
+ char *errormsg,
+ unsigned int cberrormsg,
+ unsigned int *errorline);
#endif /* SL_PP_PURIFY_H */