source: trunk/gcc/boehm-gc/include/leak_detector.h

Last change on this file was 2, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 207 bytes
Line 
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()
Note: See TracBrowser for help on using the repository browser.