aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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},