зеркало из https://github.com/mozilla/gecko-dev.git
Second phase of changing NS_ENSURE() to NS_ENSURE_TRUE() and NS_ENSURE_NOT() to NS_ENSURE_FALSE(). r=hyatt
This commit is contained in:
Родитель
338766cb42
Коммит
209f598dcb
|
@ -866,10 +866,6 @@ CallQueryInterface( nsISupports* aSource, DestinationType** aDestination )
|
|||
#define NS_ENSURE_FALSE(x, ret) \
|
||||
NS_ENSURE_TRUE(!(x), ret)
|
||||
|
||||
// Only here until I can get rid of all the callsites.
|
||||
#define NS_ENSURE(x, ret) NS_ENSURE_TRUE(x, ret)
|
||||
#define NS_ENSURE_NOT(x, ret) NS_ENSURE_FALSE(x, ret)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Macros for checking results
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -866,10 +866,6 @@ CallQueryInterface( nsISupports* aSource, DestinationType** aDestination )
|
|||
#define NS_ENSURE_FALSE(x, ret) \
|
||||
NS_ENSURE_TRUE(!(x), ret)
|
||||
|
||||
// Only here until I can get rid of all the callsites.
|
||||
#define NS_ENSURE(x, ret) NS_ENSURE_TRUE(x, ret)
|
||||
#define NS_ENSURE_NOT(x, ret) NS_ENSURE_FALSE(x, ret)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Macros for checking results
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Загрузка…
Ссылка в новой задаче