aboutsummaryrefslogtreecommitdiff
path: root/std/extern.sloth
diff options
context:
space:
mode:
authornic-gaffney <gaffney_nic@protonmail.com>2023-09-30 00:18:27 -0500
committernic-gaffney <gaffney_nic@protonmail.com>2023-09-30 00:18:27 -0500
commitc748aedbc265fdc7d62768d368161a1f1d88b9a4 (patch)
tree2371ae4c1ce98e72c9e414f0e4176c3d8bf35778 /std/extern.sloth
parent84c77656e1d5f0414050d8a2dae6c86b022bf125 (diff)
downloadsloth-c748aedbc265fdc7d62768d368161a1f1d88b9a4.tar.gz
spacing
Diffstat (limited to 'std/extern.sloth')
-rw-r--r--std/extern.sloth1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/extern.sloth b/std/extern.sloth
index c970541..a31c2c1 100644
--- a/std/extern.sloth
+++ b/std/extern.sloth
@@ -12,6 +12,7 @@ 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 as_float(x: Int) Float;
foreign fn istr(x: Int) String;
foreign fn system(cmd: String) Int;
foreign fn sequals(a: String, b: String) Bool;