[Asterisk-code-review] utils: Add ast assert else (asterisk[15])
George Joseph
asteriskteam at digium.com
Fri Apr 13 15:43:23 CDT 2018
Hello Jenkins2,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/8779
to look at the new patch set (#2).
Change subject: utils: Add ast_assert_else
......................................................................
utils: Add ast_assert_else
Similar to pjproject's PJ_ASSERT_ macros, this one will do the
following...
If the assert passes... NoOp
If the assert fails and AST_DEVMODE is defined, execute ast_assert().
If the assert fails and AST_DEVMODE is not defined, execute the
supplied statement.
Change-Id: I0003844affeab550d5ff5bca7aa7cf8a559b873e
---
M include/asterisk/utils.h
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/79/8779/2
--
To view, visit https://gerrit.asterisk.org/8779
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0003844affeab550d5ff5bca7aa7cf8a559b873e
Gerrit-Change-Number: 8779
Gerrit-PatchSet: 2
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180413/487c0259/attachment-0001.html>
More information about the asterisk-code-review
mailing list