FCohtmlMemoryAllocator

Inherits from IAllocator

Public Functions

Name
FCohtmlMemoryAllocator()
void *Allocate(unsigned Size, cohtml::MemTags::MemTagsType Tag) override
voidDeallocate(void * Ptr, cohtml::MemTags::MemTagsType Tag) override
void *Reallocate(void * Ptr, unsigned NewSize, cohtml::MemTags::MemTagsType Tag) override
void *AlignedAllocate(unsigned Size, unsigned Alignment, cohtml::MemTags::MemTagsType Tag) override
voidAlignedDeallocate(void * Ptr, cohtml::MemTags::MemTagsType Tag) override
void *VirtualAllocate(void * hint, unsigned size, int protection, int flags, cohtml::MemTags::MemTagsType memtag) override
boolVirtualFree(void * ptr, unsigned size, int flags, cohtml::MemTags::MemTagsType memtag) override

Public Functions Documentation

function FCohtmlMemoryAllocator

FCohtmlMemoryAllocator()

function Allocate

void * Allocate(
    unsigned Size,
    cohtml::MemTags::MemTagsType Tag
) override

function Deallocate

void Deallocate(
    void * Ptr,
    cohtml::MemTags::MemTagsType Tag
) override

function Reallocate

void * Reallocate(
    void * Ptr,
    unsigned NewSize,
    cohtml::MemTags::MemTagsType Tag
) override

function AlignedAllocate

void * AlignedAllocate(
    unsigned Size,
    unsigned Alignment,
    cohtml::MemTags::MemTagsType Tag
) override

function AlignedDeallocate

void AlignedDeallocate(
    void * Ptr,
    cohtml::MemTags::MemTagsType Tag
) override

function VirtualAllocate

void * VirtualAllocate(
    void * hint,
    unsigned size,
    int protection,
    int flags,
    cohtml::MemTags::MemTagsType memtag
) override

function VirtualFree

bool VirtualFree(
    void * ptr,
    unsigned size,
    int flags,
    cohtml::MemTags::MemTagsType memtag
) override