Closed XuNeo closed 3 months ago
Since rodata's meta table is already used to fake the normal table operation, we use userdata uservalue[2] to store an optional table as meta table. It's further searched when no match found in rodata's __index method.
Fix bug in rotable_newidx.
Requires lua5.4
Since rodata's meta table is already used to fake the normal table operation, we use userdata uservalue[2] to store an optional table as meta table. It's further searched when no match found in rodata's __index method.
Fix bug in rotable_newidx.