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:
@ -5,8 +5,9 @@
|
||||
|
||||
#include "bh_assert.h"
|
||||
|
||||
void bh_assert_internal(int v, const char *file_name, int line_number,
|
||||
const char *expr_string)
|
||||
void
|
||||
bh_assert_internal(int v, const char *file_name, int line_number,
|
||||
const char *expr_string)
|
||||
{
|
||||
if (v)
|
||||
return;
|
||||
@ -17,9 +18,8 @@ void bh_assert_internal(int v, const char *file_name, int line_number,
|
||||
if (!expr_string)
|
||||
expr_string = "NULL EXPR_STRING";
|
||||
|
||||
os_printf("\nASSERTION FAILED: %s, at file %s, line %d\n",
|
||||
expr_string, file_name, line_number);
|
||||
os_printf("\nASSERTION FAILED: %s, at file %s, line %d\n", expr_string,
|
||||
file_name, line_number);
|
||||
|
||||
abort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user