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:
@@ -201,7 +201,7 @@ void LuaMinimap::Register(lua_State *L)
|
||||
}
|
||||
|
||||
const char LuaMinimap::className[] = "Minimap";
|
||||
const luaL_reg LuaMinimap::methods[] = {
|
||||
const luaL_Reg LuaMinimap::methods[] = {
|
||||
luamethod(LuaMinimap, show),
|
||||
luamethod(LuaMinimap, hide),
|
||||
luamethod(LuaMinimap, get_pos),
|
||||
|
||||
Reference in New Issue
Block a user