about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-08-10 05:52:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-08-10 05:52:48 -0700
commite72e5ad2977c054790426722d5809c0a8e5f1307 (patch)
tree99813fe61b5f6424230bfc8ec2b6c9f7875cf1e6 /400.mu
parented068e859d1ba9cd466c0356799cfeba44704cfe (diff)
downloadmu-e72e5ad2977c054790426722d5809c0a8e5f1307.tar.gz
.
Diffstat (limited to '400.mu')
-rw-r--r--400.mu1
1 files changed, 1 insertions, 0 deletions
diff --git a/400.mu b/400.mu
index 6640a524..d1143ea8 100644
--- a/400.mu
+++ b/400.mu
@@ -59,6 +59,7 @@ sig space-remaining-in-stream f: (addr stream byte) -> _/eax: int
 sig write-stream f: (addr stream byte), s: (addr stream byte)
 sig write-stream-immutable f: (addr stream byte), s: (addr stream byte)
 sig read-byte s: (addr stream byte) -> _/eax: byte
+sig peek-byte s: (addr stream byte) -> _/eax: byte
 sig append-byte f: (addr stream byte), n: int  # really just a byte, but I want to pass in literal numbers
 #sig to-hex-char in/eax: int -> out/eax: int
 sig append-byte-hex f: (addr stream byte), n: int  # really just a byte, but I want to pass in literal numbers