1999-11-01 21:48:50 +01:00
|
|
|
#define GC_DEBUG
|
|
|
|
#include "gc.h"
|
|
|
|
#define malloc(n) GC_MALLOC(n)
|
2002-02-12 05:37:57 +01:00
|
|
|
#define calloc(m,n) GC_MALLOC((m)*(n))
|
1999-11-01 21:48:50 +01:00
|
|
|
#define free(p) GC_FREE(p)
|
2002-02-12 05:37:57 +01:00
|
|
|
#define realloc(p,n) GC_REALLOC((p),(n))
|
1999-11-01 21:48:50 +01:00
|
|
|
#define CHECK_LEAKS() GC_gcollect()
|