Back to index

lightning-sunbird  0.9+nobinonly
Classes | Typedefs
nsVoidArray.h File Reference
#include "nscore.h"
#include "nsAString.h"

Go to the source code of this file.

Classes

protocol  NS_COM
 A string set that takes up minimal size when there are 0 or 1 strings in the set. More...
struct  NS_COM::Impl
protocol  NS_COM
 A string set that takes up minimal size when there are 0 or 1 strings in the set. More...
protocol  NS_COM
 A string set that takes up minimal size when there are 0 or 1 strings in the set. More...
protocol  NS_COM
 A string set that takes up minimal size when there are 0 or 1 strings in the set. More...
protocol  NS_COM
 A string set that takes up minimal size when there are 0 or 1 strings in the set. More...

Typedefs

typedef int(* PR_CALLBACK )(const void *aElement1, const void *aElement2, void *aData)
typedef PRBool(* nsStringArrayEnumFunc )(nsString &aElement, void *aData)
typedef PRBool(* nsCStringArrayEnumFunc )(nsCString &aElement, void *aData)

Class Documentation

struct NS_COM::Impl

Definition at line 134 of file nsVoidArray.h.

Class Members
void * mArray Array data, padded out to the actual size of the array.
PRUint32 mBits Packed bits. The low 31 bits are the array's size. The highest bit is a flag that indicates whether or not we "own" mArray, and must free() it when destroyed.
PRInt32 mCount The number of elements in the array.

Typedef Documentation

Definition at line 254 of file nsVoidArray.h.

typedef PRBool(* nsStringArrayEnumFunc)(nsString &aElement, void *aData)

Definition at line 200 of file nsVoidArray.h.

typedef int(* PR_CALLBACK)(const nsCString *aElement1, const nsCString *aElement2, void *aData)

Definition at line 47 of file nsVoidArray.h.