2013-02-13 Richard Biener <rguenther@suse.de>
[official-gcc.git] / boehm-gc / include / leak_detector.h
blob0674ab4d09f6d1db7bc625b058145186cee75df6
1 #define GC_DEBUG
2 #include "gc.h"
3 #define malloc(n) GC_MALLOC(n)
4 #define calloc(m,n) GC_MALLOC((m)*(n))
5 #define free(p) GC_FREE(p)
6 #define realloc(p,n) GC_REALLOC((p),(n))
7 #define CHECK_LEAKS() GC_gcollect()