RenderWare V2.1

Previous Page Index Next Page

void *

RwCalloc(RwInt32 count, RwInt32 size)

Description

Calls the function used by RenderWare to calloc memory.

Arguments

count The number of blocks to allocate

size The size of each block.

Returns

A pointer to the allocated memory.

Comments

Under normal conditions, this function simply calls the standard library calloc 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()

RwMalloc()

RwFree()