s_textMetatableKey
global · ui
- Address
0x872a50· 12 bytes, up to0x872a5b- Type
char[12]- Meaning
- Holds the string "__metatable"
- Confidence
- verified, proof two
- Finding
- ui/luabase#metatables
Finding: Metatables in ui: the Lua base library
getmetatable(v) requires an argument and answers nil for a value without a metatable. Otherwise it answers the
metatable's __metatable entry when there is one, the metatable itself when not. setmetatable(t, mt) requires a
table at 1 and nil or a table at 2 (argument 2 error nil or table expected), raises cannot change a protected metatable when the table's metatable has a __metatable entry, then sets the metatable and returns the table.
The derivation is in the doc.