diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-10-26 15:33:30 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-10-26 15:33:30 -0200 |
commit | 070204300ce44e7e415b299394d51d2d105a39d1 (patch) | |
tree | 849da757b6f07b33fc280ba6e1e0d42db6558895 /ldblib.c | |
parent | 21aa7e55f2333e57b972aa4ef2c5e2785d609578 (diff) | |
download | lua-070204300ce44e7e415b299394d51d2d105a39d1.tar.gz lua-070204300ce44e7e415b299394d51d2d105a39d1.tar.bz2 lua-070204300ce44e7e415b299394d51d2d105a39d1.zip |
more consistent names for auxlib functions
Diffstat (limited to 'ldblib.c')
-rw-r--r-- | ldblib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldblib.c,v 1.38 2001/08/31 19:46:07 roberto Exp $ | 2 | ** $Id: ldblib.c,v 1.39 2001/10/17 21:12:57 roberto Exp $ |
3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -104,7 +104,7 @@ static int setlocal (lua_State *L) { | |||
104 | lua_Debug ar; | 104 | lua_Debug ar; |
105 | if (!lua_getstack(L, luaL_check_int(L, 1), &ar)) /* level out of range? */ | 105 | if (!lua_getstack(L, luaL_check_int(L, 1), &ar)) /* level out of range? */ |
106 | luaL_argerror(L, 1, l_s("level out of range")); | 106 | luaL_argerror(L, 1, l_s("level out of range")); |
107 | luaL_checkany(L, 3); | 107 | luaL_check_any(L, 3); |
108 | lua_pushstring(L, lua_setlocal(L, &ar, luaL_check_int(L, 2))); | 108 | lua_pushstring(L, lua_setlocal(L, &ar, luaL_check_int(L, 2))); |
109 | return 1; | 109 | return 1; |
110 | } | 110 | } |