3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/gameface/cohtml/IAllocator.h"
7#include "mc/external/gameface/cohtml/MemTagsType.h"
11class Allocator :
public ::cohtml::IAllocator {
15 virtual ~Allocator() =
default;
17 virtual void* Allocate(uint size, ::cohtml::MemTags::MemTagsType tag) ;
19 virtual void* Reallocate(
void* oldPtr, uint size, ::cohtml::MemTags::MemTagsType tag) ;
21 virtual void Deallocate(
void* ptr, ::cohtml::MemTags::MemTagsType) ;
23 virtual void* AlignedAllocate(uint size, uint alignment, ::cohtml::MemTags::MemTagsType tag) ;
25 virtual void AlignedDeallocate(
void* ptr, ::cohtml::MemTags::MemTagsType) ;
27 virtual void* VirtualAllocate(
void*, uint,
int,
int, ::cohtml::MemTags::MemTagsType) ;
29 virtual bool VirtualFree(
void*, uint,
int, ::cohtml::MemTags::MemTagsType) ;
35 MCNAPI
void*
$Allocate(uint size, ::cohtml::MemTags::MemTagsType tag);
37 MCNAPI
void*
$Reallocate(
void* oldPtr, uint size, ::cohtml::MemTags::MemTagsType tag);
39 MCNAPI
void $Deallocate(
void* ptr, ::cohtml::MemTags::MemTagsType);
41 MCNAPI
void*
$AlignedAllocate(uint size, uint alignment, ::cohtml::MemTags::MemTagsType tag);
47 MCNAPI
bool $VirtualFree(
void*, uint,
int, ::cohtml::MemTags::MemTagsType);
MCAPI void * $VirtualAllocate(void *, uint, int, int, ::cohtml::MemTags::MemTagsType)
MCAPI void * $Allocate(uint size, ::cohtml::MemTags::MemTagsType tag)
MCAPI bool $VirtualFree(void *, uint, int, ::cohtml::MemTags::MemTagsType)
MCAPI void $AlignedDeallocate(void *ptr, ::cohtml::MemTags::MemTagsType)
MCAPI void $Deallocate(void *ptr, ::cohtml::MemTags::MemTagsType)
MCAPI void * $AlignedAllocate(uint size, uint alignment, ::cohtml::MemTags::MemTagsType tag)
MCAPI void * $Reallocate(void *oldPtr, uint size, ::cohtml::MemTags::MemTagsType tag)
static MCAPI void ** $vftable()