MCPcopy Index your code
hub / github.com/Shopify/go-lua / newUpValue

Method newUpValue

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

Source from the content-addressed store, hash-verified

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 {
64 if home, ok := uv.home.(stackLocation); ok {

Callers 1

protectedParserFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected