Macros
macros.hpp File Reference

Macros for error-checking and program termination. More...

#include <ecl/config/macros.hpp>
Include dependency graph for macros.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DO_JOIN(X, Y)   DO_JOIN2(X,Y)
 
#define DO_JOIN2(X, Y)   X##Y
 
#define ecl_errors_LOCAL
 
#define ecl_errors_PUBLIC
 
#define JOIN(X, Y)   DO_JOIN( X, Y )
 
#define LOC   __FILE__ ":" TOSTRING(__LINE__) " "
 Stringify the line of code you are at. More...
 
#define STRINGIFY(x)   #x
 
#define TOSTRING(x)   STRINGIFY(x)
 

Detailed Description

Macros for error-checking and program termination.

Macros for error-checking and program termination.

Date
April 2013.

Definition in file macros.hpp.

Macro Definition Documentation

◆ DO_JOIN

#define DO_JOIN (   X,
 
)    DO_JOIN2(X,Y)

Definition at line 56 of file macros.hpp.

◆ DO_JOIN2

#define DO_JOIN2 (   X,
 
)    X##Y

Definition at line 57 of file macros.hpp.

◆ ecl_errors_LOCAL

#define ecl_errors_LOCAL

Definition at line 38 of file macros.hpp.

◆ ecl_errors_PUBLIC

#define ecl_errors_PUBLIC

Definition at line 37 of file macros.hpp.

◆ JOIN

#define JOIN (   X,
 
)    DO_JOIN( X, Y )

Definition at line 55 of file macros.hpp.

◆ STRINGIFY

#define STRINGIFY (   x)    #x

Definition at line 44 of file macros.hpp.

◆ TOSTRING

#define TOSTRING (   x)    STRINGIFY(x)

Definition at line 45 of file macros.hpp.



ecl_errors
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:13:55