diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-01-25 10:39:18 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-01-25 10:39:18 -0300 |
commit | 1f81baffadad9d955b030a1a29b9b06042a66552 (patch) | |
tree | 7a7b06eed86f59b68fb8bc4250726e45c1323202 /lstate.h | |
parent | 0e9254dfa03d95c3aa2888cf78e9a30bc88d41bc (diff) | |
download | lua-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.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 */ |