]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
Remove parser_compile_string_len, and make parser_compiler_string take an additional...
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index 358b03c8fb243d8515f42e0fdd50ea83102de66d..3755a51384a1ee3cb0b2999d0630f418c6e04145 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -919,15 +919,11 @@ qcint             prog_tempstring(qc_program *prog, const char *_str);
 /*===================================================================*/
 
 bool parser_init          ();
-bool parser_compile_file  (const char *filename);
-bool parser_compile_string(const char *name, const char *str);
-bool parser_finish        (const char *output);
+bool parser_compile_file  (const char *);
+bool parser_compile_string(const char *, const char *, size_t);
+bool parser_finish        (const char *);
 void parser_cleanup       ();
 
-/* TODO: make compile_string accept len and remove this */
-/* 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 ========================*/
 /*===================================================================*/