diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-04-08 16:17:36 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-04-08 16:17:36 -0300 |
commit | 19fbdf6cae4c5186a498eb7a2fcc128804a9c3d5 (patch) | |
tree | e36890f7302eef1d9bc0eb5199a58b441f2c738c /ldblib.c | |
parent | 427ee519db76b7a0747b5fc1d5dcf97092b5c0bf (diff) | |
download | lua-19fbdf6cae4c5186a498eb7a2fcc128804a9c3d5.tar.gz lua-19fbdf6cae4c5186a498eb7a2fcc128804a9c3d5.tar.bz2 lua-19fbdf6cae4c5186a498eb7a2fcc128804a9c3d5.zip |
'luaL_findtable' -> 'luaL_getsubtable'
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.128 2011/01/10 15:51:19 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.129 2011/01/26 16:30:02 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 | */ |
@@ -253,7 +253,7 @@ static int db_upvaluejoin (lua_State *L) { | |||
253 | } | 253 | } |
254 | 254 | ||
255 | 255 | ||
256 | #define gethooktable(L) luaL_findtable(L, LUA_REGISTRYINDEX, HOOKKEY); | 256 | #define gethooktable(L) luaL_getsubtable(L, LUA_REGISTRYINDEX, HOOKKEY); |
257 | 257 | ||
258 | 258 | ||
259 | static void hookf (lua_State *L, lua_Debug *ar) { | 259 | static void hookf (lua_State *L, lua_Debug *ar) { |