summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-06 18:34:34 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-06 18:34:34 -0300
commit3670db99b65f74d2671bfa9aa37ca7794c32332d (patch)
tree4588bee603eef2306290b781f51c6d781ade3ebe /lstate.h
parente14a02c24f22ff03bba4a0582f56d7af518339df (diff)
downloadlua-3670db99b65f74d2671bfa9aa37ca7794c32332d.tar.gz
lua-3670db99b65f74d2671bfa9aa37ca7794c32332d.tar.bz2
lua-3670db99b65f74d2671bfa9aa37ca7794c32332d.zip
comments
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 32c53a9d..7f9de719 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.114 2014/07/23 17:15:43 roberto Exp roberto $ 2** $Id: lstate.h,v 2.115 2014/08/01 17:33:08 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*/
@@ -54,7 +54,13 @@ typedef struct stringtable {
54 54
55 55
56/* 56/*
57** information about a call 57** Information about a call.
58** When a thread yields, 'func' is adjusted to pretend that the
59** top function has only the yielded values in its stack; in that
60** case, the actual 'func' value is saved in field 'extra'.
61** When a function calls another with a continuation, 'extra' keeps
62** the function index so that, in case of errors, the continuation
63** function can be called with the correct top.
58*/ 64*/
59typedef struct CallInfo { 65typedef struct CallInfo {
60 StkId func; /* function index in the stack */ 66 StkId func; /* function index in the stack */