From 80ac5e83fdc07d14c55056365aaf370436fbeb4e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 12 Jul 2005 11:32:08 -0300 Subject: details (alphabetical order for list of functions) --- ltests.c | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 900f349e..a6d39b7b 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.25 2005/05/31 14:34:02 roberto Exp roberto $ +** $Id: ltests.c,v 2.26 2005/07/11 14:00:59 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -719,12 +719,12 @@ static int newstate (lua_State *L) { static int loadlib (lua_State *L) { static const luaL_reg libs[] = { + {"baselibopen", luaopen_base}, + {"dblibopen", luaopen_debug}, + {"iolibopen", luaopen_io}, {"mathlibopen", luaopen_math}, {"strlibopen", luaopen_string}, - {"iolibopen", luaopen_io}, {"tablibopen", luaopen_table}, - {"dblibopen", luaopen_debug}, - {"baselibopen", luaopen_base}, {NULL, NULL} }; lua_State *L1 = cast(lua_State *, @@ -1100,42 +1100,42 @@ static int auxsetf (lua_State *L) { static const struct luaL_reg tests_funcs[] = { + {"checkmemory", lua_checkmemory}, + {"closestate", closestate}, + {"d2s", d2s}, + {"doonnewstack", doonnewstack}, + {"doremote", doremote}, + {"gccolor", get_gccolor}, + {"gcstate", gcstate}, + {"getfield", auxgetf}, + {"getref", getref}, + {"gsub", auxgsub}, {"hash", hash_query}, + {"int2fb", int2fb_aux}, {"limits", get_limits}, {"listcode", listcode}, {"listk", listk}, {"listlocals", listlocals}, {"loadlib", loadlib}, - {"stacklevel", stacklevel}, + {"log2", log2_aux}, + {"newstate", newstate}, + {"newuserdata", newuserdata}, + {"num2int", num2int}, + {"pushuserdata", pushuserdata}, {"querystr", string_query}, {"querytab", table_query}, + {"ref", tref}, + {"resume", coresume}, + {"s2d", s2d}, + {"setfield", auxsetf}, + {"setyhook", setyhook}, + {"stacklevel", stacklevel}, {"testC", testC}, - {"checkmemory", lua_checkmemory}, - {"gccolor", get_gccolor}, - {"gcstate", gcstate}, + {"totalmem", mem_query}, {"trick", settrick}, - {"ref", tref}, - {"getref", getref}, + {"udataval", udataval}, {"unref", unref}, - {"d2s", d2s}, - {"s2d", s2d}, - {"num2int", num2int}, {"upvalue", upvalue}, - {"newuserdata", newuserdata}, - {"pushuserdata", pushuserdata}, - {"udataval", udataval}, - {"doonnewstack", doonnewstack}, - {"newstate", newstate}, - {"closestate", closestate}, - {"doremote", doremote}, - {"log2", log2_aux}, - {"int2fb", int2fb_aux}, - {"totalmem", mem_query}, - {"resume", coresume}, - {"setyhook", setyhook}, - {"gsub", auxgsub}, - {"getfield", auxgetf}, - {"setfield", auxsetf}, {NULL, NULL} }; -- cgit v1.2.3-55-g6feb