35 #include <sys/types.h> 39 char *
mg_realloc(
char *mem_ptr,
const size_t mem_sz);
BEGIN_C_DECLS char * mg_realloc(char *mem_ptr, const size_t mem_sz)
Wrap realloc to include error handling.
Definition: memory.c:52
Header file to ease portability.
#define END_C_DECLS
Use END_C_DECLS at the end of C declarations.
Definition: portability.h:50
#define BEGIN_C_DECLS
BEGIN_C_DECLS should be used at the beginning of declarations so that C++ compilers don't mangle thei...
Definition: portability.h:46