DWC_Alloc

Syntax

#include <dwc.h>

void* DWC_Alloc(DWCAllocType name,
                u32 size);

Arguments

name Information for library development. Specify 0.
size Size (in bytes) of the memory you wish to allocate.

Return Values

Returns a pointer to the memory allocated using the memory allocation function specified by DWC_Init.

Description

Allocates memory using the memory allocation function specified by DWC_Init.

When the DWC_Alloc function is used, 32 is passed to the align argument in the memory allocation function.

Revision History


CONFIDENTIAL