From 16aaaa19a3ef4220726007d3e644ced0c9e06513 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 9 Sep 2019 01:08:34 +0200 Subject: Allow referencing code in imported file (right now for function calls, allow calling a function in another file) --- std/io.amal | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 std/io.amal (limited to 'std') diff --git a/std/io.amal b/std/io.amal new file mode 100644 index 0000000..9023280 --- /dev/null +++ b/std/io.amal @@ -0,0 +1,5 @@ +extern const print_extern: fn() i32; + +pub const print = fn() i32 { + return print_extern(); +} \ No newline at end of file -- cgit v1.2.3