#include <dwc.h>
typedef void*(*) DWCAllocEx(DWCAllocType name,
u32 size,
int align);align |
Return a pointer to a byte-aligned buffer with the size in bytes specified by size. |
name |
Ignore this argument. It contains information used during DWC library development. |
If memory allocation is successful, returns a pointer to a buffer of size bytes and with the byte alignment given by align. Otherwise, returns NULL.
This memory allocation function is used by the DWC library. Thread-exclusive processing must be used.
When operating in TWL mode, you cannot specify functions that allocate a region from the main memory extended arena.
DWC_SetMemFunc function. For the change log prior to 5.1 PR2, click here.
CONFIDENTIAL