aboutsummaryrefslogtreecommitdiff
path: root/src/3rdparty/luax/luax.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-08 21:31:35 +0800
committerchai <chaifix@163.com>2018-08-08 21:31:35 +0800
commit3a7b295e0fe166d6e4a44cfe17ad8c4f441e6084 (patch)
treec67c820e51b9ccd19893a590c7aaffcce384d547 /src/3rdparty/luax/luax.h
parentaa7549126a4e821cecf75fbc32a433a7f8122d2b (diff)
*update
Diffstat (limited to 'src/3rdparty/luax/luax.h')
-rw-r--r--src/3rdparty/luax/luax.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/3rdparty/luax/luax.h b/src/3rdparty/luax/luax.h
index 4940f9f..94cc2e3 100644
--- a/src/3rdparty/luax/luax.h
+++ b/src/3rdparty/luax/luax.h
@@ -97,6 +97,7 @@ inline bool luax_checkbool(lua_State *L, int numArg)
*/
#define luax_pushnumber lua_pushnumber
#define luax_pushstring lua_pushstring
+#define luax_pushlstring lua_pushlstring
#define luax_pushinteger lua_pushinteger
#define luax_pushboolean lua_pushboolean
@@ -333,6 +334,6 @@ inline int luax_register_searcher(lua_State * L, lua_CFunction f, int pos)
return 0;
}
-#endif
+#endif // #if LUA_VERSION_NUM == 501
-#endif \ No newline at end of file
+#endif // __LUAX_H \ No newline at end of file