From 0cf3b6495a9eb58b7e50f43d633414aabab199af Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 11 Mar 2015 13:10:41 -0300 Subject: 'ci_func' don't need to be exported --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index dadcad8d..858df9dd 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.201 2014/12/18 12:13:42 roberto Exp roberto $ +** $Id: ltests.c,v 2.202 2015/01/16 16:54:37 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -291,7 +291,7 @@ static int lua_checkpc (lua_State *L, CallInfo *ci) { else { Proto *p; if (L->status != LUA_YIELD || ci != L->ci) - p = ci_func(ci)->p; + p = clLvalue(ci->func)->p; else /* real 'func' was saved in 'extra' field */ p = clLvalue(restorestack(L, ci->extra))->p; return p->code <= ci->u.l.savedpc && -- cgit v1.2.3-55-g6feb