aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-10-19 11:06:58 +0200
committerlemon <lsof@mailbox.org>2025-10-19 11:06:58 +0200
commit9bf5c97d3b5391c6cf3757629d09a53403a64f45 (patch)
treee8ca609e27d72b4011be6803a45d5d3773a05b05 /io.c
parentdea8fd171acb54b6d9685422d5e391fb55074008 (diff)
c irgen fixes
Diffstat (limited to 'io.c')
-rw-r--r--io.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/io.c b/io.c
index b6729ee..8306fb2 100644
--- a/io.c
+++ b/io.c
@@ -651,6 +651,13 @@ bfmt(struct wbuf *buf, const char *fmt, ...)
return ret;
}
+void
+gpritype(union type ty)
+{
+ efmt("%ty\n", ty);
+ ioflush(&bstderr);
+}
+
static uint pagesiz;
extern struct embedfile embedfilesdir[];