mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-25 13:46:52 +01:00
unify types in os_functions
This commit is contained in:
parent
a227744f73
commit
90c40a36c6
@ -118,9 +118,9 @@ EXPORT_DECL(void *, MEMAllocFromExpHeapEx, s32 heap, u32 size, s32 align);
|
||||
EXPORT_DECL(s32 , MEMCreateExpHeapEx, void* address, u32 size, unsigned short flags);
|
||||
EXPORT_DECL(void *, MEMDestroyExpHeap, s32 heap);
|
||||
EXPORT_DECL(void, MEMFreeToExpHeap, s32 heap, void* ptr);
|
||||
EXPORT_DECL(void *, OSAllocFromSystem, int size, int alignment);
|
||||
EXPORT_DECL(void *, OSAllocFromSystem, u32 size, s32 alignment);
|
||||
EXPORT_DECL(void, OSFreeToSystem, void *addr);
|
||||
EXPORT_DECL(int, OSIsAddressValid, void *ptr);
|
||||
EXPORT_DECL(s32, OSIsAddressValid, void *ptr);
|
||||
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! MCP functions
|
||||
|
@ -161,9 +161,9 @@ 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);
|
||||
extern void* (* OSAllocFromSystem)(int size, int alignment);
|
||||
extern void* (* OSAllocFromSystem)(u32 size, s32 alignment);
|
||||
extern void (* OSFreeToSystem)(void *addr);
|
||||
extern int (* OSIsAddressValid)(void *ptr);
|
||||
extern s32 (* OSIsAddressValid)(void *ptr);
|
||||
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! MCP functions
|
||||
|
Loading…
Reference in New Issue
Block a user