1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +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:
Loïc Blot 2017-04-08 09:28:37 +02:00 committed by GitHub
parent 01f9d05f23
commit 41c5483024
24 changed files with 35 additions and 35 deletions

View file

@ -102,7 +102,7 @@ void ItemStackMetaRef::Register(lua_State *L)
}
const char ItemStackMetaRef::className[] = "ItemStackMetaRef";
const luaL_reg ItemStackMetaRef::methods[] = {
const luaL_Reg ItemStackMetaRef::methods[] = {
luamethod(MetaDataRef, get_string),
luamethod(MetaDataRef, set_string),
luamethod(MetaDataRef, get_int),