aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-08-13 14:01:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-08-13 14:01:33 -0300
commit394646891cc406ce2a0f1586409c043c9caeab4e (patch)
tree1a1c735d92bf0e5a77287b026c542fec6da56337 /lstate.h
parentd69aa510883b18be4f28a937f19b2d63192af45d (diff)
downloadlua-394646891cc406ce2a0f1586409c043c9caeab4e.tar.gz
lua-394646891cc406ce2a0f1586409c043c9caeab4e.tar.bz2
lua-394646891cc406ce2a0f1586409c043c9caeab4e.zip
new field 'status' in CallInfo structure
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 dec27d24..b34bb163 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.33 2008/06/23 16:51:08 roberto Exp roberto $ 2** $Id: lstate.h,v 2.34 2008/06/26 19:42:45 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*/
@@ -81,7 +81,8 @@ typedef struct CallInfo {
81 StkId func; /* function index in the stack */ 81 StkId func; /* function index in the stack */
82 StkId top; /* top for this function */ 82 StkId top; /* top for this function */
83 const Instruction *savedpc; 83 const Instruction *savedpc;
84 int nresults; /* expected number of results from this function */ 84 short nresults; /* expected number of results from this function */
85 lu_byte status;
85 int tailcalls; /* number of tail calls lost under this entry */ 86 int tailcalls; /* number of tail calls lost under this entry */
86} CallInfo; 87} CallInfo;
87 88