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 |
|
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 |
86 // Replace assert with a version that shows a GUI dialog if possible. |
92 // Replace assert with a version that shows a GUI dialog if possible. |
87 // On Windows I just can't get the actual error messages otherwise. |
93 // On Windows I just can't get the actual error messages otherwise. |
88 void assertionFailure (const char* file, int line, const char* funcname, const char* expr); |
94 void assertionFailure (const char* file, int line, const char* funcname, const char* expr); |
89 |
95 |
90 #undef assert |
96 #undef assert |