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

Method GetMetaField

auxlib.go:329–331  ·  view source on GitHub ↗
(obj LValue, event string)

Source from the content-addressed store, hash-verified

327}
328
329func (ls *LState) GetMetaField(obj LValue, event string) LValue {
330 return ls.metaOp1(obj, event)
331}
332
333func (ls *LState) GetTypeMetatable(typ string) LValue {
334 return ls.GetField(ls.Get(RegistryIndex), typ)

Callers 1

basePCallFunction · 0.80

Calls 1

metaOp1Method · 0.95

Tested by

no test coverage detected