Files
UnrealEngineUWP/Engine/Source/Runtime/Unix/UnixCommonStartup/Public/UnixCommonStartup.h
Brandon Schaefer 193bd6d603 Move __asan_default_options to the main exe as it needs to be bound before asan*.so is loaded to override that function
#jira none
#rb none
#preflight none
#fyi Michael.Sartain

[CL 19162807 by Brandon Schaefer in ue5-main branch]
2022-02-25 21:31:18 -05:00

16 lines
629 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
/**
* @brief CommonUnixMain - executes common startup code for Unix programs/engine
* @param argc - number of arguments in argv[]
* @param argv - array of arguments
* @param RealMain - the next main routine to call in chain
* @param AppExitCallback - workaround for Launch module that needs to call FEngineLoop::AppExit() at certain point
* @return error code to return to the OS
*/
int UNIXCOMMONSTARTUP_API CommonUnixMain(int argc, char *argv[], int (*RealMain)(const TCHAR * CommandLine), void (*AppExitCallback)() = nullptr);