diff options
| author | nic-gaffney <gaffney_nic@protonmail.com> | 2023-12-05 06:51:38 -0600 |
|---|---|---|
| committer | nic-gaffney <gaffney_nic@protonmail.com> | 2023-12-05 06:51:38 -0600 |
| commit | f655a862106a8a05bc432c2df957979f3fcc399b (patch) | |
| tree | 28134136bdbbaa5dc423403f0985ccf8fb60e861 /std/extern.sloth | |
| parent | c748aedbc265fdc7d62768d368161a1f1d88b9a4 (diff) | |
| parent | d767828cee67bae17b811062949653234aa14b28 (diff) | |
| download | sloth-f655a862106a8a05bc432c2df957979f3fcc399b.tar.gz | |
merge
Diffstat (limited to 'std/extern.sloth')
| -rw-r--r-- | std/extern.sloth | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/std/extern.sloth b/std/extern.sloth index a31c2c1..89676c7 100644 --- a/std/extern.sloth +++ b/std/extern.sloth @@ -27,3 +27,8 @@ foreign fn clientsock(port: Int, addr: String) Int; foreign fn closesock(soc: Int, server:Bool); foreign fn sendsock(msg: String, soc: Int); foreign fn recvsock(soc: Int) String; + +#stdmem +foreign fn memalloc(size: Int) Int; +foreign fn drefi(loc: Int) Int; +foreign fn assignrefi(loc: Int, num: Int); |
