diff options
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.h,v 1.11 2002/01/11 20:23:57 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 1.12 2002/03/08 19:17:59 roberto Exp roberto $ |
3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -32,9 +32,7 @@ extern unsigned long memdebug_maxmem; | |||
32 | extern unsigned long memdebug_memlimit; | 32 | extern unsigned long memdebug_memlimit; |
33 | 33 | ||
34 | 34 | ||
35 | #define l_malloc(s) debug_realloc(NULL, 0, s) | ||
36 | #define l_realloc(b, os, s) debug_realloc(b, os, s) | 35 | #define l_realloc(b, os, s) debug_realloc(b, os, s) |
37 | #define l_free(b, s) debug_realloc(b, s, 0) | ||
38 | 36 | ||
39 | void *debug_realloc (void *block, size_t oldsize, size_t size); | 37 | void *debug_realloc (void *block, size_t oldsize, size_t size); |
40 | 38 | ||