commit bf44ee8f689a7c04516daf77bb590c20a7f5a14b
parent 3363b79377b5361aead757769f12d394b94b3ee7
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 1 Feb 2021 12:30:29 -0500
rt: export memcpy
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/memcpy.ha b/rt/memcpy.ha
@@ -1,4 +1,4 @@
-fn memcpy(dest: *void, src: *void, amt: size) void = {
+export fn memcpy(dest: *void, src: *void, amt: size) void = {
let a = dest: *[*]u8, b = src: *[*]u8;
for (let i = 0z; i < amt; i += 1z) {
a[i] = b[i];