From 26a9b249db37d713d7a74e24036fd93666695236 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 Mar 2004 12:46:49 -0300 Subject: details --- ldo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldo.c') diff --git a/ldo.c b/ldo.c index be24198b..e0474a10 100644 --- a/ldo.c +++ b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 1.229 2003/11/11 16:34:17 roberto Exp roberto $ +** $Id: ldo.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -268,7 +268,7 @@ StkId luaD_precall (lua_State *L, StkId func) { if (L->hookmask & LUA_MASKCALL) luaD_callhook(L, LUA_HOOKCALL, -1); lua_unlock(L); - n = (*clvalue(L->base - 1)->c.f)(L); /* do the actual call */ + n = (*curr_func(L)->c.f)(L); /* do the actual call */ lua_lock(L); return L->top - n; } -- cgit v1.2.3-55-g6feb