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