UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
uLang::SSystemParams Struct Reference

Parameters to initialize the uLang module. More...

#include <Common.h>

Public Types

using FMalloc = void *(*)(size_t)
 
using FRealloc = void *(*)(void *, size_t)
 
using FFree = void(*)(void *)
 
using FAssert = EErrorAction(*)(EAssertSeverity, const char *, const char *, int32_t, const char *,...)
 
using FLog = void(*)(ELogVerbosity, const char *,...)
 

Public Member Functions

 SSystemParams (int APIVersion, FMalloc HeapMalloc, FRealloc HeapRealloc, FFree HeapFree, FAssert AssertFailed, FLog LogMessage=nullptr)
 

Public Attributes

int _APIVersion
 Set this to ULANG_API_VERSION.
 
FMalloc _HeapMalloc
 Allocate system heap memory.
 
FRealloc _HeapRealloc
 Reallocate system heap memory.
 
FFree _HeapFree
 Free system heap memory.
 
FAssert _AssertFailed
 Called when an assert fails.
 
FLog _LogMessage
 Print a message.
 
ELogVerbosity _Verbosity = ELogVerbosity::Display
 Won't print anything under the _Verbosity level.
 

Detailed Description

Parameters to initialize the uLang module.

Member Typedef Documentation

◆ FAssert

using uLang::SSystemParams::FAssert = EErrorAction(*)(EAssertSeverity , const char * , const char * , int32_t , const char * , ...)

◆ FFree

◆ FLog

using uLang::SSystemParams::FLog = void(*)(ELogVerbosity , const char* , ...)

◆ FMalloc

◆ FRealloc

Constructor & Destructor Documentation

◆ SSystemParams()

uLang::SSystemParams::SSystemParams ( int  APIVersion,
FMalloc  HeapMalloc,
FRealloc  HeapRealloc,
FFree  HeapFree,
FAssert  AssertFailed,
FLog  LogMessage = nullptr 
)
inline

Member Data Documentation

◆ _APIVersion

int uLang::SSystemParams::_APIVersion

Set this to ULANG_API_VERSION.

◆ _AssertFailed

FAssert uLang::SSystemParams::_AssertFailed

Called when an assert fails.

◆ _HeapFree

FFree uLang::SSystemParams::_HeapFree

Free system heap memory.

◆ _HeapMalloc

FMalloc uLang::SSystemParams::_HeapMalloc

Allocate system heap memory.

◆ _HeapRealloc

FRealloc uLang::SSystemParams::_HeapRealloc

Reallocate system heap memory.

◆ _LogMessage

FLog uLang::SSystemParams::_LogMessage

Print a message.

◆ _Verbosity

ELogVerbosity uLang::SSystemParams::_Verbosity = ELogVerbosity::Display

Won't print anything under the _Verbosity level.


The documentation for this struct was generated from the following file: