mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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:
parent
01f9d05f23
commit
41c5483024
24 changed files with 35 additions and 35 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue