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:
@@ -129,7 +129,7 @@ void StorageRef::clearMeta()
|
||||
}
|
||||
|
||||
const char StorageRef::className[] = "StorageRef";
|
||||
const luaL_reg StorageRef::methods[] = {
|
||||
const luaL_Reg StorageRef::methods[] = {
|
||||
luamethod(MetaDataRef, get_string),
|
||||
luamethod(MetaDataRef, set_string),
|
||||
luamethod(MetaDataRef, get_int),
|
||||
|
||||
Reference in New Issue
Block a user