RenderWare V2.1

Previous Page Index Next Page

void

RwFree(void *ptr)

Description

Calls the function used by RenderWare to free memory.

Arguments

ptr Pointer to a block of memory previously allocated with RwMalloc(), RwCalloc() or RwRealloc().

Comments

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

RwCalloc()