#include <nitro/mi.h>
typedef struct MIAllocator
{
/* private: */
void *userdata;
MIAllocatorAllocFunction Alloc;
MIAllocatorFreeFunction Free;
}
MIAllocator;
An interface structure for wrapping memory allocator features.
This structure can be used as a standard prototype format for the memory allocator.
MIAllocatorAllocFunction, MIAllocatorFreeFunction
MI_InitAllocator, MI_CallAlloc, MI_CallFree
2007/06/12 Initial version.
CONFIDENTIAL