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

Method stackIndex

stack.go:145–145  ·  view source on GitHub ↗
(slot int)

Source from the content-addressed store, hash-verified

143func (ci *callInfo) isLua() bool { return ci.luaCallInfo != nil }
144
145func (ci *callInfo) stackIndex(slot int) int { return ci.top - len(ci.frame) + slot }
146func (ci *callInfo) base() int { return ci.top - len(ci.frame) }
147func (ci *callInfo) skip() { ci.savedPC++ }
148func (ci *callInfo) jump(offset int) { ci.savedPC += pc(offset) }

Callers 2

initFunction · 0.80
executeSwitchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected