Previous Topic Index Next Topic
[API function]

FSOUND_ALLOCCALLBACK

Callback to allocate a block of memory.

void * F_CALLBACKAPI FSOUND_ALLOCCALLBACK(
unsigned int size
);

Parameters

size Size in bytes of the memory block to be allocated and returned.

Return Value

On success, a pointer to the newly 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_FREECALLBACK , FSOUND_GetMemoryStats , FSOUND_REALLOCCALLBACK , FSOUND_SetMemorySystem

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Mon Oct 18 11:07:58 2004 by SourceDoc v0.10, the automated source code documenter.