integration/gwnavruntimeglue/bulletcollisioninterface/customallocator.h Source File
Go to the documentation of this file.
8 #ifndef KyRuntimeGlue_CustomAllocator_H
9 #define KyRuntimeGlue_CustomAllocator_H
11 KY_INLINE
void* CustomAlignedAlloc(
size_t size,
int alignment)
16 return KY_MEMALIGN(size, alignment, Kaim::MemStat_World_Other);
19 KY_INLINE
void CustomAlignedFreeFunc(
void* memblock)
22 KY_FREE_ALIGN(memblock);
25 KY_INLINE
void* CustomAllocFunc(
size_t size)
30 return KY_ALLOC(size, Kaim::MemStat_World_Other);
33 KY_INLINE
void CustomFreeFunc(
void* memblock)
39 #endif // KyRuntimeGlue_CustomAllocator_H
#define KY_NULL
Null value.
Definition: types.h:247