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

Method newUpValueAt

stack.go:97–101  ·  view source on GitHub ↗
(level int)

Source from the content-addressed store, hash-verified

95}
96
97func (l *State) newUpValueAt(level int) *upValue {
98 uv := &upValue{home: stackLocation{state: l, index: level}}
99 l.upValues = &openUpValue{upValue: uv, next: l.upValues}
100 return uv
101}
102
103func (l *State) close(level int) {
104 // TODO this seems really inefficient - how can we terminate early?

Callers 1

findUpValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected