2000-05-28 13:40:48 +00:00
|
|
|
/*
|
2014-06-30 05:10:35 -04:00
|
|
|
** _afailed.c
|
|
|
|
**
|
2015-03-13 07:35:47 -04:00
|
|
|
** 1998-06-06, Ullrich von Bassewitz
|
|
|
|
** 2015-03-13, Greg King
|
2014-06-30 05:10:35 -04:00
|
|
|
*/
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-13 07:35:47 -04:00
|
|
|
void __fastcall__ _afailed (char* file, unsigned line)
|
2000-05-28 13:40:48 +00:00
|
|
|
{
|
|
|
|
fprintf (stderr, "ASSERTION FAILED IN %s(%u)\n", file, line);
|
|
|
|
exit (2);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|