MGE General C Library - Full Internal Documentation v1.8.4
Library of general C functions.
Loading...
Searching...
No Matches
libmgec.h File Reference

Header file for the libmgec shared library. More...

Include dependency graph for libmgec.h:
This graph shows which files directly or indirectly include this file:

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.
 

Functions

 __attribute__ ((const)) const char *libmgec_get_pkg_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.
 

Detailed Description

Header file for the libmgec shared library.

Author
Copyright (C) 2015-2019, 2021-2023 Mark Grant

Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only

Version
v1.1.1 ==== 24/11/2023

Macro Definition Documentation

◆ ARRAY_SIZE

#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.

Function Documentation

◆ __attribute__()

__attribute__ ( (const)  ) const

Get the source version.

Returns
The source version string.

Get the source version.

Returns
The package version string.
The source version string.

◆ libmgec_print_pkg_version()

void libmgec_print_pkg_version ( void  )

Print the package version string to stdout.

◆ libmgec_print_src_version()

void libmgec_print_src_version ( void  )

Print the source version string to stdout.