bond/kernel/ke/assert.c
2018-01-31 14:10:24 -05:00

11 lines
273 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);
}
}