aboutsummaryrefslogtreecommitdiff
path: root/core/strings
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/strings
parent51536fecf4859d61d2a0a786eb33ac4f2dc4fb73 (diff)
`Empty` -> `Unsupported`bill/io-error-changes
Diffstat (limited to 'core/strings')
-rw-r--r--core/strings/builder.odin2
-rw-r--r--core/strings/reader.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/strings/builder.odin b/core/strings/builder.odin
index 285ced9ce..a6d0b24b3 100644
--- a/core/strings/builder.odin
+++ b/core/strings/builder.odin
@@ -182,7 +182,7 @@ _builder_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byt
case .Query:
return io.query_utility({.Write, .Size, .Destroy, .Query})
}
- return 0, .Empty
+ return 0, .Unsupported
}
/*
diff --git a/core/strings/reader.odin b/core/strings/reader.odin
index bb49bf917..0d467f285 100644
--- a/core/strings/reader.odin
+++ b/core/strings/reader.odin
@@ -310,5 +310,5 @@ _reader_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, offse
case .Query:
return io.query_utility({.Size, .Read, .Read_At, .Seek, .Query})
}
- return 0, .Empty
+ return 0, .Unsupported
}