aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/lua/llimits.h
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-11-02 11:17:58 +0800
committerLi Jin <dragon-fly@qq.com>2021-11-02 11:17:58 +0800
commit827c3736f357e09168fc108e8e740c6425d37d9b (patch)
tree259f977bf7f4ebe0e397fe5e1b74e7fbb1b75e8e /src/3rdParty/lua/llimits.h
parentaed806476fe50899c0f01750175531ac41267b9d (diff)
downloadyuescript-827c3736f357e09168fc108e8e740c6425d37d9b.tar.gz
yuescript-827c3736f357e09168fc108e8e740c6425d37d9b.tar.bz2
yuescript-827c3736f357e09168fc108e8e740c6425d37d9b.zip
fix a wrong code generating issue, update builtin Lua.
Diffstat (limited to 'src/3rdParty/lua/llimits.h')
-rw-r--r--src/3rdParty/lua/llimits.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/3rdParty/lua/llimits.h b/src/3rdParty/lua/llimits.h
index 025f1c8..6c56ba5 100644
--- a/src/3rdParty/lua/llimits.h
+++ b/src/3rdParty/lua/llimits.h
@@ -166,6 +166,20 @@ typedef LUAI_UACINT l_uacInt;
166 166
167 167
168/* 168/*
169** Inline functions
170*/
171#if !defined(LUA_USE_C89)
172#define l_inline inline
173#elif defined(__GNUC__)
174#define l_inline __inline__
175#else
176#define l_inline /* empty */
177#endif
178
179#define l_sinline static l_inline
180
181
182/*
169** type for virtual-machine instructions; 183** type for virtual-machine instructions;
170** must be an unsigned with (at least) 4 bytes (see details in lopcodes.h) 184** must be an unsigned with (at least) 4 bytes (see details in lopcodes.h)
171*/ 185*/