Make os._file_stream_vtable private

This commit is contained in:
gingerBill
2020-12-02 23:40:23 +00:00
parent 0cf3ae93c0
commit 875415daa9
+1
View File
@@ -10,6 +10,7 @@ stream_from_handle :: proc(fd: Handle) -> io.Stream {
}
@(private)
_file_stream_vtable := &io.Stream_VTable{
impl_read = proc(s: io.Stream, p: []byte) -> (n: int, err: io.Error) {
fd := Handle(uintptr(s.stream_data));