Go to the documentation of this file.
30 #ifndef _AK_TOOLS_COMMON_AKALLOCATOR_H
31 #define _AK_TOOLS_COMMON_AKALLOCATOR_H
44 virtual void*
Malloc(
size_t in_uSize)
46 return malloc(in_uSize);
49 virtual void Free(
void* in_pMemAddress)
60 : m_pAlloc(in_pAlloc),
69 m_pAlloc->
Free(m_pPtr);
76 explicit operator</span> bool() const { return m_pPtr != nullptr; }
77 operator</span> T*&() { return m_pPtr; }
86 #endif // _AK_TOOLS_COMMON_AKALLOCATOR_H
SafeAllocator(AK::IAkPluginMemAlloc *in_pAlloc)
virtual void Free(void *in_pMemAddress)
virtual void Free(void *in_pMemAddress)=0
virtual void * Malloc(size_t in_uSize)
Besoin d'aide ?
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'Aide
Décrivez-nous de votre projet. Nous sommes là pour vous aider.
Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise