info/CWS autorecovery : tools/diagnose_ex: ENSURE_OR_RETURN*
[email protected] Thu, 18 Feb 2010 11:23:51 +0100 (CET)
| Newsgroups | gmane.comp.openoffice.announce.interface |
|---|---|
| Message-ID | <20315541.281266488631116.JavaMail.root@so-web5> |
------=_Part_1282_33421878.1266488631115
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Type: info
Title: tools/diagnose_ex: ENSURE_OR_RETURN*
Posted by: [email protected]
Affected: -
TaskId: i65597
<http://www.openoffice.org/issues/show_bug.cgi?id=65597>
Effective from: CWS autorecovery
CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/autorecovery>
CWS status: new
*Summary*
--------
- ENSURE_OR_RETURN( condition, message )
+ ENSURE_OR_RETURN( condition, message, retval )
+ ENSURE_OR_RETURN_FALSE( condition, message )
+ ENSURE_OR_RETURN_VOID( condition, message )
*Description*
-------------
ENSURE_OR_RETURN, defined in tools/diagnose_ex.h, used to check a
condition, and in case of failure raise an assertion, and return
"false". It has been changed to return a value supplied to the macro,
and ENSURE_OR_RETURN_[FALSE/VOID] have been introduced as shortcuts to
bail out with "false" or no return value at all.
Send feedback to [email protected]
------=_Part_1282_33421878.1266488631115
Content-Type: text/plain; charset=us-ascii
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
------=_Part_1282_33421878.1266488631115--