MGE General C Library - API Documentation
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
37
BEGIN_C_DECLS
38
39
char
*
mg_realloc
(
char
*mem_ptr,
const
size_t
mem_sz);
40
41
END_C_DECLS
42
43
#endif
/* ndef MGEMEMORY_H */
44
portability.h
BEGIN_C_DECLS
#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
END_C_DECLS
#define END_C_DECLS
Use END_C_DECLS at the end of C declarations.
Definition:
portability.h:50
mg_realloc
BEGIN_C_DECLS char * mg_realloc(char *mem_ptr, const size_t mem_sz)
Wrap realloc to include error handling.
Definition:
memory.c:52
src
prg
c
inc
mgememory.h
Generated by
1.8.17