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

Method setUpValue

stack.go:59–59  ·  view source on GitHub ↗
(i int, v value)

Source from the content-addressed store, hash-verified

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} }
62

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected