nsVoidArray::Impl Struct Reference

#include <nsVoidArray.h>

Inheritance diagram for nsVoidArray::Impl:

Inheritance graph
[legend]
Collaboration diagram for nsVoidArray::Impl:

Collaboration graph
[legend]

List of all members.

Public Attributes

PRUint32 mBits
 Packed bits.
PRInt32 mCount
 The number of elements in the array.
void * mArray [1]
 Array data, padded out to the actual size of the array.


Member Data Documentation

The low 30 bits are the array's size. The two highest bits indicate whether or not we "own" mImpl and must free() it when destroyed, and whether we have a preallocated nsAutoVoidArray buffer.


The documentation for this struct was generated from the following file:

Generated Mozilla by doxygen 1.5.6