Bug 340275 - "Make nsTArray available to XULRunner apps". r=darin.
git-svn-id: svn://10.0.0.236/trunk@199437 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a6a6c2d238
commit
c584520d91
@ -43,6 +43,7 @@
|
||||
#endif
|
||||
#include "nsXPCOMGlue.h"
|
||||
#include "nsVoidArray.h"
|
||||
#include "nsTArray.h"
|
||||
#include "nsValueArray.h"
|
||||
#include "nsIAtom.h"
|
||||
#include "nsFixedSizeAllocator.h"
|
||||
@ -111,6 +112,15 @@ void XXXNeverCalled()
|
||||
nsTextFormatter::smprintf_free(nsnull);
|
||||
nsVoidArray();
|
||||
nsSmallVoidArray();
|
||||
{
|
||||
nsTArray<PRBool> array1(1), array2(1);
|
||||
PRBool a, b, c;
|
||||
a = b = c = PR_FALSE;
|
||||
array1.AppendElement(a);
|
||||
array2.InsertElementAt(b, 0);
|
||||
array2.InsertElementAt(c, 0);
|
||||
array1.AppendElements(array2);
|
||||
}
|
||||
nsStringHashSet();
|
||||
nsCStringHashSet();
|
||||
nsInt32HashSet();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user