21 #ifndef SLUDGE_NEWFATAL_H 22 #define SLUDGE_NEWFATAL_H 24 #include "common/str.h" 25 #include "common/singleton.h" 39 void setResourceForFatal(
int n);
45 int _resourceForFatal;
48 inline bool hasFatal() {
49 return FatalMsgManager::instance().hasFatal();
53 return FatalMsgManager::instance().fatal(str);
57 FatalMsgManager::instance().setFatalInfo(userFunc, BIF);
60 inline void setResourceForFatal(
int n) {
61 FatalMsgManager::instance().setResourceForFatal(n);
64 int checkNew(
const void *mem);
Definition: newfatal.h:29
Definition: singleton.h:42