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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user