Heap and Memory
Virtual-memory allocation through the Rux macOS compatibility layer.
Module: MacOS
| Function | Description |
|---|---|
GetProcessHeap | Return the compatibility heap token. |
HeapAlloc | Allocate an anonymous memory mapping. |
HeapFree | Report success without releasing memory. |
Munmap | Release a complete memory mapping. |
Current release behavior
HeapFree is currently a no-op. To release a HeapAlloc mapping, retain its exact allocation size and call Munmap with the original base address and size.