Changeset 19034 for trunk/psLib/src/sys/psError.h
- Timestamp:
- Aug 12, 2008, 12:53:34 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psError.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psError.h
r14452 r19034 12 12 * @author Joshua Hoblitt, University of Hawaii 13 13 * 14 * @version $Revision: 1.3 6$ $Name: not supported by cvs2svn $15 * @date $Date: 200 7-08-09 01:40:07$14 * @version $Revision: 1.37 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2008-08-12 22:53:34 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 138 138 ... ///< any parameters required in format 139 139 ); 140 psErrorCode psErrorV( 141 psErrorCode code, ///< Error class code 142 bool new, ///< true if error originates at this location 143 const char* format, ///< printf-style format of header line 144 va_list ap ///< any parameters required in format 145 ); 140 146 #else // ifdef DOXYGEN 141 147 psErrorCode p_psError( … … 148 154 ... ///< any parameters required in format 149 155 ) PS_ATTR_FORMAT(printf, 6, 7); 156 psErrorCode p_psErrorV( 157 const char* filename, ///< file name 158 unsigned int lineno, ///< line number in file 159 const char* func, ///< function name 160 psErrorCode code, ///< Error class code 161 bool new, ///< true if error originates at this location 162 const char* format, ///< printf-style format of header line 163 va_list ap ///< any parameters required in format 164 ); 150 165 #ifndef SWIG 151 #define psError(code,new,...) \152 p_psError(__FILE__,__LINE__,__func__,code,new,__VA_ARGS__)166 #define psError(code,new,...) p_psError(__FILE__,__LINE__,__func__,code,new,__VA_ARGS__) 167 #define psErrorV(code,new,format,ap) p_psErrorV(__FILE__,__LINE__,__func__,code,new,format,ap) 153 168 #endif // ifndef SWIG 154 169 #endif // ifdef DOXYGEN
Note:
See TracChangeset
for help on using the changeset viewer.
