From f94cd2201c3a8d341db448f2719dfb0ae4338adf Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 26 Aug 2008 10:27:42 -0300 Subject: better control of call status through CallInfo --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 9d58ed2d..0b361c7f 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.53 2008/06/26 19:42:45 roberto Exp roberto $ +** $Id: ltests.c,v 2.54 2008/08/13 17:02:12 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -349,7 +349,7 @@ printf(">>> %d %s %02x\n", g->gcstate, luaT_typenames[gch(o)->tt], gch(o)->mar int lua_checkpc (lua_State *L, pCallInfo ci) { - if (ci == L->base_ci || !f_isLua(ci)) return 1; + if (ci == L->base_ci || !isLua(ci)) return 1; else { Proto *p = ci_func(ci)->l.p; if (ci < L->ci) -- cgit v1.2.3-55-g6feb