Welcome to mirror list, hosted at ThFree Co, Russian Federation.

leak_detector.h « include - github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6786825ab6d56d40d95af987530226f3734e860b (plain)
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()