1
Fork 0

Don't export reader types

These are opaquely accessed through *io::stream
This commit is contained in:
Drew DeVault 2023-02-12 13:18:29 +01:00
parent 337d063f15
commit 1679405268

View file

@ -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,