mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
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
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user