summaryrefslogtreecommitdiff
path: root/libstd/strbuf.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-05 23:05:51 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-05 23:05:51 -0700
commitea50af981b8a0472e2e3588c31c51ae927098949 (patch)
treeec4258c7e15c68a12272aec37c95b68264e1124d /libstd/strbuf.myr
parent53f937aeaa1ad2320f61c63933e24f2f6f1f326f (diff)
downloadmc-ea50af981b8a0472e2e3588c31c51ae927098949.tar.gz
Work towards better varargs.
We now capture and check types!
Diffstat (limited to 'libstd/strbuf.myr')
-rw-r--r--libstd/strbuf.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstd/strbuf.myr b/libstd/strbuf.myr
index beca30e..47de02e 100644
--- a/libstd/strbuf.myr
+++ b/libstd/strbuf.myr
@@ -34,6 +34,7 @@ const mksb = {
const mkbufsb = {buf
var sb
+
sb = zalloc()
sb.buf = buf
sb.fixed = true