From 87367e97f3c37796bb1ed4ec3e8f0b0df3b8d70e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 16 Mar 2000 17:35:07 -0300 Subject: more information about memory use --- ltests.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 8d712796..b8a9e67d 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 1.8 2000/02/21 18:30:06 roberto Exp roberto $ +** $Id: ltests.c,v 1.9 2000/03/10 18:37:44 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -33,6 +33,7 @@ void luaB_opentests (lua_State *L); static void mem_query (lua_State *L) { lua_pushnumber(L, memdebug_total); lua_pushnumber(L, memdebug_numblocks); + lua_pushnumber(L, memdebug_maxmem); } -- cgit v1.2.3-55-g6feb