mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-29 07:24:13 +01:00
os_functions.h: Declare all memory functions
This commit is contained in:
parent
a136b12c52
commit
a670f34082
@ -128,6 +128,22 @@ extern s32 (*OSScreenEnableEx)(u32 bufferNum, s32 enable);
|
||||
typedef unsigned char (*exception_callback)(void * interruptedContext);
|
||||
extern void (* OSSetExceptionCallback)(u8 exceptionType, exception_callback newCallback);
|
||||
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! Memory functions
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
extern u32 *pMEMAllocFromDefaultHeapEx;
|
||||
extern u32 *pMEMAllocFromDefaultHeap;
|
||||
extern u32 *pMEMFreeToDefaultHeap;
|
||||
|
||||
extern s32 (* MEMGetBaseHeapHandle)(s32 mem_arena);
|
||||
extern u32 (* MEMGetAllocatableSizeForFrmHeapEx)(s32 heap, s32 align);
|
||||
extern void* (* MEMAllocFromFrmHeapEx)(s32 heap, u32 size, s32 align);
|
||||
extern void (* MEMFreeToFrmHeap)(s32 heap, s32 mode);
|
||||
extern void *(* MEMAllocFromExpHeapEx)(s32 heap, u32 size, s32 align);
|
||||
extern s32 (* MEMCreateExpHeapEx)(void* address, u32 size, unsigned short flags);
|
||||
extern void *(* MEMDestroyExpHeap)(s32 heap);
|
||||
extern void (* MEMFreeToExpHeap)(s32 heap, void* ptr);
|
||||
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! MCP functions
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user