mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Make os._file_stream_vtable private
This commit is contained in:
@@ -10,6 +10,7 @@ stream_from_handle :: proc(fd: Handle) -> io.Stream {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@(private)
|
||||||
_file_stream_vtable := &io.Stream_VTable{
|
_file_stream_vtable := &io.Stream_VTable{
|
||||||
impl_read = proc(s: io.Stream, p: []byte) -> (n: int, err: io.Error) {
|
impl_read = proc(s: io.Stream, p: []byte) -> (n: int, err: io.Error) {
|
||||||
fd := Handle(uintptr(s.stream_data));
|
fd := Handle(uintptr(s.stream_data));
|
||||||
|
|||||||
Reference in New Issue
Block a user