On 1/6/2014 7:43 PM, smaug wrote:
Why this deprecation?
Karl is right, we are removing the macros that hide control flow (as
well as warnings, in this case).
I'm considering the NS_WARN_IF_FAILED(rv) proposal. It's obviously a
less typing then NS_WARN_IF(NS_FAILED(rv)), but I'm not convinced that
it's clear just by reading it what the return type would be, especially
since the signature of NS_WARN_IF returns the same value that is passed in:
bool NS_WARN_IF(bool);
I'm trying to figure out if people would expect the result of
NS_WARN_IF_FAILED to be an nsresult or a bool.
--BDS
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform