(l *State)
| 291 | } |
| 292 | |
| 293 | func dontClose(l *State) int { |
| 294 | toStream(l).close = dontClose |
| 295 | l.PushNil() |
| 296 | l.PushString("cannot close standard file") |
| 297 | return 2 |
| 298 | } |
| 299 | |
| 300 | func registerStdFile(l *State, f *os.File, reg, name string) { |
| 301 | newStream(l, f, dontClose) |
nothing calls this directly
no test coverage detected