Metatables
Raw metatables, readonly state and namecall context.
Metatable functions inspect or change raw metatables and their readonly state. Namecall helpers work with the method name of the current namecall.
Changing a shared userdata metatable can affect more than the object you started from.
Functions
| Function | Purpose |
|---|---|
| getrawmetatable | Reads a value's metatable without honoring the __metatable lock. |
| setrawmetatable | Sets an object's metatable without honoring its lock. |
| isreadonly | Checks whether a table is readonly. |
| iswritable | Checks whether a table is writable. |
| setreadonly | Changes a table's readonly flag. |
| makereadonly | Makes a table readonly. |
| makewritable | Makes a table writable. |
| getnamecallmethod | Reads the active namecall method name. |
| setnamecallmethod | Changes the active namecall method name. |
