12#include "../error_func.h"
14#include "../safeguards.h"
22 FatalError(
"Out of memory. Cannot allocate {} bytes", size);
31 FatalError(
"Out of memory. Cannot reallocate {} bytes", size);
void ReallocError(size_t size)
Function to exit with an error message after realloc() have failed.
void MallocError(size_t size)
Function to exit with an error message after malloc() or calloc() have failed.