aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */