Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsXTFInterfaceAggregator.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nsresult NS_NewXTFInterfaceAggregator (const nsIID &iid, nsISupports *inner, nsISupports *outer, void **result)

Function Documentation

nsresult NS_NewXTFInterfaceAggregator ( const nsIID iid,
nsISupports *  inner,
nsISupports *  outer,
void **  result 
)

Definition at line 106 of file nsXTFInterfaceAggregator.cpp.

                                            {
  NS_PRECONDITION(aResult != nsnull, "null ptr");
  if (!aResult)
    return NS_ERROR_NULL_POINTER;

  nsXTFInterfaceAggregator* result = new nsXTFInterfaceAggregator(iid,inner,outer);
  if (!result)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(result);
  *aResult = result;
  return NS_OK;
}

Here is the call graph for this function: