mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
logger.h: Include SCOPE_CALL_WITH_INT_RESULT() in non-dev-mode builds.
Fixes #785
This commit is contained in:
committed by
Asterisk Development Team
parent
c71fbca918
commit
4ec1be6530
@@ -1026,6 +1026,9 @@ unsigned long _ast_trace_dec_indent(void);
|
||||
#define SCOPE_CALL_WITH_RESULT(level, __var, __funcname, ...) \
|
||||
__var = __funcname(__VA_ARGS__)
|
||||
|
||||
#define SCOPE_CALL_WITH_INT_RESULT(level, __funcname, ...) \
|
||||
__funcname(__VA_ARGS__)
|
||||
|
||||
#define SCOPE_EXIT(...) \
|
||||
ast_debug(__scope_level, " " __VA_ARGS__)
|
||||
|
||||
|
Reference in New Issue
Block a user