From 875415daa9e68ee25d7b99654d6620d665157427 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 2 Dec 2020 23:40:23 +0000 Subject: [PATCH] Make `os._file_stream_vtable` private --- core/os/stream.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/os/stream.odin b/core/os/stream.odin index c82f38107..7d3749a32 100644 --- a/core/os/stream.odin +++ b/core/os/stream.odin @@ -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));