summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-16 17:35:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-16 17:35:07 -0300
commit87367e97f3c37796bb1ed4ec3e8f0b0df3b8d70e (patch)
treee31e5aacf2cee3b6d5f5a5c84fcc48828d14ee30 /ltests.c
parent06f08f5634158e2ae1e8964c0e4248d8bae0db8a (diff)
downloadlua-87367e97f3c37796bb1ed4ec3e8f0b0df3b8d70e.tar.gz
lua-87367e97f3c37796bb1ed4ec3e8f0b0df3b8d70e.tar.bz2
lua-87367e97f3c37796bb1ed4ec3e8f0b0df3b8d70e.zip
more information about memory use
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index 8d712796..b8a9e67d 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 1.8 2000/02/21 18:30:06 roberto Exp roberto $ 2** $Id: ltests.c,v 1.9 2000/03/10 18:37:44 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -33,6 +33,7 @@ void luaB_opentests (lua_State *L);
33static void mem_query (lua_State *L) { 33static void mem_query (lua_State *L) {
34 lua_pushnumber(L, memdebug_total); 34 lua_pushnumber(L, memdebug_total);
35 lua_pushnumber(L, memdebug_numblocks); 35 lua_pushnumber(L, memdebug_numblocks);
36 lua_pushnumber(L, memdebug_maxmem);
36} 37}
37 38
38 39