mojoshader_internal.h
changeset 611 8c2ee1a97ee1
parent 606 63e7a66ac320
child 612 72ccfe69eaf1
--- a/mojoshader_internal.h	Fri Feb 13 09:22:20 2009 -0500
+++ b/mojoshader_internal.h	Fri Feb 13 10:15:36 2009 -0500
@@ -155,6 +155,22 @@
 void MOJOSHADER_internal_free(void *ptr, void *d);
 #endif
 
+#if MOJOSHADER_FORCE_INCLUDE_CALLBACKS
+#define MOJOSHADER_internal_include_open NULL
+#define MOJOSHADER_internal_include_close NULL
+#else
+int MOJOSHADER_internal_include_open(MOJOSHADER_includeType inctype,
+                                     const char *fname, const char *parent,
+                                     const char **outdata,
+                                     unsigned int *outbytes,
+                                     MOJOSHADER_malloc m, MOJOSHADER_free f,
+                                     void *d);
+
+void MOJOSHADER_internal_include_close(const char *data, MOJOSHADER_malloc m,
+                                       MOJOSHADER_free f, void *d);
+#endif
+
+
 // result modifiers.
 // !!! FIXME: why isn't this an enum?
 #define MOD_SATURATE 0x01