Provides memory leak detection. More...
#include "../params.h"
#include "../memory/heap_debug.h"
#include "../utils/my_assert.h"
#include "../auto_ptr/auto_ptr.h"
#include <memory>
Go to the source code of this file.
Defines | |
#define | auto_ptr MY_AUTO_PTR |
#define | MY_AUTO_PTR my_auto_ptr::auto_ptr |
#define | MY_DELETE(x) delete x |
#define | MY_DELETE_A(x) delete[] x |
#define | my_free(p) MY_FREE__((p)) |
#define | MY_FREE__(p) free((p)) |
#define | my_malloc(x) MY_MALLOC__((x)) |
#define | MY_MALLOC__(x) malloc((x)) |
#define | MY_NEW new |
#define | my_realloc(p, s) MY_REALLOC__((p),(s)) |
#define | MY_REALLOC__(p, s) realloc((p),(s)) |
Provides memory leak detection.
Definition in file utils/memleak.h.