aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/lua/lfunc.h
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-12-02 10:40:09 +0800
committerLi Jin <dragon-fly@qq.com>2022-12-02 10:40:09 +0800
commit298b18dbe852300199cc529c942a181bead5f135 (patch)
treef4b5ae89b6920fa0a12c693118f85334f19754f8 /src/3rdParty/lua/lfunc.h
parenta6a65ba26a9d320611abcbfba49fa724edfb4dad (diff)
downloadyuescript-298b18dbe852300199cc529c942a181bead5f135.tar.gz
yuescript-298b18dbe852300199cc529c942a181bead5f135.tar.bz2
yuescript-298b18dbe852300199cc529c942a181bead5f135.zip
update Lua.
Diffstat (limited to 'src/3rdParty/lua/lfunc.h')
-rw-r--r--src/3rdParty/lua/lfunc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdParty/lua/lfunc.h b/src/3rdParty/lua/lfunc.h
index 3d29697..3be265e 100644
--- a/src/3rdParty/lua/lfunc.h
+++ b/src/3rdParty/lua/lfunc.h
@@ -29,10 +29,10 @@
29#define MAXUPVAL 255 29#define MAXUPVAL 255
30 30
31 31
32#define upisopen(up) ((up)->v != &(up)->u.value) 32#define upisopen(up) ((up)->v.p != &(up)->u.value)
33 33
34 34
35#define uplevel(up) check_exp(upisopen(up), cast(StkId, (up)->v)) 35#define uplevel(up) check_exp(upisopen(up), cast(StkId, (up)->v.p))
36 36
37 37
38/* 38/*