Files
UnrealEngineUWP/Engine/Source/Developer/ShaderPreprocessor/Private/StbConfig.h
dan elksnitis 8801f83bb2 [shaders] add support to run STB preprocessor instead of MCPP; add a cvar to disable this and instead use the legacy preprocessor (currently this is set to true - i.e. still using MCPP - by default)
#rb Yuriy.ODonnell
#rb Jason.Nadro
#preflight 6387663c3377450900c5522b

[CL 23350844 by dan elksnitis in ue5-main branch]
2022-12-01 09:27:13 -05:00

21 lines
494 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
void* StbMalloc(size_t Size);
void* StbRealloc(void* Pointer, size_t Size);
void StbFree(void* Pointer);
char* StbStrDup(const char* String);
#ifdef __cplusplus
}
#endif
#define STB_COMMON_MALLOC(Size) StbMalloc(Size)
#define STB_COMMON_REALLOC(Pointer, Size) StbRealloc(Pointer, Size)
#define STB_COMMON_FREE(Pointer) StbFree(Pointer)
#define STB_COMMON_STRDUP(String) StbStrDup(String)