mirror of
https://github.com/devkitPro/wut.git
synced 2026-03-22 01:44:41 -05:00
Add MEMFindParentHeap and MEMCreateUserHeapHandle
This commit is contained in:
parent
efeb31620d
commit
fa285aa946
|
|
@ -104,6 +104,12 @@ MEMHeapHandle
|
|||
MEMSetBaseHeapHandle(MEMBaseHeapType type,
|
||||
MEMHeapHandle handle);
|
||||
|
||||
/**
|
||||
* Create a heap handle for a user defined heap.
|
||||
*/
|
||||
MEMHeapHandle
|
||||
MEMCreateUserHeapHandle(void *heap,
|
||||
uint32_t size);
|
||||
|
||||
/**
|
||||
* Print details about heap to COSWarn
|
||||
|
|
@ -118,6 +124,11 @@ MEMDumpHeap(MEMHeapHandle heap);
|
|||
MEMHeapHeader *
|
||||
MEMFindContainHeap(void *block);
|
||||
|
||||
/**
|
||||
* Find the parent heap of a given heap. Return NULL if no parent was found.
|
||||
*/
|
||||
MEMHeapHandle
|
||||
MEMFindParentHeap(MEMHeapHandle handle);
|
||||
|
||||
/**
|
||||
* Get the data fill value used when MEM_HEAP_FLAG_DEBUG_MODE is set.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user