Files
privacore-open-source-searc…/Sanity.h
Ivan Skytte Jørgensen cfebc604a6 flexelint support in #else
2016-08-28 13:25:45 +02:00

23 lines
506 B
C

#ifndef GB_SANITY_H
#define GB_SANITY_H
// Ugly - but so is lots of code in .h files
#ifndef __lint /*flexelint cannot handle c++11 yet*/
[[ noreturn ]] void gbshutdownAbort( bool save_on_abort );
[[ noreturn ]] void gbshutdownResourceError();
[[ noreturn ]] void gbshutdownLogicError();
[[ noreturn ]] void gbshutdownCorrupted();
#else
void gbshutdownAbort( bool save_on_abort );
void gbshutdownResourceError();
void gbshutdownLogicError();
void gbshutdownCorrupted();
#endif
#endif // GB_SANITY_H