Revert changes.
[repair.git] / Repair / RepairCompiler / MCC / Runtime / instrument.h
index 7709e054da092fe22117ad83170a6215104fc753..60376821f86d731947db26702b15f8f87d0685a0 100755 (executable)
@@ -1,4 +1,4 @@
-/* Defines interfaces for the applications and exports function calls that
+/* Defines interfaces for the applications and exports function calls that  
    the applications should use instead of the standard ones. */
 
 #ifndef INSTRUMENT_H
    the applications should use instead of the standard ones. */
 
 #ifndef INSTRUMENT_H
@@ -6,10 +6,6 @@
 #include "classlist.h"
 #include <stdlib.h>
 
 #include "classlist.h"
 #include <stdlib.h>
 
-#ifndef bool
-#define bool int
-#endif
-
 void alloc(void *ptr,int size);
 void dealloc(void *ptr);
 void *ourcalloc(size_t nmemb, size_t size);
 void alloc(void *ptr,int size);
 void dealloc(void *ptr);
 void *ourcalloc(size_t nmemb, size_t size);
@@ -17,9 +13,10 @@ void *ourmalloc(size_t size);
 void ourfree(void *ptr);
 void *ourrealloc(void *ptr, size_t size);
 void initializemmap();
 void ourfree(void *ptr);
 void *ourrealloc(void *ptr, size_t size);
 void initializemmap();
+typeobject * gettypeobject();
 void resettypemap();
 bool assertvalidtype(int ptr, int structure);
 bool assertvalidmemory(int ptr, int structure);
 void initializestack(void *);
 void resettypemap();
 bool assertvalidtype(int ptr, int structure);
 bool assertvalidmemory(int ptr, int structure);
 void initializestack(void *);
-extern struct typemap * memmap;
+extern typemap * memmap;
 #endif
 #endif