Second phase of changing NS_ENSURE() to NS_ENSURE_TRUE() and NS_ENSURE_NOT() to NS_ENSURE_FALSE(). r=hyatt

git-svn-id: svn://10.0.0.236/trunk@52457 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net
1999-11-02 01:18:52 +00:00
parent add2edbda0
commit 0154b52329
2 changed files with 0 additions and 8 deletions

View File

@@ -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
///////////////////////////////////////////////////////////////////////////////

View File

@@ -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
///////////////////////////////////////////////////////////////////////////////