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