Bug 251277 add a Clear() function to remove all elements from an nsValueArray

r=bsmedberg sr=dougt
This commit is contained in:
cbiesinger%web.de 2004-07-21 12:30:52 +00:00
parent 7f707d30dd
commit f59c8b4564

View File

@ -83,6 +83,11 @@ class NS_COM nsValueArray {
void Compact();
// Removes all elements from this array
inline void Clear() {
mCount = 0;
}
//
// Array access.
//