src/main.h

changeset 669
aa23fe223182
parent 627
5c0147e9f3a3
child 628
6b13e4c2e97b
equal deleted inserted replaced
668:6a05c4969074 669:aa23fe223182
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

mercurial