MEMGetAllocatableSizeForExpHeap

Syntax

#include <cafe/mem.h>

static inline u32
MEMGetAllocatableSizeForExpHeap( MEMHeapHandle heap )

Parameters

heap Expanded heap handle.

Return Values

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

Description

Gets the maximum size (in bytes) of memory blocks allocatable from the available region in the expanded heap. The memory block alignment has a value of 4.

Do Not Call From

Callbacks Do not call this function from any callback function.

See Also

MEMGetAllocatableSizeForExpHeapEx
MEMGetTotalFreeSizeForExpHeap
MEMAllocFromExpHeap
MEMAllocFromExpHeapEx

Revision History

2013-05-08 Automated cleanup pass.
2010-11-01 Initial version.


CONFIDENTIAL