diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-09-30 14:21:31 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-09-30 14:21:31 -0300 |
commit | ffff9a49da35b8b90d48f5419c9c5e0402f803af (patch) | |
tree | bd29023d29f1618ca5d4928e45d47bc218b97f27 /lstate.h | |
parent | b22356e5c5d836f72e850b5d279ea4af20b8d33c (diff) | |
download | lua-ffff9a49da35b8b90d48f5419c9c5e0402f803af.tar.gz lua-ffff9a49da35b8b90d48f5419c9c5e0402f803af.tar.bz2 lua-ffff9a49da35b8b90d48f5419c9c5e0402f803af.zip |
'nresults' in CallInfo now refers to number of results that the current
function returns (and not what it expects from a call)
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.65 2010/05/03 17:39:48 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.66 2010/09/03 14:14:01 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 | */ |
@@ -72,7 +72,7 @@ typedef struct CallInfo { | |||
72 | StkId func; /* function index in the stack */ | 72 | StkId func; /* function index in the stack */ |
73 | StkId top; /* top for this function */ | 73 | StkId top; /* top for this function */ |
74 | struct CallInfo *previous, *next; /* dynamic call link */ | 74 | struct CallInfo *previous, *next; /* dynamic call link */ |
75 | short nresults; /* expected number of results from a call */ | 75 | short nresults; /* expected number of results from this function */ |
76 | lu_byte callstatus; | 76 | lu_byte callstatus; |
77 | union { | 77 | union { |
78 | struct { /* only for Lua functions */ | 78 | struct { /* only for Lua functions */ |