Fixed memory allocation on MacOS

This commit is contained in:
Eduard Urbach 2024-08-12 15:31:23 +02:00
parent 1a895aa360
commit 314aea5ffc
Signed by: eduard
GPG key ID: 49226B848C78F6C8
3 changed files with 10 additions and 4 deletions

5
lib/mem/free.q Normal file
View file

@ -0,0 +1,5 @@
import sys
free(address Pointer, length Int) -> Int {
return sys.munmap(address, length)
}