aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-18 13:50:18 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-18 13:50:18 -0200
commitac899a63079a7dc92f3dd705c41408012dd214c4 (patch)
treeaef436ab723f8526ec6155457c74747080bf45a8
parentce444bff336b333251ac3745f311bd9033be8f6a (diff)
downloadlua-ac899a63079a7dc92f3dd705c41408012dd214c4.tar.gz
lua-ac899a63079a7dc92f3dd705c41408012dd214c4.tar.bz2
lua-ac899a63079a7dc92f3dd705c41408012dd214c4.zip
'debug.joinupvalue' -> 'debug.upvaluejoin'
-rw-r--r--ldblib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldblib.c b/ldblib.c
index 9476e194..671972df 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldblib.c,v 1.114 2009/11/05 17:26:00 roberto Exp roberto $ 2** $Id: ldblib.c,v 1.115 2009/11/09 19:10:48 roberto Exp roberto $
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*/
@@ -217,7 +217,7 @@ static int db_upvalueid (lua_State *L) {
217} 217}
218 218
219 219
220static int db_joinupvalue (lua_State *L) { 220static int db_upvaluejoin (lua_State *L) {
221 int n1 = checkupval(L, 1, 2); 221 int n1 = checkupval(L, 1, 2);
222 int n2 = checkupval(L, 3, 4); 222 int n2 = checkupval(L, 3, 4);
223 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected"); 223 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected");
@@ -365,7 +365,7 @@ static const luaL_Reg dblib[] = {
365 {"getregistry", db_getregistry}, 365 {"getregistry", db_getregistry},
366 {"getmetatable", db_getmetatable}, 366 {"getmetatable", db_getmetatable},
367 {"getupvalue", db_getupvalue}, 367 {"getupvalue", db_getupvalue},
368 {"joinupvalue", db_joinupvalue}, 368 {"upvaluejoin", db_upvaluejoin},
369 {"upvalueid", db_upvalueid}, 369 {"upvalueid", db_upvalueid},
370 {"setfenv", db_setfenv}, 370 {"setfenv", db_setfenv},
371 {"sethook", db_sethook}, 371 {"sethook", db_sethook},