robrix/RXAssertions — Issue #2: Return boolean values from assertions
Author: robrix
Created: 2011-12-09 10:07:39+00:00
State: open

This would let you do this:

if(RXAssert(YES)) {
// do some assertions or other work that are dependent on the previous assertion
}

This will require the macros to be reformatted, whether as functions (to what degree that is even possible), [compound statement expressions](http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html), or blocks (which drops support for older platforms).

We could define the macros conditionally in the latter case, which would let newer platforms have this feature but not drop support for older platforms.