81 # else |
81 # else |
82 # define dlog(...) |
82 # define dlog(...) |
83 # endif // DEBUG |
83 # endif // DEBUG |
84 #endif // IN_IDE_PARSER |
84 #endif // IN_IDE_PARSER |
85 |
85 |
86 #ifndef IN_IDE_PARSER |
86 #define dvalof(A) dlog ("value of '%1' = %2\n", #A, A) |
87 void dvalof (void a); // #define dvalof(A) dlog ("value of '%1' = %2\n", #A, A) |
|
88 #else |
|
89 # define dvalof(A) dlog ("value of '%1' = %2\n", #A, A) |
|
90 #endif |
|
91 |
87 |
92 // Replace assert with a version that shows a GUI dialog if possible. |
88 // Replace assert with a version that shows a GUI dialog if possible. |
93 // On Windows I just can't get the actual error messages otherwise. |
89 // On Windows I just can't get the actual error messages otherwise. |
94 void assertionFailure (const char* file, int line, const char* funcname, const char* expr); |
90 void assertionFailure (const char* file, int line, const char* funcname, const char* expr); |
95 |
91 |