mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 828300 - Remove NS_ARRAY_LENGTH. r=ehsan
This commit is contained in:
parent
e81a8f702d
commit
0114ade811
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user