#include <revolution/mem.h> u32 MEMGetFillValForHeap( int type );
| type | Type of process that sets the value (see Description below) |
|---|
Returns the value that fills in the designated memory type.
This function obtains the 32-bit value in memory at heap creation and memory block allocation/freeing. Different values can be set at the time of heap creation and memory block allocation and deallocation. Specify the type of value to get with the type argument. The type argument takes one of the following values.
MEM_HEAP_FILL_NOUSE |
At heap creation |
|---|---|
MEM_HEAP_FILL_ALLOC |
At memory block allocation |
MEM_HEAP_FILL_FREE |
At memory block deallocation |
This function is for debugging. Doesn't function in the final ROM version library (FINALROM).
MEMSetFillValForHeap, MEMCreateExpHeapEx, MEMCreateFrmHeapEx, MEMCreateUnitHeapEx
2006/03/01 Initial version.
CONFIDENTIAL