MEMGetAllocatableSizeForExpHeapEx

C Specification

#include <revolution/mem.h>

u32 MEMGetAllocatableSizeForExpHeapEx( 
MEMHeapHandle    heap,
int     alignment);

Arguments

heap Expanded heap handle.
alignment Memory block alignment. Specify the following values: 4, 8, 16, 32, 64, 128.

Return Values

Returns the largest size in bytes of the allocatable memory block from the free region in the expanded heap.

Description

This function obtains the largest size in bytes of the allocatable memory block from the free region in the expanded heap.

Memory block alignment is specified by alignment. The size of the allocatable memory block changes depending on the alignment value.

See Also

MEMGetAllocatableSizeForExpHeap, MEMGetTotalFreeSizeForExpHeap, MEMAllocFromExpHeap, MEMAllocFromExpHeapEx

Revision History

03/01/2006 Initial version.