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

Method GetTypeMetatable

auxlib.go:333–335  ·  view source on GitHub ↗
(typ string)

Source from the content-addressed store, hash-verified

331}
332
333func (ls *LState) GetTypeMetatable(typ string) LValue {
334 return ls.GetField(ls.Get(RegistryIndex), typ)
335}
336
337func (ls *LState) CallMeta(obj LValue, event string) LValue {
338 op := ls.metaOp1(obj, event)

Callers 2

newFileFunction · 0.80
newProcessFunction · 0.80

Calls 2

GetFieldMethod · 0.95
GetMethod · 0.95

Tested by

no test coverage detected