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

10 lines
248 B
C

#ifndef _KERNEL_KE_ASSERT_H_
#define _KERNEL_KE_ASSERT_H_
#include "type.h"
void KABI ke_assert_ex(const char* expr_str, const char* file, int32_t line, int32_t expr);
#define ke_assert(expr) ke_assert_ex(#expr, __FILE__, __LINE__, expr)
#endif