aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lstate.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/lstate.h b/lstate.h
index 3d76e9b9..df1630ea 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.146 2017/11/02 11:28:56 roberto Exp roberto $ 2** $Id: lstate.h,v 2.147 2017/11/03 12:12:30 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*/
@@ -87,20 +87,6 @@ typedef struct stringtable {
87typedef struct CallInfo { 87typedef struct CallInfo {
88 StkId func; /* function index in the stack */ 88 StkId func; /* function index in the stack */
89 struct CallInfo *previous, *next; /* dynamic call link */ 89 struct CallInfo *previous, *next; /* dynamic call link */
90 union {
91 struct { /* only for Lua functions */
92 const Instruction *savedpc;
93 } l;
94 struct { /* only for C functions */
95 lua_KFunction k; /* continuation in case of yields */
96 ptrdiff_t old_errfunc;
97 lua_KContext ctx; /* context info. in case of yields */
98 } c;
99 } u;
100 union {
101 ptrdiff_t funcidx; /* called-function index */
102 int nyield; /* number of values yielded */
103 } u2;
104} CallInfo; 90} CallInfo;
105 91
106 92