MGE General C Library - API Documentation v1.8.4
Library of general C functions.
mge-memory.h
Go to the documentation of this file.
1
16#ifndef MGE_MEMORY_H
17#define MGE_MEMORY_H
18
20
21#include <sys/types.h>
22
24
25char *mg_realloc(char *mem_ptr, const size_t mem_sz);
26
28
29#endif /* ndef MGE_MEMORY_H */
BEGIN_C_DECLS char * mg_realloc(char *mem_ptr, const size_t mem_sz)
Wrap realloc to include error handling.
Definition: memory.c:33
Header file to ease portability.
#define BEGIN_C_DECLS
BEGIN_C_DECLS should be used at the beginning of declarations so that C++ compilers don't mangle thei...
Definition: mge-portability.h:30
#define END_C_DECLS
Use END_C_DECLS at the end of C declarations.
Definition: mge-portability.h:34