bond/kernel/ke/assert.c
2018-03-23 20:58:24 -04:00

12 lines
256 B
C

#include "type.h"
#include "kernel/ke/assert.h"
#include "kernel/ke/print.h"
void ke_assert_ex(const char *expr_str, const char *file, int32 line, int32 expr)
{
if (!expr)
{
ke_printf("Assertion \"%s\" failed at %s:%d.\n", expr_str, file, line);
}
}