diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-12-23 08:57:48 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:37:00 +0200 |
commit | 902a81528b9d2edcf93226a2ca13da6fcc1839e5 (patch) | |
tree | ea868fae662aab61f1caa50b16a8b02fe1e6836b /std | |
parent | 111bd0c7cb4b446c4bfe192b1df82845de17c005 (diff) |
wip: function pointers and other stuff
Diffstat (limited to 'std')
-rw-r--r-- | std/io.amal | 6 |
1 files changed, 3 insertions, 3 deletions
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 |