'luaL_findtable' -> 'luaL_getsubtable'

This commit is contained in:
Roberto Ierusalimschy
2011-04-08 16:17:36 -03:00
parent 427ee519db
commit 19fbdf6cae
6 changed files with 18 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldblib.c,v 1.128 2011/01/10 15:51:19 roberto Exp roberto $
** $Id: ldblib.c,v 1.129 2011/01/26 16:30:02 roberto Exp roberto $
** Interface from Lua to its debug API
** See Copyright Notice in lua.h
*/
@@ -253,7 +253,7 @@ static int db_upvaluejoin (lua_State *L) {
}
#define gethooktable(L) luaL_findtable(L, LUA_REGISTRYINDEX, HOOKKEY);
#define gethooktable(L) luaL_getsubtable(L, LUA_REGISTRYINDEX, HOOKKEY);
static void hookf (lua_State *L, lua_Debug *ar) {