MCPcopy Index your code
hub / github.com/yuin/gopher-lua / newLFunctionL

Function newLFunctionL

function.go:155–164  ·  view source on GitHub ↗

* }}} */ * LFunction {{{ */

(proto *FunctionProto, env *LTable, nupvalue int)

Source from the content-addressed store, hash-verified

153/* LFunction {{{ */
154
155func newLFunctionL(proto *FunctionProto, env *LTable, nupvalue int) *LFunction {
156 return &LFunction{
157 IsG: false,
158 Env: env,
159
160 Proto: proto,
161 GFunction: nil,
162 Upvalues: make([]*Upvalue, nupvalue),
163 }
164}
165
166func newLFunctionG(gfunc LGFunction, env *LTable, nupvalue int) *LFunction {
167 return &LFunction{

Callers 6

initFunction · 0.85
initFunction · 0.85
NewFunctionFromProtoMethod · 0.85
LoadMethod · 0.85
NewFunctionFromProtoMethod · 0.85
LoadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…