Moved the "public API" comment to what is now, in fact, the real public API. :)
authorRyan C. Gordon <icculus@icculus.org>
Sun, 15 Feb 2009 02:25:26 -0500
changeset 628 33da6087aa48
parent 627 166c4ad7126b
child 629 d886403c6609
Moved the "public API" comment to what is now, in fact, the real public API. :)
mojoshader_preprocessor.c
--- a/mojoshader_preprocessor.c	Sun Feb 15 02:24:59 2009 -0500
+++ b/mojoshader_preprocessor.c	Sun Feb 15 02:25:26 2009 -0500
@@ -1018,11 +1018,6 @@
 } // preprocessor_sourcepos
 
 
-// public API...
-
-static const MOJOSHADER_preprocessData out_of_mem_data_preprocessor = {
-    1, &MOJOSHADER_out_of_mem_error, 0, 0, 0, 0, 0
-};
 
 #define BUFFER_LEN (64 * 1024)
 typedef struct BufferList
@@ -1174,6 +1169,13 @@
 } // build_errors
 
 
+static const MOJOSHADER_preprocessData out_of_mem_data_preprocessor = {
+    1, &MOJOSHADER_out_of_mem_error, 0, 0, 0, 0, 0
+};
+
+
+// public API...
+
 const MOJOSHADER_preprocessData *MOJOSHADER_preprocess(const char *filename,
                              const char *source, unsigned int sourcelen,
                              const MOJOSHADER_preprocessorDefine **defines,