mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55: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:
@@ -463,7 +463,7 @@ void InvRef::Register(lua_State *L)
|
||||
}
|
||||
|
||||
const char InvRef::className[] = "InvRef";
|
||||
const luaL_reg InvRef::methods[] = {
|
||||
const luaL_Reg InvRef::methods[] = {
|
||||
luamethod(InvRef, is_empty),
|
||||
luamethod(InvRef, get_size),
|
||||
luamethod(InvRef, set_size),
|
||||
|
Reference in New Issue
Block a user