summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-09-30 14:21:31 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-09-30 14:21:31 -0300
commitffff9a49da35b8b90d48f5419c9c5e0402f803af (patch)
treebd29023d29f1618ca5d4928e45d47bc218b97f27 /lstate.h
parentb22356e5c5d836f72e850b5d279ea4af20b8d33c (diff)
downloadlua-github-ffff9a49da35b8b90d48f5419c9c5e0402f803af.tar.gz
'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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 0d834801..656b04fb 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
/*
-** $Id: lstate.h,v 2.65 2010/05/03 17:39:48 roberto Exp roberto $
+** $Id: lstate.h,v 2.66 2010/09/03 14:14:01 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -72,7 +72,7 @@ typedef struct CallInfo {
StkId func; /* function index in the stack */
StkId top; /* top for this function */
struct CallInfo *previous, *next; /* dynamic call link */
- short nresults; /* expected number of results from a call */
+ short nresults; /* expected number of results from this function */
lu_byte callstatus;
union {
struct { /* only for Lua functions */