inline nsresult NS_NewURI(nsIURI **result, const char *spec, nsIURI *baseURI = nsnull)
NS_NewURI(nsIURI* *result, const nsAString& spec, const char *charset = nsnull, nsIURI* baseURI = nsnull, nsIIOService* ioService = nsnull)
inline nsresult NS_NewURI(nsIURI **result,                           const char *spec,                          nsIURI *baseURI = nsnull){    return NS_NewURI(result, nsDependentCString(spec), nsnull, baseURI);}