aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lstate.h b/lstate.h
index 65d45264..f3d791ab 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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*/
160typedef struct CallInfo { 170typedef struct CallInfo {
161 StkId func; /* function index in the stack */ 171 StkId func; /* function index in the stack */