about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-07-30 19:34:29 -0700
committerKartik Agaram <vc@akkartik.com>2020-07-30 19:34:29 -0700
commit30012350281844611bda2f4668f6a0b318a95b36 (patch)
tree56ac2b67b2dd02c3caa4aa02f47be9ea492349ad /400.mu
parentca237761bf0f9b16838e2d3f7079d1725e3bd87b (diff)
downloadmu-30012350281844611bda2f4668f6a0b318a95b36.tar.gz
6687 - stream-empty? and stream-full?
Diffstat (limited to '400.mu')
-rw-r--r--400.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/400.mu b/400.mu
index 369e29cd..bf63e87c 100644
--- a/400.mu
+++ b/400.mu
@@ -157,3 +157,6 @@ sig enable-keyboard-type-mode
 sig read-key -> result/eax: byte
 sig open filename: (addr array byte), write?: boolean, out: (addr handle buffered-file)
 #sig size in: (addr array _) -> result/eax: int
+
+sig stream-empty? s: (addr stream _) -> result/eax: boolean
+sig stream-full? s: (addr stream _) -> result/eax: boolean