Files
UnrealEngine/Engine/Source/Developer/ShaderPreprocessor/Private/StbConfig.h
2025-05-18 13:04:45 +08:00

23 lines
515 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include <stddef.h>
#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)