]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
Don't skip the \n after parsing a pragma in the lexer otherwise 2 pragmas in the...
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index c42197011c2617449aba7d2429e5b6184e8f99d0..1ea2ceff8bb472286c8bc3982d1f785fdb4dcc9e 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -751,14 +751,18 @@ bool parser_compile_file  (const char *filename);
 bool parser_compile_string(const char *name, const char *str);
 bool parser_finish        (const char *output);
 void parser_cleanup       ();
+/* There's really no need to strlen() preprocessed files */
+bool parser_compile_string_len(const char *name, const char *str, size_t len);
 
 /*===================================================================*/
 /*====================== ftepp.c commandline ========================*/
 /*===================================================================*/
-bool ftepp_init             (FILE *out);
+bool ftepp_init             ();
 bool ftepp_preprocess_file  (const char *filename);
 bool ftepp_preprocess_string(const char *name, const char *str);
 void ftepp_finish           ();
+const char *ftepp_get       ();
+void ftepp_flush            ();
 
 /*===================================================================*/
 /*======================= main.c commandline ========================*/