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

Method newLuaClosure

stack.go:211–213  ·  view source on GitHub ↗
(p *prototype)

Source from the content-addressed store, hash-verified

209}
210
211func (l *State) newLuaClosure(p *prototype) *luaClosure {
212 return &luaClosure{prototype: p, upValues: make([]*upValue, len(p.upValues))}
213}
214
215func (l *State) findUpValue(level int) *upValue {
216 for e := l.upValues; e != nil; e = e.next {

Callers 3

undumpMethod · 0.95
parseMethod · 0.95
newClosureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected