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

Function isPseudoIndex

lua.go:1386–1386  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

1384// http://www.lua.org/manual/5.2/manual.html#lua_upvalueindex
1385func UpValueIndex(i int) int { return RegistryIndex - i }
1386func isPseudoIndex(i int) bool { return i <= RegistryIndex }
1387
1388func apiCheckStackSpace(l *State, n int) { l.assert(n < l.top-l.callInfo.function) }
1389

Callers 2

apiCheckStackIndexFunction · 0.85
AbsIndexMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected