Simplify package io by removing different unnecessary types and calls
This commit is contained in:
1 parent
25e330500f
commit
e008eeac6a
4 files changed
+53
-122
No files matched your search
@@ -25,10 +25,6 @@ _read_writer_vtable := &io.Stream_VTable{
|
||||
b := (^Read_Writer)(s.stream_data).r
|
||||
return reader_read(b, p)
|
||||
},
|
||||
impl_read_byte = proc(s: io.Stream) -> (c: byte, err: io.Error) {
|
||||
b := (^Read_Writer)(s.stream_data).r
|
||||
return reader_read_byte(b)
|
||||
},
|
||||
impl_unread_byte = proc(s: io.Stream) -> io.Error {
|
||||
b := (^Read_Writer)(s.stream_data).r
|
||||
return reader_unread_byte(b)
|
||||
|
||||
Reference in new issue
Block a user