diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-24 12:46:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-24 12:46:49 -0300 |
commit | 26a9b249db37d713d7a74e24036fd93666695236 (patch) | |
tree | 604f1aedd5bd132abb43a3b6106cf909273eb0ca /ldo.c | |
parent | 227bddafe83955d2cc871b76e3f9e2fb106450e4 (diff) | |
download | lua-26a9b249db37d713d7a74e24036fd93666695236.tar.gz lua-26a9b249db37d713d7a74e24036fd93666695236.tar.bz2 lua-26a9b249db37d713d7a74e24036fd93666695236.zip |
details
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 | } |