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

Method upValue

stack.go:58–58  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

56
57func (c *luaClosure) upValueCount() int { return len(c.upValues) }
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} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected