LeviLamina
Loading...
Searching...
No Matches
IAllocator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cohtml/MemTagsType.h"
7
8namespace cohtml {
9
10class IAllocator {
11public:
12 // virtual functions
13 // NOLINTBEGIN
14 virtual void* Allocate(uint, ::cohtml::MemTags::MemTagsType) = 0;
15
16 virtual void* Reallocate(void*, uint, ::cohtml::MemTags::MemTagsType) = 0;
17
18 virtual void Deallocate(void*, ::cohtml::MemTags::MemTagsType) = 0;
19
20 virtual void* AlignedAllocate(uint, uint, ::cohtml::MemTags::MemTagsType) = 0;
21
22 virtual void AlignedDeallocate(void*, ::cohtml::MemTags::MemTagsType) = 0;
23
24 virtual void* VirtualAllocate(void*, uint, int, int, ::cohtml::MemTags::MemTagsType) = 0;
25
26 virtual bool VirtualFree(void*, uint, int, ::cohtml::MemTags::MemTagsType) = 0;
27
28 virtual ~IAllocator() = default;
29 // NOLINTEND
30
31public:
32 // virtual function thunks
33 // NOLINTBEGIN
34
35 // NOLINTEND
36};
37
38} // namespace cohtml
Definition IAllocator.h:7