2016-08-28 00:20:38 +00:00
|
|
|
#ifndef _K_ASSERT_H_
|
|
|
|
#define _K_ASSERT_H_
|
|
|
|
|
|
|
|
#include "g_type.h"
|
2016-08-28 09:14:22 +00:00
|
|
|
#include "g_abi.h"
|
2016-08-28 00:20:38 +00:00
|
|
|
|
2016-08-28 09:14:22 +00:00
|
|
|
void KAPI 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
|