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

Method apiPush

lua.go:297–302  ·  view source on GitHub ↗
(v value)

Source from the content-addressed store, hash-verified

295}
296
297func (l *State) apiPush(v value) {
298 l.push(v)
299 if apiCheck && l.top > l.callInfo.top {
300 panic("stack overflow")
301 }
302}
303
304func (l *State) checkElementCount(n int) {
305 if apiCheck && n >= l.top-l.callInfo.function {

Callers 15

collectValidLinesMethod · 0.95
PushStringMethod · 0.95
PushGoClosureMethod · 0.95
PushThreadMethod · 0.95
FieldMethod · 0.95
RawGetIntMethod · 0.95
RawGetValueMethod · 0.95
CreateTableMethod · 0.95
MetaTableMethod · 0.95
UserValueMethod · 0.95
ConcatMethod · 0.95
PushValueMethod · 0.95

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected