X-Git-Url: http://plrg.eecs.uci.edu/git/?p=repair.git;a=blobdiff_plain;f=Repair%2FRepairCompiler%2FMCC%2FRuntime%2Finstrument.h;h=60376821f86d731947db26702b15f8f87d0685a0;hp=7709e054da092fe22117ad83170a6215104fc753;hb=1a9b5106dbaf948defb63a97a3ffffde025a4e2c;hpb=464f810d8962b4a2622ba3bf5b5b9530373a93a0 diff --git a/Repair/RepairCompiler/MCC/Runtime/instrument.h b/Repair/RepairCompiler/MCC/Runtime/instrument.h index 7709e05..6037682 100755 --- a/Repair/RepairCompiler/MCC/Runtime/instrument.h +++ b/Repair/RepairCompiler/MCC/Runtime/instrument.h @@ -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 @@ -6,10 +6,6 @@ #include "classlist.h" #include -#ifndef bool -#define bool int -#endif - 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(); +typeobject * gettypeobject(); 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