Initial check-in of icontext work.

This commit is contained in:
Bart House
2018-11-22 13:01:58 -08:00
parent 247626dfe5
commit 455d2769e0
11 changed files with 325 additions and 5 deletions

View File

@@ -1637,4 +1637,11 @@ short ospeed;
#endif
#endif /* STRICT_REF_DEF */
/* nhassert_failed is called when an nhassert's condition is false */
void nhassert_failed(const char * exp, const char * file, int line)
{
fprintf(stderr, "NHASSERT(%s) in '%s' at line %d\n", exp, file, line);
exit(EXIT_FAILURE);
}
/*lev_main.c*/