MIAllocator

Definition

#include <nitro/mi.h>

typedef struct MIAllocator
{
/* private: */
    void                       *userdata;
    MIAllocatorAllocFunction    Alloc;
    MIAllocatorFreeFunction     Free;
}
MIAllocator;

Description

An interface structure for wrapping memory allocator features.

This structure can be used as a standard prototype format for the memory allocator.

See Also

MIAllocatorAllocFunction, MIAllocatorFreeFunction
MI_InitAllocator, MI_CallAlloc, MI_CallFree

Revision History

2007/06/12 Initial version.


CONFIDENTIAL