Revert changes.
[repair.git] / Repair / RepairCompiler / MCC / Runtime / instrument.h
1 /* Defines interfaces for the applications and exports function calls that  
2    the applications should use instead of the standard ones. */
3
4 #ifndef INSTRUMENT_H
5 #define INSTUMENT_H
6 #include "classlist.h"
7 #include <stdlib.h>
8
9 void alloc(void *ptr,int size);
10 void dealloc(void *ptr);
11 void *ourcalloc(size_t nmemb, size_t size);
12 void *ourmalloc(size_t size);
13 void ourfree(void *ptr);
14 void *ourrealloc(void *ptr, size_t size);
15 void initializemmap();
16 typeobject * gettypeobject();
17 void resettypemap();
18 bool assertvalidtype(int ptr, int structure);
19 bool assertvalidmemory(int ptr, int structure);
20 void initializestack(void *);
21 extern typemap * memmap;
22 #endif