diff options
Diffstat (limited to 'src/lua/lobject.h')
| -rw-r--r-- | src/lua/lobject.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lua/lobject.h b/src/lua/lobject.h index 1a7a737..950bebb 100644 --- a/src/lua/lobject.h +++ b/src/lua/lobject.h | |||
| @@ -139,13 +139,14 @@ typedef struct TValue { | |||
| 139 | ** Entries in a Lua stack. Field 'tbclist' forms a list of all | 139 | ** Entries in a Lua stack. Field 'tbclist' forms a list of all |
| 140 | ** to-be-closed variables active in this stack. Dummy entries are | 140 | ** to-be-closed variables active in this stack. Dummy entries are |
| 141 | ** used when the distance between two tbc variables does not fit | 141 | ** used when the distance between two tbc variables does not fit |
| 142 | ** in an unsigned short. | 142 | ** in an unsigned short. They are represented by delta==0, and |
| 143 | ** their real delta is always the maximum value that fits in | ||
| 144 | ** that field. | ||
| 143 | */ | 145 | */ |
| 144 | typedef union StackValue { | 146 | typedef union StackValue { |
| 145 | TValue val; | 147 | TValue val; |
| 146 | struct { | 148 | struct { |
| 147 | TValuefields; | 149 | TValuefields; |
| 148 | lu_byte isdummy; | ||
| 149 | unsigned short delta; | 150 | unsigned short delta; |
| 150 | } tbclist; | 151 | } tbclist; |
| 151 | } StackValue; | 152 | } StackValue; |
