From 0bda88e6cd960d3b1ad1d46826bfdef179098d2a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 14 May 2004 16:25:09 -0300 Subject: small steps towards yields in iterators and tag methods --- lstate.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 19ff1bd9..3a1eb329 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ +** $Id: lstate.h,v 2.2 2004/03/23 17:02:58 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -70,8 +70,9 @@ typedef struct stringtable { ** informations about a call */ typedef struct CallInfo { - StkId base; /* base for called function */ + StkId base; /* base for this function */ StkId top; /* top for this function */ + int nresults; /* expected number of results from this function */ union { struct { /* for Lua functions */ const Instruction *savedpc; -- cgit v1.2.3-55-g6feb