// util/alloc.h, version 1.0.1 // Memory allocation header file from libutil // Copyright (C) 2021, Jakob Wakeling // MIT Licence #ifndef UTIL_ALLOC_H_M0UWQ8LT #define UTIL_ALLOC_H_M0UWQ8LT #ifdef __cplusplus extern "C" { #endif #include "util.h" extern void *xmalloc(UINT l); extern void *xcalloc(UINT n, UINT l); extern void *xrealloc(void *p, UINT l); #ifdef __cplusplus } // extern "C" #endif #endif // UTIL_ALLOC_H_M0UWQ8LT