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

Defines

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


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

Definition at line 38 of file macros.hpp.

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 Thu Jun 16 2016 09:47:14