diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-14 11:17:38 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-14 11:17:38 +0000 |
| commit | e4fcebe4bf715cf60ccb74f2a03abca995ca608f (patch) | |
| tree | 84b90a922b4b89e00560631abffd56aacd075fb2 /core/io/util.odin | |
| parent | 51536fecf4859d61d2a0a786eb33ac4f2dc4fb73 (diff) | |
`Empty` -> `Unsupported`bill/io-error-changes
Diffstat (limited to 'core/io/util.odin')
| -rw-r--r-- | core/io/util.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/util.odin b/core/io/util.odin index a956a5975..86a89cfb1 100644 --- a/core/io/util.odin +++ b/core/io/util.odin @@ -354,7 +354,7 @@ _tee_reader_proc :: proc(stream_data: rawptr, mode: Stream_Mode, p: []byte, offs case .Query: return query_utility({.Read, .Query}) } - return 0, .Empty + return 0, .Unsupported } // tee_reader_init returns a Reader that writes to 'w' what it reads from 'r' @@ -404,7 +404,7 @@ _limited_reader_proc :: proc(stream_data: rawptr, mode: Stream_Mode, p: []byte, case .Query: return query_utility({.Read, .Query}) } - return 0, .Empty + return 0, .Unsupported } limited_reader_init :: proc(l: ^Limited_Reader, r: Reader, n: i64) -> Reader { |