Switches allocator to debug mode
#include <mso/Allocator.h> void msoAllocatorEnableDebugMode( MsoAllocator *allocator_ptr, const u32 enable )
Returns whether the allocator is operating in debug mode
#include <mso/Allocator.h> u32 msoAllocatorIsDebugMode( const MsoAllocator *allocator_ptr )
#include <mso/Allocator.h> void msoAllocatorSetDebugCookie( MsoAllocator *allocator_ptr, const u32 debug_cookie )
#include <mso/Allocator.h> u32 msoAllocatorGetDebugCookie( const MsoAllocator *allocator_ptr );
Gets size bytes of memory with an 8-byte boundary
#include <mso/Allocator.h> void *msoAllocatorAllocate( MsoAllocator *allocator_ptr, const u32 size );
Gets size bytes of memory with the boundary specified by align
#include <mso/Allocator.h> void *msoAllocatorAllocateAligned( MsoAllocator *allocator_ptr, const u32 size, const u16 align );
#include <mso/Allocator.h> void msoAllocatorFree( MsoAllocator *allocator_ptr, void *mem_ptr );
#include <mso/Allocator.h> void msoSetDefaultAllocator( MsoAllocator *allocator_ptr );
#include <mso/Allocator.h> MsoAllocator *msoGetDefaultAllocator( void );
Acquires memory using the default allocator
#include <mso/Allocator.h> void *msoMalloc( const u32 size );
Acquires memory using the default allocator
#include <mso/Allocator.h> void *msoMallocAligned( const u32 size, const u16 align );
Releases memory using the default allocator
#include <mso/Allocator.h> void msoFree( void *mem_ptr );