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

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

Definition at line 56 of file macros.hpp.

#define DO_JOIN2 (   X,
 
)    X##Y

Definition at line 57 of file macros.hpp.

#define ecl_errors_LOCAL

Definition at line 38 of file macros.hpp.

#define ecl_errors_PUBLIC

Definition at line 37 of file macros.hpp.

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

Definition at line 55 of file macros.hpp.

#define STRINGIFY (   x)    #x

Definition at line 44 of file macros.hpp.

#define TOSTRING (   x)    STRINGIFY(x)

Definition at line 45 of file macros.hpp.



ecl_errors
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:09:04