mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 08:03:41 +08:00
8 lines
197 B
C
8 lines
197 B
C
|
#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()
|