diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-12 11:32:08 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-12 11:32:08 -0300 |
| commit | 80ac5e83fdc07d14c55056365aaf370436fbeb4e (patch) | |
| tree | f4bf71357190c7e545a82fc48c93c03e12c9a75e /ltests.c | |
| parent | 289b5dc67ae79423b35347ef7f8277ebc42d704a (diff) | |
| download | lua-80ac5e83fdc07d14c55056365aaf370436fbeb4e.tar.gz lua-80ac5e83fdc07d14c55056365aaf370436fbeb4e.tar.bz2 lua-80ac5e83fdc07d14c55056365aaf370436fbeb4e.zip | |
details (alphabetical order for list of functions)
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 56 |
1 files changed, 28 insertions, 28 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 2.25 2005/05/31 14:34:02 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.26 2005/07/11 14:00:59 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 | */ |
| @@ -719,12 +719,12 @@ static int newstate (lua_State *L) { | |||
| 719 | 719 | ||
| 720 | static int loadlib (lua_State *L) { | 720 | static int loadlib (lua_State *L) { |
| 721 | static const luaL_reg libs[] = { | 721 | static const luaL_reg libs[] = { |
| 722 | {"baselibopen", luaopen_base}, | ||
| 723 | {"dblibopen", luaopen_debug}, | ||
| 724 | {"iolibopen", luaopen_io}, | ||
| 722 | {"mathlibopen", luaopen_math}, | 725 | {"mathlibopen", luaopen_math}, |
| 723 | {"strlibopen", luaopen_string}, | 726 | {"strlibopen", luaopen_string}, |
| 724 | {"iolibopen", luaopen_io}, | ||
| 725 | {"tablibopen", luaopen_table}, | 727 | {"tablibopen", luaopen_table}, |
| 726 | {"dblibopen", luaopen_debug}, | ||
| 727 | {"baselibopen", luaopen_base}, | ||
| 728 | {NULL, NULL} | 728 | {NULL, NULL} |
| 729 | }; | 729 | }; |
| 730 | lua_State *L1 = cast(lua_State *, | 730 | lua_State *L1 = cast(lua_State *, |
| @@ -1100,42 +1100,42 @@ static int auxsetf (lua_State *L) { | |||
| 1100 | 1100 | ||
| 1101 | 1101 | ||
| 1102 | static const struct luaL_reg tests_funcs[] = { | 1102 | static const struct luaL_reg tests_funcs[] = { |
| 1103 | {"checkmemory", lua_checkmemory}, | ||
| 1104 | {"closestate", closestate}, | ||
| 1105 | {"d2s", d2s}, | ||
| 1106 | {"doonnewstack", doonnewstack}, | ||
| 1107 | {"doremote", doremote}, | ||
| 1108 | {"gccolor", get_gccolor}, | ||
| 1109 | {"gcstate", gcstate}, | ||
| 1110 | {"getfield", auxgetf}, | ||
| 1111 | {"getref", getref}, | ||
| 1112 | {"gsub", auxgsub}, | ||
| 1103 | {"hash", hash_query}, | 1113 | {"hash", hash_query}, |
| 1114 | {"int2fb", int2fb_aux}, | ||
| 1104 | {"limits", get_limits}, | 1115 | {"limits", get_limits}, |
| 1105 | {"listcode", listcode}, | 1116 | {"listcode", listcode}, |
| 1106 | {"listk", listk}, | 1117 | {"listk", listk}, |
| 1107 | {"listlocals", listlocals}, | 1118 | {"listlocals", listlocals}, |
| 1108 | {"loadlib", loadlib}, | 1119 | {"loadlib", loadlib}, |
| 1109 | {"stacklevel", stacklevel}, | 1120 | {"log2", log2_aux}, |
| 1121 | {"newstate", newstate}, | ||
| 1122 | {"newuserdata", newuserdata}, | ||
| 1123 | {"num2int", num2int}, | ||
| 1124 | {"pushuserdata", pushuserdata}, | ||
| 1110 | {"querystr", string_query}, | 1125 | {"querystr", string_query}, |
| 1111 | {"querytab", table_query}, | 1126 | {"querytab", table_query}, |
| 1127 | {"ref", tref}, | ||
| 1128 | {"resume", coresume}, | ||
| 1129 | {"s2d", s2d}, | ||
| 1130 | {"setfield", auxsetf}, | ||
| 1131 | {"setyhook", setyhook}, | ||
| 1132 | {"stacklevel", stacklevel}, | ||
| 1112 | {"testC", testC}, | 1133 | {"testC", testC}, |
| 1113 | {"checkmemory", lua_checkmemory}, | 1134 | {"totalmem", mem_query}, |
| 1114 | {"gccolor", get_gccolor}, | ||
| 1115 | {"gcstate", gcstate}, | ||
| 1116 | {"trick", settrick}, | 1135 | {"trick", settrick}, |
| 1117 | {"ref", tref}, | 1136 | {"udataval", udataval}, |
| 1118 | {"getref", getref}, | ||
| 1119 | {"unref", unref}, | 1137 | {"unref", unref}, |
| 1120 | {"d2s", d2s}, | ||
| 1121 | {"s2d", s2d}, | ||
| 1122 | {"num2int", num2int}, | ||
| 1123 | {"upvalue", upvalue}, | 1138 | {"upvalue", upvalue}, |
| 1124 | {"newuserdata", newuserdata}, | ||
| 1125 | {"pushuserdata", pushuserdata}, | ||
| 1126 | {"udataval", udataval}, | ||
| 1127 | {"doonnewstack", doonnewstack}, | ||
| 1128 | {"newstate", newstate}, | ||
| 1129 | {"closestate", closestate}, | ||
| 1130 | {"doremote", doremote}, | ||
| 1131 | {"log2", log2_aux}, | ||
| 1132 | {"int2fb", int2fb_aux}, | ||
| 1133 | {"totalmem", mem_query}, | ||
| 1134 | {"resume", coresume}, | ||
| 1135 | {"setyhook", setyhook}, | ||
| 1136 | {"gsub", auxgsub}, | ||
| 1137 | {"getfield", auxgetf}, | ||
| 1138 | {"setfield", auxsetf}, | ||
| 1139 | {NULL, NULL} | 1139 | {NULL, NULL} |
| 1140 | }; | 1140 | }; |
| 1141 | 1141 | ||
