Fixed memory allocation on MacOS
This commit is contained in:
parent
1a895aa360
commit
314aea5ffc
3 changed files with 10 additions and 4 deletions
5
lib/mem/free.q
Normal file
5
lib/mem/free.q
Normal file
|
@ -0,0 +1,5 @@
|
|||
import sys
|
||||
|
||||
free(address Pointer, length Int) -> Int {
|
||||
return sys.munmap(address, length)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue