MGE General C Library - Full Internal Documentation
v1.6.8
Library of general C functions.
|
Header file for the libmgec shared library. More...
#include <portability.h>
Go to the source code of this file.
Macros | |
#define | ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) |
A simple macro to standardise on the preferred method of determining the size of an array. More... | |
Functions | |
char * | libmgec_get_pkg_version (void) |
Get the git-describe based package version. More... | |
char * | libmgec_get_src_version (void) |
Get the source version. More... | |
void | libmgec_print_pkg_version (void) |
Print the package version string to stdout. More... | |
void | libmgec_print_src_version (void) |
Print the source version string to stdout. More... | |
Header file for the libmgec shared library.
Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only
#define ARRAY_SIZE | ( | x | ) | (sizeof(x) / sizeof((x)[0])) |
A simple macro to standardise on the preferred method of determining the size of an array.
char* libmgec_get_pkg_version | ( | void | ) |
Get the git-describe based package version.
char* libmgec_get_src_version | ( | void | ) |
Get the source version.
void libmgec_print_pkg_version | ( | void | ) |
Print the package version string to stdout.
void libmgec_print_src_version | ( | void | ) |
Print the source version string to stdout.