#include <nnsys/fnd.h>
void NNS_FndVisitAllocatedForExpHeap(
NNSFndHeapHandle heap,
NNSFndHeapVisitor visitor,
u32 userParam);
| heap | Expanded heap handle |
| visitor | Function called for each memory block |
| userParam | User-designated parameters passed to the visitor function |
None.
Causes the user-specified visitor function to be called for all memory blocks allocated from the expanded heap.
The visitor type NNSFndHeapVisitor is defined in the following manner:
typedef void (*NNSFndHeapVisitor)( void* memBlock, NNSFndHeapHandle heap, u32 userParam);
The first argument (memBlock) is the pointer to the memory block. The second argument (heap) is the heap handle that allocated the memory block. The third argument (userParam) is the value set with userParam passed as–is, and an optional value can be passed.
The order for the memory block called by the visitor function is the order of allocation.
NNS_FndAllocFromExpHeap, NNS_FndAllocFromExpHeapEx, NNS_FndCreateExpHeap, NNS_FndCreateExpHeapEx
2004/10/15 Corrected the heading of "See Also."
2004/04/01 Initial version.
CONFIDENTIAL