Bug 828300 - Remove NS_ARRAY_LENGTH. r=ehsan

This commit is contained in:
Birunthan Mohanathas 2014-01-30 13:26:54 -05:00
parent e81a8f702d
commit 0114ade811

View File

@ -116,14 +116,6 @@ public:
#define NS_FREE_XPCOM_ISUPPORTS_POINTER_ARRAY(size, array) \
NS_FREE_XPCOM_POINTER_ARRAY((size), (array), NS_IF_RELEASE)
/**
* Helpful array length function for calculating the length of a
* statically declared array.
*/
#define NS_ARRAY_LENGTH(array_) \
(sizeof(array_)/sizeof(array_[0]))
/**
* A macro, NS_ALIGNMENT_OF(t_) that determines the alignment
* requirements of a type.