Navigation
Unreal Engine C++ API Reference > Runtime > Core > HAL
Inheritance Hierarchy
- FUseSystemMallocForNew
- FExec
- FMalloc
- FMallocAnsi
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/HAL/MallocAnsi.h |
Include | #include "HAL/MallocAnsi.h" |
Syntax
class FMallocAnsi : public FMalloc
Remarks
ANSI C memory allocator.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FMallocAnsi () |
Constructor enabling low fragmentation heap on platforms supporting it. |
Overridden from FMalloc
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Free
(
void* Original |
Free |
![]() ![]() |
bool | GetAllocationSize
(
void* Original, |
If possible determine the size of the memory allocated at the given address |
![]() ![]() |
const TCHAR * | Gets descriptive name for logging purposes. | |
![]() ![]() ![]() |
bool | Returns if the allocator is guaranteed to be thread-safe and therefore doesn't need a unnecessary thread-safety wrapper around it. | |
![]() ![]() |
void * | Malloc
(
SIZE_T Count, |
Malloc |
![]() ![]() |
void * | Realloc
(
void* Original, |
Realloc |
![]() ![]() |
void * | TryMalloc
(
SIZE_T Count, |
TryMalloc - like Malloc(), but may return a nullptr result if the allocation request cannot be satisfied. |
![]() ![]() |
void * | TryRealloc
(
void* Original, |
TryRealloc - like Realloc(), but may return a nullptr if the allocation request cannot be satisfied. |
![]() ![]() |
bool | ValidateHeap () |
Validates the allocator's heap |