#include <revolution/mem.h> u16 MEMGetAllocDirForMBlockExpHeap( const void* memBlock );
memBlock |
Pointer to the memory block that gets the allocation direction. Information about allocation direction is explained below. |
|---|
Returns the designated memory block allocation direction.
This function obtains the allocation direction of the allocated memory block from the expanded heap.
The allocation direction can be one of the following values:
MEM_EXPHEAP_ALLOC_DIR_FRONT |
Allocates from the bottom of the free region in the expanded heap when the memory block is allocated. |
|---|---|
MEM_EXPHEAP_ALLOC_DIR_REAR |
Allocates from the top of the free region in the expanded heap when the memory block is allocated. |
MEMGetSizeForMBlockExpHeap, MEMGetGroupIDForMBlockExpHeap
2006/03/01 Initial version.
CONFIDENTIAL