Changeset 12480
- Timestamp:
- 06/20/12 14:47:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/include/macros.h
r12365 r12480 6 6 #ifndef _MACROS_H_ 7 7 #define _MACROS_H_ 8 9 #include <sstream> 8 10 9 11 #include "./typedefs.h" … … 29 31 throw ErrorException(__FILE__,__func__,__LINE__,exprintf(__VA_ARGS__)) 30 32 #endif 33 /*}}}*/ 34 /* _error2_ {{{*/ 35 /*new Error exception macro*/ 36 #define _error2_(StreamArgs)\ 37 {std::ostringstream aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy; \ 38 aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy << StreamArgs << std::ends; \ 39 throw ErrorException(__FILE__,__func__,__LINE__,aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy.str());} 31 40 /*}}}*/ 32 41 /* _assert_ {{{*/
Note:
See TracChangeset
for help on using the changeset viewer.