MCPcopy Create free account
hub / github.com/Shopify/go-lua / upValue

Method upValue

lua.go:1291–1293  ·  view source on GitHub ↗
(f, n int)

Source from the content-addressed store, hash-verified

1289}
1290
1291func (l *State) upValue(f, n int) **upValue {
1292 return &l.indexToValue(f).(*luaClosure).upValues[n-1]
1293}
1294
1295// UpValueId returns a unique identifier for the upvalue numbered n from the
1296// closure at index f. Parameters f and n are as in UpValue (but n cannot be

Callers

nothing calls this directly

Calls 1

indexToValueMethod · 0.95

Tested by

no test coverage detected