Carbon


MaxBlock

Header: MacMemory.h Carbon status: Supported

Returns the size of the largest block you could allocate in the current heap zone after a compaction.

SInt32 MaxBlock ();
function result

The maximum contiguous space, in bytes, that you could obtain after compacting the current heap zone. MaxBlock does not actually do the compaction.0

DISCUSSION

Call the function MemError to get the result code. See “Result Codes”.

AVAILABILITY

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.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)