зеркало из https://github.com/mozilla/pjs.git
Bug 340275 - "Make nsTArray available to XULRunner apps". r=darin.
This commit is contained in:
Родитель
1624009b0a
Коммит
e835e5f0dc
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче