MCPcopy Create free account
hub / github.com/Shopify/go-lua / upValueCount

Method upValueCount

stack.go:60–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58func (c *goClosure) upValue(i int) value { return c.upValues[i] }
59func (c *goClosure) setUpValue(i int, v value) { c.upValues[i] = v }
60func (c *goClosure) upValueCount() int { return len(c.upValues) }
61func (l *State) newUpValue() *upValue { return &upValue{home: nil} }
62
63func (uv *upValue) value() value {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected