MGE General C Library - API Documentation  v1.4.1
Library of general C functions.
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 Mark Grant

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

Version
v1.0.6 ==== 08/06/2019

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.