| 7 | using namespace DFHack::Error; |
| 8 | |
| 9 | inline std::string safe_str(const char *s) |
| 10 | { |
| 11 | return s ? s : "(NULL)"; |
| 12 | } |
| 13 | |
| 14 | NullPointer::NullPointer(const char *varname, const char *func) |
| 15 | :All("In " + safe_str(func) + ": NULL pointer: " + safe_str(varname)), |
no outgoing calls
no test coverage detected