print a message on assert failure
This commit is contained in:
parent
adb38a1a8a
commit
5ace6fce2a
@ -1,4 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
void __assert_func(const char * file, int line, const char * func, const char * failedexpr) {
|
||||
fprintf(stderr, "Assertion failed in %s:%d (%s): %s\n", file, line, func, failedexpr);
|
||||
// void
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user