summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-22 21:41:34 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-23 20:24:22 -0500
commit3fa3c17a12cb52edbcc9890cad59d610e0360f90 (patch)
tree69c5b12ce0e82aab5e7d0a0b56aad6457703d06d /std
parent5076866caf273afa8ac21ead4fafaa6c4d233f9a (diff)
improved parsing fn types; fixed tests
Diffstat (limited to 'std')
-rw-r--r--std/io.toc2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io.toc b/std/io.toc
index ea45ce9..7507baf 100644
--- a/std/io.toc
+++ b/std/io.toc
@@ -1,6 +1,6 @@
pkg "io";
-c_putchar :: fn(i32) = #foreign "putchar", "libc.so.6";
+c_putchar :: fn(i32) i32 = #foreign "putchar", "libc.so.6";
#export puts ::= fn(x: []char) {
each c := x {