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

Function closeHelper

io.go:77–82  ·  view source on GitHub ↗
(l *State)

Source from the content-addressed store, hash-verified

75}
76
77func closeHelper(l *State) int {
78 s := toStream(l)
79 close := s.close
80 s.close = nil
81 return close(l)
82}
83
84func close(l *State) int {
85 if l.IsNone(1) {

Callers 2

closeFunction · 0.85
readLineFunction · 0.85

Calls 2

toStreamFunction · 0.85
closeFunction · 0.85

Tested by

no test coverage detected