mojoshader.c
changeset 1146 31337471b909
parent 1144 8ca4b4f3ef22
child 1148 3a061cc281c2
--- a/mojoshader.c	Wed Dec 31 16:49:59 2014 -0500
+++ b/mojoshader.c	Sat Jan 03 00:50:43 2015 -0500
@@ -270,22 +270,6 @@
 } Profile;
 
 
-// Convenience functions for allocators...
-#if !MOJOSHADER_FORCE_ALLOCATOR
-void *MOJOSHADER_internal_malloc(int bytes, void *d) { return malloc(bytes); }
-void MOJOSHADER_internal_free(void *ptr, void *d) { free(ptr); }
-#endif
-
-MOJOSHADER_error MOJOSHADER_out_of_mem_error = {
-    "Out of memory", NULL, MOJOSHADER_POSITION_NONE
-};
-
-MOJOSHADER_parseData MOJOSHADER_out_of_mem_data = {
-    1, &MOJOSHADER_out_of_mem_error, 0, 0, 0, 0,
-    MOJOSHADER_TYPE_UNKNOWN, 0, 0, 0, 0
-};
-
-
 // !!! FIXME: cut and paste between every damned source file follows...
 // !!! FIXME: We need to make some sort of ContextBase that applies to all
 // !!! FIXME:  files and move this stuff to mojoshader_common.c ...