MGE General C Library - Full Internal Documentation  v1.3.5
Library of general C functions.
mgememory.h
Go to the documentation of this file.
1 
16 /* **********************************************************************
17  * *
18  * Changelog *
19  * *
20  * Date Author Version Description *
21  * *
22  * 24/10/2017 MG 1.0.1 This ChangeLog introduced. *
23  * 04/11/2017 MG 1.0.2 Add Doxygen comments. *
24  * 09/11/2017 MG 1.0.3 Add SPDX license tag. *
25  * 02/01/2018 MG 1.0.4 Move to new source directory structure. *
26  * 08/06/2019 MG 1.0.5 clang-format coding style changes. *
27  * *
28  ************************************************************************
29  */
30 
31 #ifndef MGEMEMORY_H
32 #define MGEMEMORY_H
33 
34 #include <portability.h>
35 #include <sys/types.h>
36 
38 
39 char *mg_realloc(char *mem_ptr, const size_t mem_sz);
40 
42 
43 #endif /* ndef MGEMEMORY_H */
44 
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&#39;t mangle thei...
Definition: portability.h:46