Files
henrik karlsson f027bfa856 [Core]
* Fixed compile errors when compiling .h files in isolation

#rb none

[CL 25865668 by henrik karlsson in ue5-main branch]
2023-06-08 02:30:27 -04: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)