X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fshader%2Fslang%2Fslang_preprocess.c;h=e9a24cc009af923bf396ac133c9623343f848eaa;hb=766f3ccbda7def1a81a3d07002e500e8bb1a898e;hp=749bb8c0f644312d6cf42f1dfc73aeabba5f0165;hpb=9225b67383ee5c5b511b84838fd248b85403bd92;p=mesa.git diff --git a/src/mesa/shader/slang/slang_preprocess.c b/src/mesa/shader/slang/slang_preprocess.c index 749bb8c0f64..e9a24cc009a 100644 --- a/src/mesa/shader/slang/slang_preprocess.c +++ b/src/mesa/shader/slang/slang_preprocess.c @@ -1300,14 +1300,15 @@ error: } -/* +/** * Remove the continuation characters from the input string. * This is the very first step in preprocessing and is effective * even inside comment blocks. * If there is a whitespace between a backslash and a newline, * this is not considered as a line continuation. + * \return GL_TRUE for success, GL_FALSE otherwise. */ -GLboolean +static GLboolean _slang_preprocess_backslashes(slang_string *output, const char *input) { @@ -1334,7 +1335,7 @@ _slang_preprocess_backslashes(slang_string *output, slang_string_pushc(output, *input++); } } - return TRUE; + return GL_TRUE; }