diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.229 2003/11/11 16:34:17 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -268,7 +268,7 @@ StkId luaD_precall (lua_State *L, StkId func) { | |||
268 | if (L->hookmask & LUA_MASKCALL) | 268 | if (L->hookmask & LUA_MASKCALL) |
269 | luaD_callhook(L, LUA_HOOKCALL, -1); | 269 | luaD_callhook(L, LUA_HOOKCALL, -1); |
270 | lua_unlock(L); | 270 | lua_unlock(L); |
271 | n = (*clvalue(L->base - 1)->c.f)(L); /* do the actual call */ | 271 | n = (*curr_func(L)->c.f)(L); /* do the actual call */ |
272 | lua_lock(L); | 272 | lua_lock(L); |
273 | return L->top - n; | 273 | return L->top - n; |
274 | } | 274 | } |