summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_settings.cpp
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-04-08 09:28:37 +0200
committerGitHub <noreply@github.com>2017-04-08 09:28:37 +0200
commit41c54830242269de073e4a0c10d1775dfdf6811d (patch)
tree5e432420281b966cce7ff1638ccfd618a393a6b3 /src/script/lua_api/l_settings.cpp
parent01f9d05f2358f0771bd77fde6ca67192ebd6ceac (diff)
downloadminetest-41c54830242269de073e4a0c10d1775dfdf6811d.tar.gz
minetest-41c54830242269de073e4a0c10d1775dfdf6811d.tar.bz2
minetest-41c54830242269de073e4a0c10d1775dfdf6811d.zip
Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat (#5541)
We are bundling Lua5.1 which has same macro
Diffstat (limited to 'src/script/lua_api/l_settings.cpp')
-rw-r--r--src/script/lua_api/l_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_settings.cpp b/src/script/lua_api/l_settings.cpp
index d3fe03005..809f7d115 100644
--- a/src/script/lua_api/l_settings.cpp
+++ b/src/script/lua_api/l_settings.cpp
@@ -214,7 +214,7 @@ LuaSettings* LuaSettings::checkobject(lua_State* L, int narg)
}
const char LuaSettings::className[] = "Settings";
-const luaL_reg LuaSettings::methods[] = {
+const luaL_Reg LuaSettings::methods[] = {
luamethod(LuaSettings, get),
luamethod(LuaSettings, get_bool),
luamethod(LuaSettings, set),