3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/memory/IMemoryAllocator.h"
8namespace Bedrock::Memory {
15 virtual void* allocate(uint64 size) ;
18 virtual void release(
void* ptr) ;
21 virtual void* alignedAllocate(uint64 size, uint64 alignment) ;
24 virtual void alignedRelease(
void* ptr) ;
27 virtual uint64 getUsableSize(
void* ptr,
bool alignedAllocation) ;
30 virtual void* _realloc(::gsl::not_null<void*> p, uint64 newSize) ;
49 MCNAPI
void*
$_realloc(::gsl::not_null<void*> p, uint64 newSize);
Definition IMemoryAllocator.h:7
Definition MallocAllocator.h:10
MCAPI void $release(void *ptr)
static MCAPI void ** $vftable()
MCAPI void $alignedRelease(void *ptr)
MCAPI uint64 $getUsableSize(void *ptr, bool alignedAllocation)
MCAPI void * $_realloc(::gsl::not_null< void * > p, uint64 newSize)
MCAPI void * $alignedAllocate(uint64 size, uint64 alignment)
MCAPI void * $allocate(uint64 size)