aboutsummaryrefslogtreecommitdiff
path: root/core/bytes
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-08-18 23:03:07 -0400
committerLaytan <laytanlaats@hotmail.com>2024-08-28 19:53:19 +0200
commit981a2e1a0097ebd2e3237f5693cf8d929c6a8ca9 (patch)
tree579086060e7fd1415e09e1668119ad15260ab96e /core/bytes
parenteb6e5ee3a1ebfec58f2b1bb3a361d329f8d2c9ab (diff)
Add missing `io.Stream_Mode` responses
Diffstat (limited to 'core/bytes')
-rw-r--r--core/bytes/buffer.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bytes/buffer.odin b/core/bytes/buffer.odin
index a7e9b1c64..f46fb826a 100644
--- a/core/bytes/buffer.odin
+++ b/core/bytes/buffer.odin
@@ -402,7 +402,7 @@ _buffer_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, offse
buffer_destroy(b)
return
case .Query:
- return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Size, .Destroy})
+ return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Size, .Destroy, .Query})
}
return 0, .Empty
}