Added nhassert to core.

This commit is contained in:
Bart House
2019-07-11 22:01:39 -07:00
parent 45a9c5eb14
commit 0ca299acb3
7 changed files with 19 additions and 27 deletions

View File

@@ -582,4 +582,10 @@ VA_DECL(const char *, str)
#endif
}
/* nhassert_failed is called when an nhassert's condition is false */
void nhassert_failed(const char * exp, const char * file, int line)
{
impossible("NHASSERT(%s) in '%s' at line %d", exp, file, line);
}
/*pline.c*/