Table of Contents

#define AK_PLUGIN_ALLOC ( _allocator,
_size   )     (_allocator)->Malloc((_size))

Macro used to allocate arrays of built-in types.

Parameters:
_allocator  Memory allocator interface.
_size  Requested size in bytes.
Returns:
A void pointer to the the allocated memory.
Note.gif
Note: Use AK_PLUGIN_FREE() for memory allocated with this macro.
See also:

Definition at line 121 of file IAkPluginMemAlloc.h.

Referenced by AkPluginArrayAllocator::Alloc().