MEMGetFillValForHeap

C Specification

#include <revolution/mem.h>

u32 MEMGetFillValForHeap( int type );

Arguments

type Process type that sets the value (see description below).

Return Values

Returns the value that fills in the designated memory type.

Description

This function obtains the 32-bit value in memory at heap creation and memory block allocation/freeing. Each value can be set to a differnt value at heap creation and memory block allocation/freeing. The type that obtains these values is specified by type. 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 freeing.

This function is for debugging. Doesn't function in the final ROM version library (FINALROM).

See Also

MEMSetFillValForHeap, MEMCreateExpHeapEx, MEMCreateFrmHeapEx, MEMCreateUnitHeapEx

Revision History

03/01/2006 Initial version.