MEMGetAllocatableSizeForFrmHeapEx

Syntax

#include <revolution/mem.h>

u32 MEMGetAllocatableSizeForFrmHeapEx( 
                                 MEMHeapHandle     heap, 
                                 int               alignment );

Arguments

heap Frame heap handle
alignment Memory block alignment. Can take any of the following values: 4, 8, 16, 32, 64, 128.

Return Values

Returns the maximum size (in bytes) of memory blocks allocatable from the available region in the frame heap.

Description

Gets the maximum size (in bytes) of memory blocks allocatable from the available region in the frame heap.

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

See Also

MEMGetAllocatableSizeForFrmHeap, MEMAllocFromFrmHeap, MEMAllocFromFrmHeapEx

Revision History

2006/03/01 Initial version.


CONFIDENTIAL