NS_NewArray(nsIArray** aResult)
NS_NewArray(nsIMutableArray** aResult, const nsCOMArray_base& aBaseArray)
NS_NewArray(nsIArray** aResult){    nsArray* arr = new nsArray;    if (!arr) return NS_ERROR_OUT_OF_MEMORY;    *aResult = NS_STATIC_CAST(nsIArray*,arr);    NS_ADDREF(*aResult);        return NS_OK;}