mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-09 09:41:02 +00:00
15 lines
268 B
C++
15 lines
268 B
C++
|
|
#include "assert.h"
|
||
|
|
#include "stdlib.h"
|
||
|
|
#include "stdio.h"
|
||
|
|
|
||
|
|
extern "C" {
|
||
|
|
|
||
|
|
extern void __assertion_failed(const char* msg, const char* file, unsigned line, const char* func)
|
||
|
|
{
|
||
|
|
printf("ASSERTION FAILED: %s\n%s:%u in %s\n", msg, file, line, func);
|
||
|
|
abort();
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|