mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +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:
@@ -162,7 +162,7 @@ void NodeTimerRef::Register(lua_State *L)
|
||||
}
|
||||
|
||||
const char NodeTimerRef::className[] = "NodeTimerRef";
|
||||
const luaL_reg NodeTimerRef::methods[] = {
|
||||
const luaL_Reg NodeTimerRef::methods[] = {
|
||||
luamethod(NodeTimerRef, start),
|
||||
luamethod(NodeTimerRef, set),
|
||||
luamethod(NodeTimerRef, stop),
|
||||
|
Reference in New Issue
Block a user