if (!newItem) { *_retval = nsnull; return NS_ERROR_DOM_SVG_WRONG_TYPE_ERR; }
NS_IMETHODIMP nsSVGPathSegList::Initialize(nsIDOMSVGPathSeg *newItem, nsIDOMSVGPathSeg **_retval){  Clear();  return AppendItem(newItem, _retval);}