72#ifndef __RKHASSERT_H__
73#define __RKHASSERT_H__
85#if RKH_CFG_FWK_ASSERT_EN == RKH_ENABLED
129 #define RKH_ASSERT(exp) \
135 rkh_assert(m_name, __LINE__); \
151 #define RKH_ALLEGE(exp) RKH_ASSERT(exp)
163 #define RKH_ERROR() rkh_assert(m_name, __LINE__)
166 #define RKH_ASSERT(exp) ((void)0)
167 #define RKH_ALLEGE(exp) ((void)(exp))
168 #define RKH_ERROR() ((void)0)
180#define RKH_REQUIRE(exp) RKH_ASSERT(exp)
191#define RKH_ENSURE(exp) RKH_ASSERT(exp)
202#define RKH_INVARIANT(exp) RKH_ASSERT(exp)
208#if RKH_CFG_FWK_ASSERT_EN == RKH_ENABLED
263void rkh_assert(
const char *
const file,
int line);
Specifies the macros to identify file modules.