gc/leak_detector.h
- Committer:
- sca8er
- Date:
- 2012-03-05
- Revision:
- 3:0c3bcea5b4d0
- Parent:
- 1:75777c91f4d4
File content as of revision 3:0c3bcea5b4d0:
#define GC_DEBUG #include "gc.h" #define malloc(n) GC_MALLOC(n) #define calloc(m,n) GC_MALLOC((m)*(n)) #define free(p) GC_FREE(p) #define realloc(p,n) GC_REALLOC((p),(n)) #define CHECK_LEAKS() GC_gcollect()