summaryrefslogtreecommitdiff
path: root/mem/mem.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-15 19:21:35 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-15 19:21:35 +0100
commit9dae91f1993c563cf97a87b84836dc3b6306714a (patch)
treeb0b8ec366fc4d3c64615a1a47222d9f278870d57 /mem/mem.h
parenteeed387a65d9dbdafddffab8e6f8b507262ffaf5 (diff)
remove mem
Diffstat (limited to 'mem/mem.h')
-rw-r--r--mem/mem.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/mem/mem.h b/mem/mem.h
deleted file mode 100644
index cc6597b..0000000
--- a/mem/mem.h
+++ /dev/null
@@ -1,11 +0,0 @@
-void *debug_malloc(size_t size, const char* file, int line);
-void *debug_calloc(size_t count, size_t size, const char* file, int line);
-void *debug_realloc(void *ptr, size_t size, const char* file, int line);
-void debug_free(void *p, const char* file, int line);
-
-#ifdef TS_DEBUG
-#define malloc(s) debug_malloc(s, __FILE__, __LINE__)
-#define calloc(c, s) debug_calloc(c, s, __FILE__, __LINE__)
-#define realloc(p, s) debug_realloc(p, s, __FILE__, __LINE__)
-#define free(p) debug_free(p, __FILE__, __LINE__)
-#endif