diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-08 09:28:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 09:28:37 +0200 |
commit | 41c54830242269de073e4a0c10d1775dfdf6811d (patch) | |
tree | 5e432420281b966cce7ff1638ccfd618a393a6b3 /src/script/lua_api/l_item.cpp | |
parent | 01f9d05f2358f0771bd77fde6ca67192ebd6ceac (diff) | |
download | minetest-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_item.cpp')
-rw-r--r-- | src/script/lua_api/l_item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_item.cpp b/src/script/lua_api/l_item.cpp index 7e6f457e1..19b5b0955 100644 --- a/src/script/lua_api/l_item.cpp +++ b/src/script/lua_api/l_item.cpp @@ -462,7 +462,7 @@ void LuaItemStack::Register(lua_State *L) } const char LuaItemStack::className[] = "ItemStack"; -const luaL_reg LuaItemStack::methods[] = { +const luaL_Reg LuaItemStack::methods[] = { luamethod(LuaItemStack, is_empty), luamethod(LuaItemStack, get_name), luamethod(LuaItemStack, set_name), |