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

Function apiCheckStackSpace

lua.go:1388–1388  ·  view source on GitHub ↗
(l *State, n int)

Source from the content-addressed store, hash-verified

1386func isPseudoIndex(i int) bool { return i <= RegistryIndex }
1387
1388func apiCheckStackSpace(l *State, n int) { l.assert(n < l.top-l.callInfo.function) }
1389
1390// String returns the name of Type t.
1391//

Callers 1

callGoMethod · 0.85

Calls 1

assertMethod · 0.45

Tested by

no test coverage detected