LeviLamina
Loading...
Searching...
No Matches
Allocator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/gameface/cohtml/IAllocator.h"
7#include "mc/external/gameface/cohtml/MemTagsType.h"
8
9namespace OreUI {
10
11class Allocator : public ::cohtml::IAllocator {
12public:
13 // virtual functions
14 // NOLINTBEGIN
15 virtual ~Allocator() /*override*/ = default;
16
17 virtual void* Allocate(uint size, ::cohtml::MemTags::MemTagsType tag) /*override*/;
18
19 virtual void* Reallocate(void* oldPtr, uint size, ::cohtml::MemTags::MemTagsType tag) /*override*/;
20
21 virtual void Deallocate(void* ptr, ::cohtml::MemTags::MemTagsType) /*override*/;
22
23 virtual void* AlignedAllocate(uint size, uint alignment, ::cohtml::MemTags::MemTagsType tag) /*override*/;
24
25 virtual void AlignedDeallocate(void* ptr, ::cohtml::MemTags::MemTagsType) /*override*/;
26
27 virtual void* VirtualAllocate(void*, uint, int, int, ::cohtml::MemTags::MemTagsType) /*override*/;
28
29 virtual bool VirtualFree(void*, uint, int, ::cohtml::MemTags::MemTagsType) /*override*/;
30 // NOLINTEND
31
32public:
33 // virtual function thunks
34 // NOLINTBEGIN
35 MCAPI void* $Allocate(uint size, ::cohtml::MemTags::MemTagsType tag);
36
37 MCAPI void* $Reallocate(void* oldPtr, uint size, ::cohtml::MemTags::MemTagsType tag);
38
39 MCAPI void $Deallocate(void* ptr, ::cohtml::MemTags::MemTagsType);
40
41 MCAPI void* $AlignedAllocate(uint size, uint alignment, ::cohtml::MemTags::MemTagsType tag);
42
43 MCAPI void $AlignedDeallocate(void* ptr, ::cohtml::MemTags::MemTagsType);
44
45 MCAPI void* $VirtualAllocate(void*, uint, int, int, ::cohtml::MemTags::MemTagsType);
46
47 MCAPI bool $VirtualFree(void*, uint, int, ::cohtml::MemTags::MemTagsType);
48 // NOLINTEND
49};
50
51} // namespace OreUI
Definition Allocator.h:7