aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-05-14 16:25:09 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-05-14 16:25:09 -0300
commit0bda88e6cd960d3b1ad1d46826bfdef179098d2a (patch)
treed3b237faef502dba76747a5563be9ccc4c404754 /lstate.h
parent7966a4acaea50230e30acc8fd6997bce22307f24 (diff)
downloadlua-0bda88e6cd960d3b1ad1d46826bfdef179098d2a.tar.gz
lua-0bda88e6cd960d3b1ad1d46826bfdef179098d2a.tar.bz2
lua-0bda88e6cd960d3b1ad1d46826bfdef179098d2a.zip
small steps towards yields in iterators and tag methods
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 19ff1bd9..3a1eb329 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ 2** $Id: lstate.h,v 2.2 2004/03/23 17:02:58 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -70,8 +70,9 @@ typedef struct stringtable {
70** informations about a call 70** informations about a call
71*/ 71*/
72typedef struct CallInfo { 72typedef struct CallInfo {
73 StkId base; /* base for called function */ 73 StkId base; /* base for this function */
74 StkId top; /* top for this function */ 74 StkId top; /* top for this function */
75 int nresults; /* expected number of results from this function */
75 union { 76 union {
76 struct { /* for Lua functions */ 77 struct { /* for Lua functions */
77 const Instruction *savedpc; 78 const Instruction *savedpc;