shithub: mc

Download patch

ref: b307a70ac14a54e5604c55634d1c42925ce08afd
parent: de4bc34a527fc33a86e862d7462ab9c8f02ddfcb
author: Ori Bernstein <[email protected]>
date: Tue Sep 10 07:48:18 EDT 2013

expose zbytealloc

--- a/libstd/alloc.myr
+++ b/libstd/alloc.myr
@@ -35,6 +35,7 @@
 	generic slfree	: (sl : @a[:]	-> void)
 
 	const bytealloc	: (sz:size	-> byte#)
+	const zbytealloc	: (sz:size	-> byte#)
 	const bytefree	: (m:byte#, sz:size	-> void)
 
 	/* FIXME: This should be automatically exported as a hidden decl. */