10 void* lc6debug_malloc(
size_t,
char *,
const char*,
int);
11 void* lc6debug_realloc(
void *ptr,
size_t,
char *,
const char*,
int);
12 void lc6debug_free(
void *ptr,
char *,
const char*,
int);
14 #define malloc(x) lc6debug_malloc(x, __FILE__, __func__, __LINE__) 15 #define realloc(x,y) lc6debug_realloc(x, y, __FILE__, __func__, __LINE__) 16 #define free(x) lc6debug_free(x, __FILE__, __func__, __LINE__)