Changeset 865
- Timestamp:
- 03/15/10 18:31:30 (15 years ago)
- Location:
- library
- Files:
-
- 1 removed
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/bdmroot.h
r863 r865 76 76 77 77 // MUZEME INTERNE POUZIVAT ENUMY, A KLIDNE MENIT JEJICH PORADI, DIKY TOMUHLE MAKRU SE VZDY NAMAPUJI NA TY SPRAVNE STRINGY 78 #define LOG_LEVEL(CLASSNAME,...) private: friend class logged_options<CLASSNAME>; static const Array<string> & __option_names() { static const Array<string> option_names( "{"#__VA_ARGS__" }" ); return option_names; }; public: enum possible_options { __VA_ARGS__ }; logged_options<CLASSNAME> log_level;78 #define LOG_LEVEL(CLASSNAME,...) private: friend class logged_options<CLASSNAME>; static const Array<string> &option_names() { static const Array<string> option_names( "{"#__VA_ARGS__" }" ); return option_names; }; public: enum possible_options { __VA_ARGS__ }; logged_options<CLASSNAME> log_level; 79 79 80 80 //forward declaration -
library/tests/testsuite/testsuite.cpp
r722 r865 12 12 if ( argc > 1 ) { 13 13 if ( !strcmp ( argv[1], "print" ) ) 14 { 14 15 print_test_list(); 16 return 0; 17 } 15 18 else 16 19 pick_selected_tests ( argc, argv );