about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-25 17:41:06 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-25 18:14:12 -0700
commit8a6ad45d8d26c60b62a2a7ac8d594b3c4d1dbc45 (patch)
treef021f4413da5f0b2e532fb7fd59f874355c366b1 /400.mu
parent517ef9f64f32ea6592c7b802fd94391254daf86c (diff)
downloadmu-8a6ad45d8d26c60b62a2a7ac8d594b3c4d1dbc45.tar.gz
7100 - tile: render string literals
Diffstat (limited to '400.mu')
-rw-r--r--400.mu2
1 files changed, 2 insertions, 0 deletions
diff --git a/400.mu b/400.mu
index 93e6f03a..fb686e17 100644
--- a/400.mu
+++ b/400.mu
@@ -177,5 +177,7 @@ sig new-buffered-file out: (addr handle buffered-file)
 sig stream-empty? s: (addr stream _) -> result/eax: boolean
 sig stream-full? s: (addr stream _) -> result/eax: boolean
 sig stream-to-string in: (addr stream _), out: (addr handle array _)
+sig stream-first s: (addr stream byte) -> result/eax: byte
+sig stream-final s: (addr stream byte) -> result/eax: byte
 
 #sig copy-bytes src: (addr byte), dest: (addr byte), n: int