// This file is a part of Framsticks SDK. http://www.framsticks.com/ // Copyright (C) 2023-2024 Maciej Komosinski and Szymon Ulatowski. // See LICENSE.txt for details. #ifndef _COMMON_REALLOC_FREE0SIZE_H_ #define _COMMON_REALLOC_FREE0SIZE_H_ #include // realloc() implementation that behaves like free() when size==0 (consistently on all platforms) void *realloc_free0size(void *ptr, size_t size); #endif