#include <nnsys/fnd.h>
void NNS_FndVisitAllocatedForExpHeap(
NNSFndHeapHandle heap,
NNSFndHeapVisitor visitor,
u32 userParam);
| heap | Extended 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 extended 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 allocated order.
NNS_FndAllocFromExpHeap, NNS_FndAllocFromExpHeapEx, NNS_FndCreateExpHeap, NNS_FndCreateExpHeapEx
10/15/2004 Corrected the heading of "See Also"
04/01/2004 Initial version.