aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ltests.h b/ltests.h
index 28604c60..6aef3984 100644
--- a/ltests.h
+++ b/ltests.h
@@ -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;
32extern unsigned long memdebug_memlimit; 32extern 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
39void *debug_realloc (void *block, size_t oldsize, size_t size); 37void *debug_realloc (void *block, size_t oldsize, size_t size);
40 38