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

Method isCallStatus

stack.go:142–142  ·  view source on GitHub ↗
(flag callStatus)

Source from the content-addressed store, hash-verified

140func (ci *callInfo) setCallStatus(flag callStatus) { ci.callStatus |= flag }
141func (ci *callInfo) clearCallStatus(flag callStatus) { ci.callStatus &^= flag }
142func (ci *callInfo) isCallStatus(flag callStatus) bool { return ci.callStatus&flag != 0 }
143func (ci *callInfo) isLua() bool { return ci.luaCallInfo != nil }
144
145func (ci *callInfo) stackIndex(slot int) int { return ci.top - len(ci.frame) + slot }

Callers 5

InfoFunction · 0.80
ContextMethod · 0.80
traceExecutionMethod · 0.80
initFunction · 0.80
executeSwitchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected