Don't export reader types
These are opaquely accessed through *io::stream
This commit is contained in:
parent
337d063f15
commit
1679405268
|
@ -114,7 +114,7 @@ fn new_reader(
|
|||
return stream as *io::stream;
|
||||
};
|
||||
|
||||
export type identity_reader = struct {
|
||||
type identity_reader = struct {
|
||||
vtable: io::stream,
|
||||
conn: io::handle,
|
||||
buffer: [os::BUFSIZ]u8,
|
||||
|
@ -181,7 +181,7 @@ fn identity_read(
|
|||
return n;
|
||||
};
|
||||
|
||||
export type chunked_reader = struct {
|
||||
type chunked_reader = struct {
|
||||
vtable: io::stream,
|
||||
conn: io::handle,
|
||||
buffer: [os::BUFSIZ]u8,
|
||||
|
|
Loading…
Reference in a new issue