17 void*
debug_malloc (
size_t size,
const char* file,
const int line);
18 void debug_free (
void* p,
const char* file,
const int line);
19 void*
operator new (
size_t size,
const char* file,
const int line);
20 void operator delete (
void* p,
const char* file,
const int line);
21 void operator delete (
void* p)
throw();
22 void*
operator new[] (
size_t size,
const char* file,
const int line);
23 void operator delete[] (
void* p,
const char* file,
const int line);
24 void operator delete[] (
void* p)
throw();
32 #define debug_new new(__FILE__, __LINE__) 34 #define malloc(A) debug_malloc((A), __FILE__, __LINE__) 35 #define free(A) debug_free((A), __FILE__, __LINE__) void debug_free(void *p, const char *file, const int line)
frees the given pointer
Definition: debug_new.cpp:54
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition: commentcommand.cpp:22
void pause_memleak_detection(bool value)
pauses the memoryleak detection
Definition: debug_new.cpp:121
void * debug_malloc(size_t size, const char *file, const int line)
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition: debug_new.cpp:25