From 19fbdf6cae4c5186a498eb7a2fcc128804a9c3d5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 8 Apr 2011 16:17:36 -0300 Subject: 'luaL_findtable' -> 'luaL_getsubtable' --- ldblib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index ad4c62ca..571f9773 100644 --- a/ldblib.c +++ b/ldblib.c @@ -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) { -- cgit v1.2.3-55-g6feb