diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-05 15:03:15 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-05 15:03:15 -0300 |
commit | e888976bc6ba5592fb8ab8ecc04a8f63e217aa74 (patch) | |
tree | ae0a03f16d413e6a901c6a5f64058264974672fb /lstate.h | |
parent | 4d46289331395a845c5de1f6c0e0fe873c50db4f (diff) | |
download | lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.gz lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.bz2 lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.zip |
Details (typos in comments)
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -74,7 +74,7 @@ | |||
74 | ** higher part counts the number of non-yieldable calls in the stack. | 74 | ** higher part counts the number of non-yieldable calls in the stack. |
75 | ** (They are together so that we can change both with one instruction.) | 75 | ** (They are together so that we can change both with one instruction.) |
76 | ** | 76 | ** |
77 | ** Because calls to external C functions can use of unkown amount | 77 | ** Because calls to external C functions can use an unknown amount |
78 | ** of space (e.g., functions using an auxiliary buffer), calls | 78 | ** of space (e.g., functions using an auxiliary buffer), calls |
79 | ** to these functions add more than one to the count (see CSTACKCF). | 79 | ** to these functions add more than one to the count (see CSTACKCF). |
80 | ** | 80 | ** |
@@ -185,9 +185,9 @@ typedef struct CallInfo { | |||
185 | union { | 185 | union { |
186 | int funcidx; /* called-function index */ | 186 | int funcidx; /* called-function index */ |
187 | int nyield; /* number of values yielded */ | 187 | int nyield; /* number of values yielded */ |
188 | struct { /* info about transfered values (for call/return hooks) */ | 188 | struct { /* info about transferred values (for call/return hooks) */ |
189 | unsigned short ftransfer; /* offset of first value transfered */ | 189 | unsigned short ftransfer; /* offset of first value transferred */ |
190 | unsigned short ntransfer; /* number of values transfered */ | 190 | unsigned short ntransfer; /* number of values transferred */ |
191 | } transferinfo; | 191 | } transferinfo; |
192 | } u2; | 192 | } u2; |
193 | short nresults; /* expected number of results from this function */ | 193 | short nresults; /* expected number of results from this function */ |