return manager->QueryInterface(kIScriptNameSpaceManagerIID, (void **)aInstancePtr);
return manager->QueryInterface(NS_GET_IID(nsIScriptNameSpaceManager), (void **)aInstancePtr);
NS_NewScriptNameSpaceManager(nsIScriptNameSpaceManager** aInstancePtr){  if (nsnull == aInstancePtr) {      return NS_ERROR_NULL_POINTER;    }    *aInstancePtr = NULL;      nsScriptNameSpaceManager *manager = new nsScriptNameSpaceManager();  if (nsnull == manager) {    return NS_ERROR_OUT_OF_MEMORY;  }  return manager->QueryInterface(kIScriptNameSpaceManagerIID, (void **)aInstancePtr);}