aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-01-25 10:39:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-01-25 10:39:18 -0300
commit1f81baffadad9d955b030a1a29b9b06042a66552 (patch)
tree7a7b06eed86f59b68fb8bc4250726e45c1323202 /lstate.h
parent0e9254dfa03d95c3aa2888cf78e9a30bc88d41bc (diff)
downloadlua-1f81baffadad9d955b030a1a29b9b06042a66552.tar.gz
lua-1f81baffadad9d955b030a1a29b9b06042a66552.tar.bz2
lua-1f81baffadad9d955b030a1a29b9b06042a66552.zip
Janitorial work
Comments, code details, identation.
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 */