Apply clang-format for core/shared and product-mini files (#785)
Apply clang-format for core/shared and product-mini files
This commit is contained in:
@ -13,10 +13,11 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#if BH_DEBUG != 0
|
||||
void bh_assert_internal(int v, const char *file_name, int line_number,
|
||||
const char *expr_string);
|
||||
#define bh_assert(expr) bh_assert_internal((int)(uintptr_t)(expr), \
|
||||
__FILE__, __LINE__, #expr)
|
||||
void
|
||||
bh_assert_internal(int v, const char *file_name, int line_number,
|
||||
const char *expr_string);
|
||||
#define bh_assert(expr) \
|
||||
bh_assert_internal((int)(uintptr_t)(expr), __FILE__, __LINE__, #expr)
|
||||
#else
|
||||
#define bh_assert(expr) (void)0
|
||||
#endif /* end of BH_DEBUG */
|
||||
@ -26,4 +27,3 @@ void bh_assert_internal(int v, const char *file_name, int line_number,
|
||||
#endif
|
||||
|
||||
#endif /* end of _BH_ASSERT_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user