3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/gameface/cohtml/IVirtualAllocator.h"
14 virtual ~VirtualAllocator() =
default;
16 virtual uint64 GetAllocationPageSize() const ;
18 virtual uint64 GetCommitPageSize() const ;
20 virtual
void* Allocate(
void* address, uint64 size, uint64 alignment,
int protection,
int flags) ;
22 virtual
bool Free(
void* address, uint64 size,
int flags) ;
24 virtual
bool PartialFree(
void* address, uint64 oldSize, uint64 newSize,
int) ;
34 MCNAPI
void*
$Allocate(
void* address, uint64 size, uint64 alignment,
int protection,
int flags);
36 MCNAPI
bool $Free(
void* address, uint64 size,
int flags);
38 MCNAPI
bool $PartialFree(
void* address, uint64 oldSize, uint64 newSize,
int);
Definition VirtualAllocator.h:7
MCAPI bool $PartialFree(void *address, uint64 oldSize, uint64 newSize, int)
MCAPI void * $Allocate(void *address, uint64 size, uint64 alignment, int protection, int flags)
static MCAPI void ** $vftable()
MCAPI uint64 $GetCommitPageSize() const
MCAPI uint64 $GetAllocationPageSize() const
MCAPI bool $Free(void *address, uint64 size, int flags)