aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-03 15:22:54 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-03 15:22:54 -0200
commit472c560705a29e33fa7b2dba7438b5cbf3d8170f (patch)
tree69949a72715c8f94fe4da73350eb15d8139fcb5f /lstate.h
parent54eb35a8aa0f60265cf1b4764beabe1199d66f42 (diff)
downloadlua-472c560705a29e33fa7b2dba7438b5cbf3d8170f.tar.gz
lua-472c560705a29e33fa7b2dba7438b5cbf3d8170f.tar.bz2
lua-472c560705a29e33fa7b2dba7438b5cbf3d8170f.zip
no more useful fields in CallInfo
Diffstat (limited to 'lstate.h')
-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