Back to index

lightning-sunbird  0.9+nobinonly
Defines
nsCSSStruct.cpp File Reference
#include "nscore.h"
#include "nsCSSStruct.h"
#include "nsString.h"
#include "nsIAtom.h"
#include "nsUnicharUtils.h"
#include "nsCRT.h"
#include "nsCSSProps.h"
#include "nsUnitConversion.h"
#include "nsVoidArray.h"
#include "nsFont.h"
#include "nsStyleConsts.h"
#include "nsCOMPtr.h"
#include "nsReadableUtils.h"
#include "nsPrintfCString.h"

Go to the source code of this file.

Defines

#define CSS_IF_DELETE(ptr)   if (nsnull != ptr) { delete ptr; ptr = nsnull; }
#define CSS_IF_COPY(val, type)   if (aCopy.val) (val) = new type(*(aCopy.val));

Define Documentation

#define CSS_IF_COPY (   val,
  type 
)    if (aCopy.val) (val) = new type(*(aCopy.val));

Definition at line 102 of file nsCSSStruct.cpp.

#define CSS_IF_DELETE (   ptr)    if (nsnull != ptr) { delete ptr; ptr = nsnull; }

Definition at line 56 of file nsCSSStruct.cpp.