diff options
author | George Joseph <gjoseph@digium.com> | 2018-04-13 14:17:36 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2018-04-17 11:03:47 -0600 |
commit | f7e7ce6ba248573b2a56625ad7dc4ae71d722430 (patch) | |
tree | bddefb4caa3bad3a5bd4135d7d5f5d21da460d79 /UPGRADE-15.txt | |
parent | 38dae51b788cd7f9f69c88573d6ce769c80f07f0 (diff) |
utils: Add ast_assert_return
Similar to pjproject's PJ_ASSERT_RETURN macro, this one will do the
following...
If the assert passes... NoOp
If the assert fails and AST_DEVMODE is defined, execute ast_assert()
then, if DO_CRASH isn't set, return from the calling function with
the supplied value.
If the assert fails and AST_DEVMODE is not defined, return from the
calling function with the supplied value.
The macro will execute a return without a value if one isn't suppled.
Change-Id: I0003844affeab550d5ff5bca7aa7cf8a559b873e
Diffstat (limited to 'UPGRADE-15.txt')
0 files changed, 0 insertions, 0 deletions