<p>Kevin Harwell <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14628">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved; Approved for Submit
Benjamin Keith Ford: Looks good to me, but someone else must approve
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Scope Trace: Update stub defines<br><br>Reminder: 13 doesn't support scope tracing but we're keeping<br>the stub defines consistent across branches.<br><br>Change-Id: If00733a4d5a4e829cbb4c934bcc2f4c1a80dab81<br>---<br>M include/asterisk/logger.h<br>1 file changed, 10 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h</span><br><span>index 9562af4..f3cefd3 100644</span><br><span>--- a/include/asterisk/logger.h</span><br><span>+++ b/include/asterisk/logger.h</span><br><span>@@ -592,6 +592,8 @@</span><br><span> AST_TRACE_INDENT_DEC_BEFORE,</span><br><span> /*! Decrement the indent after printing the message */</span><br><span> AST_TRACE_INDENT_DEC_AFTER,</span><br><span style="color: hsl(120, 100%, 40%);">+ /*! Set the indent to the one provided */</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_TRACE_INDENT_PROVIDED,</span><br><span> /*! Don't use or alter the level */</span><br><span> AST_TRACE_INDENT_NONE,</span><br><span> };</span><br><span>@@ -603,12 +605,17 @@</span><br><span> #if 1</span><br><span> #define ast_trace_raw(__level, __indent_type, ...)</span><br><span> #define ast_trace(__level, ...)</span><br><span style="color: hsl(120, 100%, 40%);">+#define ast_trace_get_indent() (0)</span><br><span style="color: hsl(120, 100%, 40%);">+#define ast_trace_set_indent(indent)</span><br><span style="color: hsl(120, 100%, 40%);">+#define ast_trace_inc_indent()</span><br><span style="color: hsl(120, 100%, 40%);">+#define ast_trace_dec_indent()</span><br><span> #define SCOPE_TRACE(__level, ...)</span><br><span> #define SCOPE_ENTER(level, ...)</span><br><span style="color: hsl(120, 100%, 40%);">+#define SCOPE_ENTER_TASK(level, indent, ...)</span><br><span> #define SCOPE_EXIT(...)</span><br><span style="color: hsl(0, 100%, 40%);">-#define SCOPE_EXIT_EXPR(__expr, ...)</span><br><span style="color: hsl(0, 100%, 40%);">-#define SCOPE_EXIT_RTN(...)</span><br><span style="color: hsl(0, 100%, 40%);">-#define SCOPE_EXIT_RTN_VALUE(__return_value, ...)</span><br><span style="color: hsl(120, 100%, 40%);">+#define SCOPE_EXIT_EXPR(__expr, ...) __expr</span><br><span style="color: hsl(120, 100%, 40%);">+#define SCOPE_EXIT_RTN(...) return</span><br><span style="color: hsl(120, 100%, 40%);">+#define SCOPE_EXIT_RTN_VALUE(__return_value, ...) return __return_value</span><br><span> #endif</span><br><span> </span><br><span> #if defined(__cplusplus) || defined(c_plusplus)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14628">change 14628</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/14628"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: If00733a4d5a4e829cbb4c934bcc2f4c1a80dab81 </div>
<div style="display:none"> Gerrit-Change-Number: 14628 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>