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

Method adjustResults

lua.go:284–288  ·  view source on GitHub ↗
(resultCount int)

Source from the content-addressed store, hash-verified

282}
283
284func (l *State) adjustResults(resultCount int) {
285 if resultCount == MultipleReturns && l.callInfo.top < l.top {
286 l.callInfo.setTop(l.top)
287 }
288}
289
290func (l *State) apiIncrementTop() {
291 l.top++

Callers 2

CallWithContinuationMethod · 0.95

Calls 1

setTopMethod · 0.80

Tested by

no test coverage detected