#include <nitro/mi.h>
typedef void (*MIAllocatorFreeFunction)(void *userdata, void *buffer);
userdata | An arbitrary user-defined value specified with MI_InitAllocator() .This is provided for the sake of convenience in implementing callback functions. |
buffer | Memory to be deallocated. |
None.
This is a function prototype that represents the format of the callback used to free memory to the allocator.
Use this format to implement a memory deallocation operation and specify your implementation in MI_InitAllocator()
.
MIAllocator, MIAllocatorAllocFunction
MI_InitAllocator, MI_CallAlloc, MI_CallFree
2007/06/12 Initial version.
CONFIDENTIAL