LeviLamina
Loading...
Searching...
No Matches
DefaultAllocator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/memory/IMemoryAllocator.h"
7
8namespace Bedrock::Memory {
9
11public:
12 // virtual functions
13 // NOLINTBEGIN
14 // vIndex: 1
15 virtual void* allocate(uint64) /*override*/;
16
17 // vIndex: 2
18 virtual void release(void*) /*override*/;
19
20 // vIndex: 3
21 virtual void* alignedAllocate(uint64, uint64) /*override*/;
22
23 // vIndex: 4
24 virtual void alignedRelease(void*) /*override*/;
25
26 // vIndex: 5
27 virtual uint64 getUsableSize(void*, bool) /*override*/;
28
29 // vIndex: 6
30 virtual void* _realloc(::gsl::not_null<void*>, uint64) /*override*/;
31
32 // vIndex: 7
33 virtual void* _alignedRealloc(::gsl::not_null<void*>, uint64, uint64) /*override*/;
34
35 // vIndex: 0
36 virtual ~DefaultAllocator() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42
43 // NOLINTEND
44};
45
46} // namespace Bedrock::Memory
Definition DefaultAllocator.h:10
Definition IMemoryAllocator.h:7