MCPcopy Index your code
hub / github.com/yuin/gopher-lua / GetMetatable

Method GetMetatable

state.go:2120–2122  ·  view source on GitHub ↗

* }}} */ * metatable operations {{{ */

(obj LValue)

Source from the content-addressed store, hash-verified

2118/* metatable operations {{{ */
2119
2120func (ls *LState) GetMetatable(obj LValue) LValue {
2121 return ls.metatable(obj, false)
2122}
2123
2124func (ls *LState) SetMetatable(obj LValue, mt LValue) {
2125 switch mt.(type) {

Callers 4

loSeeAllFunction · 0.45
baseGetMetatableFunction · 0.45
baseNewProxyFunction · 0.45
debugGetMetatableFunction · 0.45

Calls 1

metatableMethod · 0.95

Tested by

no test coverage detected