diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-03 15:22:54 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-03 15:22:54 -0200 |
commit | 472c560705a29e33fa7b2dba7438b5cbf3d8170f (patch) | |
tree | 69949a72715c8f94fe4da73350eb15d8139fcb5f /lstate.h | |
parent | 54eb35a8aa0f60265cf1b4764beabe1199d66f42 (diff) | |
download | lua-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.h | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -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 { | |||
87 | typedef struct CallInfo { | 87 | typedef 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 | ||