#include
<kfbxmemoryallocator.h>
The FBX SDK Manager uses an object of type KFbxMemoryAllocator to allocate and free memory. Implement your own class if your application requires custom memory management.
Definition at line 53 of file kfbxmemoryallocator.h.
Public Member Functions |
|
KFbxMemoryAllocator (void *(*pMallocHandler)(size_t), void *(*pCallocHandler)(size_t, size_t), void *(*pReallocHandler)(void *, size_t), void(*pFreeHandler)(void *), size_t(*pMsizeHandler)(void *)) | |
Constructor. |
KFbxMemoryAllocator | ( | void *(*)(size_t) | pMallocHandler, | |
void *(*)(size_t, size_t) | pCallocHandler, | |||
void *(*)(void *, size_t) | pReallocHandler, | |||
void(*)(void *) | pFreeHandler, | |||
size_t(*)(void *) | pMsizeHandler | |||
) | [inline] |
Constructor.
pMallocHandler | Pointer to a function implementing malloc. This function allocates memory blocks. | |
pCallocHandler | Pointer to a function implementing calloc. This function allocates an array in memory with elements initialized to 0. | |
pReallocHandler | Pointer to a function implementing realloc. This function reallocate memory blocks. | |
pFreeHandler | Pointer to a function implementing free. This function deallocates memory blocks. | |
pMsizeHandler | Pointer to a function implementing msize. This function returns the size of a memory block allocated in the heap. See the macro _msize for its default implementation on different platforms. |
Definition at line 63 of file kfbxmemoryallocator.h.