mirror of
https://github.com/cc65/cc65.git
synced 2025-03-28 06:35:59 +00:00
The cc65 doc explicitly states that the return value of _heapmaxavail() can be used as parameter of malloc(). To actually allow for that the size of HEAP_ADMIN_SPACE has to be substracted from the raw size of the largest free heap block.