aboutsummaryrefslogtreecommitdiff
path: root/core/bytes
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-11-14 11:17:38 +0000
committergingerBill <gingerBill@users.noreply.github.com>2025-11-14 11:17:38 +0000
commite4fcebe4bf715cf60ccb74f2a03abca995ca608f (patch)
tree84b90a922b4b89e00560631abffd56aacd075fb2 /core/bytes
parent51536fecf4859d61d2a0a786eb33ac4f2dc4fb73 (diff)
`Empty` -> `Unsupported`bill/io-error-changes
Diffstat (limited to 'core/bytes')
-rw-r--r--core/bytes/buffer.odin2
-rw-r--r--core/bytes/reader.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/bytes/buffer.odin b/core/bytes/buffer.odin
index f4d883353..dd4b378c0 100644
--- a/core/bytes/buffer.odin
+++ b/core/bytes/buffer.odin
@@ -434,5 +434,5 @@ _buffer_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, offse
case .Query:
return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Destroy, .Query})
}
- return 0, .Empty
+ return 0, .Unsupported
}
diff --git a/core/bytes/reader.odin b/core/bytes/reader.odin
index 2e1c5ed42..184f93835 100644
--- a/core/bytes/reader.odin
+++ b/core/bytes/reader.odin
@@ -160,6 +160,6 @@ _reader_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, offse
case .Query:
return io.query_utility({.Read, .Read_At, .Seek, .Size, .Query})
}
- return 0, .Empty
+ return 0, .Unsupported
}