revert runtime file.
[repair.git] / Repair / RepairCompiler / MCC / Runtime / cinstrument.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
7 void alloc(void *ptr,int size);
8 void dealloc(void *ptr);
9 void *ourcalloc(size_t nmemb, size_t size);
10 void *ourmalloc(size_t size);
11 void ourfree(void *ptr);
12 void *ourrealloc(void *ptr, size_t size);
13 void initializemmap();
14 void resettypemap();
15 bool assertvalidtype(int ptr, int structure);
16 bool assertvalidmemory(int ptr, int structure);
17 void initializestack(void *);
18 #endif