146 // On Windows I just can't get the actual error messages otherwise. |
146 // On Windows I just can't get the actual error messages otherwise. |
147 #ifdef assert |
147 #ifdef assert |
148 #undef assert |
148 #undef assert |
149 #endif // assert |
149 #endif // assert |
150 |
150 |
151 void assertionFailure (const char* file, const ulong line, const char* funcname, const char* expr); |
151 void assertionFailure (const char* file, int line, const char* funcname, const char* expr); |
152 #define assert(N) ((N) ? (void) 0 : assertionFailure (__FILE__, __LINE__, FUNCNAME, #N)) |
152 #define assert(N) ((N) ? (void) 0 : assertionFailure (__FILE__, __LINE__, FUNCNAME, #N)) |
153 |
153 |
154 // Version string identifier |
154 // Version string identifier |
155 QString versionString(); |
155 QString versionString(); |
156 QString versionMoniker(); |
156 QString versionMoniker(); |