aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index f98e142..3a61268 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -21,6 +21,7 @@ extern "C"
21#endif // 64 bits 21#endif // 64 bits
22#else // LUA_JITLIBNAME 22#else // LUA_JITLIBNAME
23#define LUAJIT_FLAVOR() 0 23#define LUAJIT_FLAVOR() 0
24#define LUA_JITLIBNAME "jit"
24#endif // LUA_JITLIBNAME 25#endif // LUA_JITLIBNAME
25 26
26// code is now preferring Lua 5.4 API 27// code is now preferring Lua 5.4 API
@@ -219,4 +220,4 @@ inline char const* lua_typename(lua_State* L_, LuaType t_)
219 return lua_typename(L_, static_cast<int>(t_)); 220 return lua_typename(L_, static_cast<int>(t_));
220} 221}
221 222
222int luaG_getpackage(lua_State* L_); 223LuaType luaG_getmodule(lua_State* L_, char const* name_);