bond/include/kernel/ke/assert.h

11 lines
242 B
C
Raw Normal View History

2018-03-24 00:58:24 +00:00
#ifndef KERNEL_KE_ASSERT_H
#define KERNEL_KE_ASSERT_H
2016-08-28 00:20:38 +00:00
2018-01-25 09:53:35 +00:00
#include "type.h"
2016-08-28 00:20:38 +00:00
2018-03-24 00:58:24 +00:00
void SXAPI ke_assert_ex(const char *expr_str, const char *file, int32 line, int32 expr);
2016-08-28 00:20:38 +00:00
2016-08-28 09:14:22 +00:00
#define ke_assert(expr) ke_assert_ex(#expr, __FILE__, __LINE__, expr)
2016-08-28 00:20:38 +00:00
2018-03-24 00:58:24 +00:00
#endif