mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 01:18:14 +01:00
coreinit: Add MEMVisitAllocatedForExpHeap
This commit is contained in:
parent
61a84c50b6
commit
1489adeb37
@ -129,6 +129,7 @@ MEMGetGroupIDForExpHeap
|
||||
MEMGetSizeForMBlockExpHeap
|
||||
MEMGetGroupIDForMBlockExpHeap
|
||||
MEMGetAllocDirForMBlockExpHeap
|
||||
MEMVisitAllocatedForExpHeap
|
||||
|
||||
// coreinit/fastcondition.h
|
||||
OSFastCond_Init
|
||||
|
@ -16,6 +16,9 @@ typedef struct MEMExpHeap MEMExpHeap;
|
||||
typedef struct MEMExpHeapBlock MEMExpHeapBlock;
|
||||
typedef struct MEMExpHeapBlockList MEMExpHeapBlockList;
|
||||
|
||||
typedef void (*MEMExpHeapBlockVisitor)(void *block, MEMHeapHandle heap,
|
||||
void *context);
|
||||
|
||||
typedef enum MEMExpHeapMode
|
||||
{
|
||||
MEM_EXP_HEAP_MODE_FIRST_FREE = 0,
|
||||
@ -123,6 +126,11 @@ MEMGetGroupIDForMBlockExpHeap(void *block);
|
||||
MEMExpHeapDirection
|
||||
MEMGetAllocDirForMBlockExpHeap(void *block);
|
||||
|
||||
void
|
||||
MEMVisitAllocatedForExpHeap(MEMHeapHandle heap,
|
||||
MEMExpHeapBlockVisitor callback,
|
||||
void *context);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user