bond/kernel/ke/assert.c
2018-02-17 23:06:57 -05:00

11 lines
259 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_t line, int32_t expr)
{
if (!expr)
{
ke_printf("Assertion \"%s\" failed at %s:%d.\n", expr_str, file, line);
}
}