From e4fcebe4bf715cf60ccb74f2a03abca995ca608f Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 14 Nov 2025 11:17:38 +0000 Subject: `Empty` -> `Unsupported` --- core/io/multi.odin | 4 ++-- core/io/util.odin | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'core/io') diff --git a/core/io/multi.odin b/core/io/multi.odin index e25e8133e..abd9b9c5e 100644 --- a/core/io/multi.odin +++ b/core/io/multi.odin @@ -8,7 +8,7 @@ _multi_reader_proc :: proc(stream_data: rawptr, mode: Stream_Mode, p: []byte, of if mode == .Query { return query_utility({.Read, .Query}) } else if mode != .Read { - return 0, .Empty + return 0, .Unsupported } mr := (^Multi_Reader)(stream_data) for len(mr.readers) > 0 { @@ -61,7 +61,7 @@ _multi_writer_proc :: proc(stream_data: rawptr, mode: Stream_Mode, p: []byte, of if mode == .Query { return query_utility({.Write, .Query}) } else if mode != .Write { - return 0, .Empty + return 0, .Unsupported } mw := (^Multi_Writer)(stream_data) for w in mw.writers { 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 { -- cgit v1.2.3