RenderWare V2.1

Previous Page Index Next Page

void *

RwMalloc(RwInt32 size)

Description

Calls the function used by RenderWare to malloc memory.

Arguments

size The amount of memory to allocate.

Returns

A pointer to the allocated memory.

Comments

Under normal conditions, this function simply calls the standard library malloc function that is used by RenderWare. To avoid conflicts between the standard library used by the application and that used by RenderWare, this function can be used. RenderWare can also be configured to use an application supplied callback function for memory allocation.

See Also

RwInitialize()

RwRealloc()

RwCalloc()

RwFree()