Version

menu_open
Wwise SDK 2021.1.14
IAkPluginMemAlloc.h File Reference

Go to the source code of this file.

Classes

class   AK::IAkPluginMemAlloc
 
class   AkPluginArrayAllocator
 

Namespaces

namespace   AK
  Audiokinetic namespace.
 

Macros

#define  AK_PLUGIN_NEW(_allocator, _what)   new( ( _allocator ), __FILE__, __LINE__ ) _what
 
#define  AK_PLUGIN_ALLOC(_allocator, _size)   ( _allocator )->Malloc( ( _size ), __FILE__, __LINE__ )
 
#define  AK_PLUGIN_ALLOC_ALIGN(_allocator, _size, _align)   ( _allocator )->Malign( ( _size ), ( _align ), __FILE__, __LINE__ )
 
#define  AK_PLUGIN_REALLOC(_allocator, _pmem, _size)   ( _allocator )->Realloc( ( _pmem ), ( _size ), __FILE__, __LINE__ )
 
#define  AK_PLUGIN_REALLOC_ALIGN(_allocator, _pmem, _size, _align)   ( _allocator )->ReallocAligned( ( _pmem ), ( _size ), ( _align ), __FILE__, __LINE__ )
 
#define  AK_PLUGIN_FREE(_allocator, _pvmem)   ( _allocator )->Free( ( _pvmem ) )
 

Functions

AkForceInline void *  operator new (size_t size, AK::IAkPluginMemAlloc *in_pAllocator, const char *szFile, AkUInt32 ulLine) throw ()
 
AkForceInline void *  operator new (size_t size, AK::IAkPluginMemAlloc *in_pAllocator) throw ()
 
AkForceInline void  operator delete (void *, AK::IAkPluginMemAlloc *, const char *, AkUInt32) throw ()
 
AkForceInline void  operator delete (void *, AK::IAkPluginMemAlloc *) throw ()
 
template<class T >
AkForceInline void  AK_PLUGIN_DELETE (AK::IAkPluginMemAlloc *in_pAllocator, T *in_pObject)
 

Detailed Description

Memory allocation macros for Wwise sound engine plug-ins.

Definition in file IAkPluginMemAlloc.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise