home *** CD-ROM | disk | FTP | other *** search
- #ifndef __StubsHack_h
- #include "StubsHack.StubsHack.h"
- #endif
-
- extern StubsHack_mallocfn HeapGraph_old_malloc;
- extern StubsHack_reallocfn HeapGraph_old_realloc;
- extern StubsHack_callocfn HeapGraph_old_calloc;
- extern StubsHack_freefn HeapGraph_old_free;
- /*
- These are inited to NULL.
- After you call HeapGraph_RedirectAllocFns, they will point to the original
- malloc functions (usually the shared C lib functions, unless
- StubsHack_ReplaceANSIAllocFns was called before HeapGraph_RedirectAllocFns).
- These pointers are probably not all that much use...
- */
-