[API function]
Callback to re-allocate a block of memory to a different size.
void * F_CALLBACKAPI FSOUND_REALLOCCALLBACK(
void *ptr,
unsigned int size
);
Parameters
ptr |
Pointer to a block of memory to be resized. If this is NULL then a new block of memory is simply allocated.
|
size |
Size of the memory to be reallocated. The original memory must be preserved.
|
Return Value
On success, a pointer to the newly re-allocated block of memory is returned.
On failure, NULL is returned.
Remarks
Returning an aligned pointer, of 16 byte alignment is recommended for speed purposes.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, GameCube
See Also
FSOUND_ALLOCCALLBACK
,
FSOUND_FREECALLBACK
,
FSOUND_GetMemoryStats
,
FSOUND_SetMemorySystem
This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:31 2005
by SourceDoc v0.10, the automated source code documenter.