bond/x64/src/kernel/ke/assert.c

10 lines
235 B
C
Raw Normal View History

2017-02-01 03:26:08 +00:00
#include "assert.h"
#include "print.h"
2016-08-28 09:14:22 +00:00
void ke_assert_ex(const char* expr_str, const char* file, int32_t line, int32_t expr)
{
if(!expr)
{
ke_printf("Assertion \"%s\" failed at %s:%d.\n", expr_str, file, line);
}
}