![]() |
TempMaxMem |
||||
Header: | MacMemory.h | Carbon status: | Supported | |
Compacts the current heap zone and returns the size of the largest contiguous block available for temporary allocation.
Size TempMaxMem ( Size *grow );
On return, this parameter always contains 0 after the function call because temporary memory does not come from the applications heap zone, and only that zone can grow. Ignore this parameter.
The size of the largest contiguous block available for temporary allocation.0
Because TempMaxMem can move memory, you should not call it at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.