mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 09:46:22 +00:00
Merge "astobj2: Add backtrace to log_bad_ao2." into 13
This commit is contained in:
@@ -849,8 +849,10 @@ int ast_parse_digest(const char *digest, struct ast_http_digest *d, int request,
|
||||
#define DO_CRASH_NORETURN
|
||||
#endif
|
||||
|
||||
void DO_CRASH_NORETURN __ast_assert_failed(int condition, const char *condition_str,
|
||||
const char *file, int line, const char *function);
|
||||
|
||||
#ifdef AST_DEVMODE
|
||||
void DO_CRASH_NORETURN __ast_assert_failed(int condition, const char *condition_str, const char *file, int line, const char *function);
|
||||
#define ast_assert(a) _ast_assert(a, # a, __FILE__, __LINE__, __PRETTY_FUNCTION__)
|
||||
static void force_inline _ast_assert(int condition, const char *condition_str, const char *file, int line, const char *function)
|
||||
{
|
||||
|
Reference in New Issue
Block a user