bond/include/kernel/ke/assert.h

10 lines
249 B
C
Raw Normal View History

2018-01-26 08:43:22 +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-02-18 07:48:59 +00:00
void SXAPI ke_assert_ex(const char *expr_str, const char *file, int32_t line, int32_t 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
#endif