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:
@@ -215,7 +215,7 @@ void NodeMetaRef::Register(lua_State *L)
|
||||
}
|
||||
|
||||
|
||||
const luaL_reg NodeMetaRef::methodsServer[] = {
|
||||
const luaL_Reg NodeMetaRef::methodsServer[] = {
|
||||
luamethod(MetaDataRef, get_string),
|
||||
luamethod(MetaDataRef, set_string),
|
||||
luamethod(MetaDataRef, get_int),
|
||||
@@ -237,7 +237,7 @@ void NodeMetaRef::RegisterClient(lua_State *L)
|
||||
}
|
||||
|
||||
|
||||
const luaL_reg NodeMetaRef::methodsClient[] = {
|
||||
const luaL_Reg NodeMetaRef::methodsClient[] = {
|
||||
luamethod(MetaDataRef, get_string),
|
||||
luamethod(MetaDataRef, get_int),
|
||||
luamethod(MetaDataRef, get_float),
|
||||
|
Reference in New Issue
Block a user