mojoshader_internal.h
changeset 678 9fa2eb7d7871
parent 658 22695d3d6b98
child 682 ad75eb06ddce
--- a/mojoshader_internal.h	Fri Feb 20 08:03:27 2009 -0500
+++ b/mojoshader_internal.h	Fri Feb 20 09:01:40 2009 -0500
@@ -387,6 +387,15 @@
     struct Conditional *next;
 } Conditional;
 
+typedef struct Define
+{
+    const char *identifier;
+    const char *definition;
+    const char **parameters;
+    unsigned int paramcount;
+    struct Define *next;
+} Define;
+
 typedef struct IncludeState
 {
     const char *filename;
@@ -403,6 +412,7 @@
     unsigned int bytes_left;
     unsigned int line;
     Conditional *conditional_stack;
+    Define *defines;  // temp defines for macros with parameters.
     MOJOSHADER_includeClose close_callback;
     struct IncludeState *next;
 } IncludeState;