diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.125 2015/09/22 14:18:24 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.126 2015/11/02 11:43:17 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 | */ |
@@ -78,6 +78,7 @@ typedef struct CallInfo { | |||
78 | } c; | 78 | } c; |
79 | } u; | 79 | } u; |
80 | ptrdiff_t extra; | 80 | ptrdiff_t extra; |
81 | unsigned short n; /* ordinal number in call list */ | ||
81 | short nresults; /* expected number of results from this function */ | 82 | short nresults; /* expected number of results from this function */ |
82 | lu_byte callstatus; | 83 | lu_byte callstatus; |
83 | } CallInfo; | 84 | } CallInfo; |
@@ -149,6 +150,7 @@ typedef struct global_State { | |||
149 | */ | 150 | */ |
150 | struct lua_State { | 151 | struct lua_State { |
151 | CommonHeader; | 152 | CommonHeader; |
153 | unsigned short nci; /* number of items in 'ci' list */ | ||
152 | lu_byte status; | 154 | lu_byte status; |
153 | StkId top; /* first free slot in the stack */ | 155 | StkId top; /* first free slot in the stack */ |
154 | global_State *l_G; | 156 | global_State *l_G; |