From 8223ff473f3ffe782629fb1ba9ce1f96efeb7fd4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 2 Dec 1999 14:24:45 -0200 Subject: lua_Object is a pointer to the stack (because now the stack doen't move) --- ldo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldo.c') diff --git a/ldo.c b/ldo.c index 25632e4b..5804c52f 100644 --- a/ldo.c +++ b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 1.53 1999/11/25 18:58:51 roberto Exp roberto $ +** $Id: ldo.c,v 1.54 1999/12/01 19:50:08 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -121,8 +121,8 @@ void luaD_callHook (lua_State *L, StkId base, const TProtoFunc *tf, else { TObject *f = base-1; if (tf) - (*L->callhook)(L, Ref(L, f), tf->source->str, tf->lineDefined); - else (*L->callhook)(L, Ref(L, f), "(C)", -1); + v 1.3 1997/10/16, f, tf->source->str, tf->lineDefined); + else (*L->callhook)(L, f, "(C)", -1); } L->top = old_top; L->Cstack = oldCLS; -- cgit v1.2.3-55-g6feb