FGenericPlatformMemory::GetLLMAllocFunctions

This function sets AllocFunction and FreeFunction and returns true, or just returns false.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h

Include

#include "GenericPlatform/GenericPlatformMemory.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMemory.cpp

Syntax

static bool GetLLMAllocFunctions
(
    void *(*&)(size_t) OutAllocFunction,
    void *, size_t) OutFreeFunction,
    int32 & OutAlignment
)

Remarks

This function sets AllocFunction and FreeFunction and returns true, or just returns false. These functions are the platform dependant low low low level functions that LLM uses to allocate memory.