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

Method CloseMainFunction

code.go:1149–1154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1147}
1148
1149func (f *function) CloseMainFunction() *function {
1150 f.ReturnNone()
1151 f.LeaveBlock()
1152 f.assert(f.block == nil)
1153 return f.previous
1154}

Callers 1

mainFunctionMethod · 0.80

Calls 3

ReturnNoneMethod · 0.95
LeaveBlockMethod · 0.95
assertMethod · 0.95

Tested by

no test coverage detected