3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/gameface/cohtml/IAllocator.h"
7#include "mc/external/gameface/cohtml/MemTagsType.h"
16class Allocator :
public ::cohtml::IAllocator {
20 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::OreUI::IPlatformAllocator>> mPlatformAllocator;
26 virtual ~Allocator() =
default;
28 virtual void* Allocate(uint size, ::cohtml::MemTags::MemTagsType tag) ;
30 virtual void* Reallocate(
void* oldPtr, uint size, ::cohtml::MemTags::MemTagsType tag) ;
32 virtual void Deallocate(
void* ptr, ::cohtml::MemTags::MemTagsType) ;
34 virtual void* AlignedAllocate(uint size, uint alignment, ::cohtml::MemTags::MemTagsType tag) ;
36 virtual void AlignedDeallocate(
void* ptr, ::cohtml::MemTags::MemTagsType) ;
39 VirtualAllocate(
void* hint, uint size,
int protection,
int flags, ::cohtml::MemTags::MemTagsType) ;
41 virtual bool VirtualFree(
void* ptr, uint size,
int flags, ::cohtml::MemTags::MemTagsType) ;
47 MCAPI
void* $Allocate(uint size, ::cohtml::MemTags::MemTagsType tag);
49 MCAPI
void* $Reallocate(
void* oldPtr, uint size, ::cohtml::MemTags::MemTagsType tag);
51 MCFOLD
void $Deallocate(
void* ptr, ::cohtml::MemTags::MemTagsType);
53 MCAPI
void* $AlignedAllocate(uint size, uint alignment, ::cohtml::MemTags::MemTagsType tag);
55 MCFOLD
void $AlignedDeallocate(
void* ptr, ::cohtml::MemTags::MemTagsType);
57 MCAPI
void* $VirtualAllocate(
void* hint, uint size,
int protection,
int flags, ::cohtml::MemTags::MemTagsType);
59 MCAPI
bool $VirtualFree(
void* ptr, uint size,
int flags, ::cohtml::MemTags::MemTagsType);
static MCAPI void ** $vftable()