Firelight Technologies FMOD Studio API
FSBank_MemoryInit
Specifies a method for FSBank to allocate memory through callbacks.
C Syntax
FSBANK_RESULT FSBank_MemoryInit(
FSBANK_MEMORY_ALLOC_CALLBACK userAlloc,
FSBANK_MEMORY_REALLOC_CALLBACK userRealloc,
FSBANK_MEMORY_FREE_CALLBACK userFree
);
Parameters
userAlloc
Overrides the internal calls to alloc. Compatible with ANSI malloc().
userRealloc
Overrides the internal calls to realloc. Compatible with ANSI realloc().
userFree
Overrides the internal calls to free. Compatible with ANSI free().
Return Values
If the function succeeds then the return value is FSBANK_OK.
If the function fails then the return value will be one of the values defined in the FSBANK_RESULT enumeration.
See Also
Version 1.10.02 Built on Dec 7, 2017