aboutsummaryrefslogtreecommitdiff
path: root/std/stdlib.sloth
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-06-28 15:21:54 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2023-06-28 15:21:54 -0500
commit7d14243f769ad911d7c057b891ed89a95d7c1bfd (patch)
treea64f621b49b7e0c2199eac406e8ca21fdc6b174e /std/stdlib.sloth
parent00f695f1fd38e79c60cb8b37f90708a2186a42e8 (diff)
downloadsloth-7d14243f769ad911d7c057b891ed89a95d7c1bfd.tar.gz
added istr to std
Diffstat (limited to 'std/stdlib.sloth')
-rw-r--r--std/stdlib.sloth2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/stdlib.sloth b/std/stdlib.sloth
index ea57e45..4213e0a 100644
--- a/std/stdlib.sloth
+++ b/std/stdlib.sloth
@@ -5,6 +5,6 @@ foreign fn slen(str: String) Int;
foreign fn parse_int(str: String) Int;
foreign fn termpos(x: Int, y: Int);
foreign fn as_int(x: Float) Int;
-#foreign fn istr(x: Int) Int;
+foreign fn istr(x: Int) String;
foreign fn termclear() Void;