Initial check in of icontext work.

This commit is contained in:
Bart House
2018-11-22 22:17:03 -08:00
parent 02749b7621
commit 8111624d0e
15 changed files with 110 additions and 77 deletions
+7
View File
@@ -360,3 +360,10 @@ pixel (*pixels)[TILE_X];
}
}
}
/* 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);
}