MGE General C Library - Full Internal Documentation v1.8.4
Library of general C functions.
mge-portability.h File Reference

Header file to ease portability. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BEGIN_C_DECLS
 BEGIN_C_DECLS should be used at the beginning of declarations so that C++ compilers don't mangle their names. More...
 
#define END_C_DECLS
 Use END_C_DECLS at the end of C declarations. More...
 
#define PARAMS(protos)   ()
 PARAMS is a macro used to wrap function prototypes so that:- compilers that don't understand ANSI C prototypes still work, and, ANSI C compilers can issue warnings about type mismatches. More...
 

Detailed Description

Header file to ease portability.

Includes suggestions from the GNU Libtools documentation.

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

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

Version
v1.1.0 ==== 02/11/2023

Macro Definition Documentation

◆ 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 their names.

◆ END_C_DECLS

#define END_C_DECLS

Use END_C_DECLS at the end of C declarations.

◆ PARAMS

#define PARAMS (   protos)    ()

PARAMS is a macro used to wrap function prototypes so that:- compilers that don't understand ANSI C prototypes still work, and, ANSI C compilers can issue warnings about type mismatches.