MGE General C Library - API Documentation  v1.8.4
Library of general C functions.
libmgec.h
Go to the documentation of this file.
1 
14 #ifndef LIBMGEC_H
15 #define LIBMGEC_H
16 
18 
20 
25 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
26 
27 __attribute__((const)) const char *libmgec_get_pkg_version(void);
28 
29 __attribute__((const)) const char *libmgec_get_src_version(void);
30 
31 void libmgec_print_pkg_version(void);
32 
33 void libmgec_print_src_version(void);
34 
36 
37 #endif /* ndef LIBMGEC_H */
void libmgec_print_pkg_version(void)
Print the package version string to stdout.
Definition: version.c:42
Header file to ease portability.
void libmgec_print_src_version(void)
Print the source version string to stdout.
Definition: version.c:50
#define END_C_DECLS
Use END_C_DECLS at the end of C declarations.
Definition: mge-portability.h:34
#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
__attribute__((const)) const char *libmgec_get_pkg_version(void)
Get the source version.
Definition: version.c:34