*/
#define BT_ASSERT_COND_MSG(_fmt, ...) \
do { \
- bt_lib_log(_BT_LOG_SRCLOC_FUNCTION, __FILE__, \
+ bt_lib_log(__FILE__, __func__, \
__LINE__, BT_LOG_FATAL, BT_LOG_TAG, \
(_fmt), ##__VA_ARGS__); \
} while (0)
*
* 4. Aborts.
*/
-BT_HIDDEN
__attribute__((noreturn))
void bt_lib_assert_cond_failed(const char *cond_type, const char *func,
const char *id_suffix, const char *fmt, ...);