Changeset 19 in cheroxy for trunk/include/CRXException.h
- Timestamp:
- 11/08/12 17:12:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/CRXException.h
r18 r19 6 6 7 7 #include <string> 8 #include <stdarg.h> 8 9 9 10 #ifdef _WIN32 … … 11 12 #endif 12 13 13 #define CRX_ERROR(__CODE,__FMT,...) \ 14 do { \ 15 SetErrorCode (__CODE); \ 16 SetErrorMessage (__FILE__,__func__,__LINE__,__FMT,__VA_ARGS__); \ 14 #define CRX_ERROR(__CODE,__FMT,...) \ 15 do { \ 16 SetErrorCode (__CODE); \ 17 SetErrorMessage (__FILE__,__func__,__LINE__,__FMT,##__VA_ARGS__); \ 18 } while (0) 19 20 #define CRX_ERROR_ADD(__MESSAGE) \ 21 do { \ 22 AddMessage (__MESSAGE); \ 17 23 } while (0) 18 24 … … 47 53 const char * aFormat, 48 54 va_list aVaList); 55 56 void AddMessage (const char * aMessage); 49 57 }; 50 58
Note:
See TracChangeset
for help on using the changeset viewer.