aboutsummaryrefslogtreecommitdiff
path: root/src/lua/lobject.h
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-03-11 08:56:23 +0800
committerLi Jin <dragon-fly@qq.com>2021-03-11 08:56:23 +0800
commitb359d1a69e9c2db09444264a8d9d874e156fd14b (patch)
tree388e0ef24a1537e8f9cd75c3754dd1e133b8c902 /src/lua/lobject.h
parent3eedd027bddc1ad9099d647e83ae4a83589db191 (diff)
downloadyuescript-b359d1a69e9c2db09444264a8d9d874e156fd14b.tar.gz
yuescript-b359d1a69e9c2db09444264a8d9d874e156fd14b.tar.bz2
yuescript-b359d1a69e9c2db09444264a8d9d874e156fd14b.zip
update Lua.
Diffstat (limited to 'src/lua/lobject.h')
-rw-r--r--src/lua/lobject.h5
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*/
144typedef union StackValue { 146typedef 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;