From 902a81528b9d2edcf93226a2ca13da6fcc1839e5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 23 Dec 2019 08:57:48 +0100 Subject: wip: function pointers and other stuff --- std/io.amal | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'std') diff --git a/std/io.amal b/std/io.amal index 6acfb1b..ea0845f 100644 --- a/std/io.amal +++ b/std/io.amal @@ -1,6 +1,6 @@ extern const print_extern: fn() i32; -extern const printf: fn(fmt: ?&c_char, ...) c_int; +extern const printf: fn(fmt: &c_char, ...) c_int; -pub const print = fn(fmt: str, arg1: str) i32 { - return printf(fmt, arg1); +pub const print1 = fn(fmt: str) i32 { + return printf(fmt); } \ No newline at end of file -- cgit v1.2.3