diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -156,6 +156,16 @@ typedef struct stringtable { | |||
156 | 156 | ||
157 | /* | 157 | /* |
158 | ** Information about a call. | 158 | ** Information about a call. |
159 | ** About union 'u': | ||
160 | ** - field 'l' is used only for Lua functions; | ||
161 | ** - field 'c' is used only for C functions. | ||
162 | ** About union 'u2': | ||
163 | ** - field 'funcidx' is used only by C functions while doing a | ||
164 | ** protected call; | ||
165 | ** - field 'nyield' is used only while a function is "doing" an | ||
166 | ** yield (from the yield until the next resume); | ||
167 | ** - field 'transferinfo' is used only during call/returnhooks, | ||
168 | ** before the function starts or after it ends. | ||
159 | */ | 169 | */ |
160 | typedef struct CallInfo { | 170 | typedef struct CallInfo { |
161 | StkId func; /* function index in the stack */ | 171 | StkId func; /* function index in the stack */ |