aboutsummaryrefslogtreecommitdiffstats
path: root/gc/include/leak_detector.h
blob: 6786825ab6d56d40d95af987530226f3734e860b (plain) (blame)
1
2
3
4
5
6
7
#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(n)
#define CHECK_LEAKS() GC_gcollect()