mojoshader_internal.h
changeset 542 a56d3bfd2e36
parent 524 03eea2f0762c
child 551 217200672d64
--- a/mojoshader_internal.h	Tue Feb 03 04:10:50 2009 -0500
+++ b/mojoshader_internal.h	Tue Feb 03 04:14:00 2009 -0500
@@ -83,11 +83,6 @@
 
 #define STATICARRAYLEN(x) ( (sizeof ((x))) / (sizeof ((x)[0])) )
 
-// Special-case return values from the parsing pipeline...
-#define FAIL (-1)
-#define NOFAIL (-2)
-#define END_OF_STREAM (-3)
-
 
 // Byteswap magic...
 
@@ -269,7 +264,14 @@
 } MOJOSHADER_parsePhase;
 
 extern MOJOSHADER_parseData out_of_mem_data;
-extern const char *out_of_mem_str;
+
+typedef struct ErrorList
+{
+    MOJOSHADER_error error;
+    struct ErrorList *next;
+} ErrorList;
+
+
 
 #endif  // _INCLUDE_MOJOSHADER_INTERNAL_H_