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:
@@ -31,7 +31,7 @@ class ItemStackMetaRef : public MetaDataRef
|
||||
ItemStack *istack;
|
||||
|
||||
static const char className[];
|
||||
static const luaL_reg methods[];
|
||||
static const luaL_Reg methods[];
|
||||
|
||||
static ItemStackMetaRef *checkobject(lua_State *L, int narg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user