Return to leak_detector.h CVS log | Up to [local] / OpenXM_contrib2 / asir2000 / gc / include |
version 1.1, 2001/04/20 07:59:30 | version 1.3, 2002/07/24 08:00:18 | ||
---|---|---|---|
|
|
||
#define GC_DEBUG | #define GC_DEBUG | ||
#include "gc.h" | #include "gc.h" | ||
#define malloc(n) GC_MALLOC(n) | #define malloc(n) GC_MALLOC(n) | ||
#define calloc(m,n) GC_MALLOC(m*n) | #define calloc(m,n) GC_MALLOC((m)*(n)) | ||
#define free(p) GC_FREE(p) | #define free(p) GC_FREE(p) | ||
#define realloc(p,n) GC_REALLOC(n) | #define realloc(p,n) GC_REALLOC((p),(n)) | ||
#define CHECK_LEAKS() GC_gcollect() | #define CHECK_LEAKS() GC_gcollect() |