Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsSVGAnimatedNumberList.h File Reference
#include "nsIDOMSVGAnimatedNumberList.h"
#include "nsIDOMSVGNumberList.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nsresult NS_NewSVGAnimatedNumberList (nsIDOMSVGAnimatedNumberList **result, nsIDOMSVGNumberList *baseVal)

Function Documentation

Definition at line 192 of file nsSVGAnimatedNumberList.cpp.

{
  *result = nsnull;
  
  nsSVGAnimatedNumberList* animatedNumberList = new nsSVGAnimatedNumberList();
  if (!animatedNumberList) return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(animatedNumberList);

  if (NS_FAILED(animatedNumberList->Init(aBaseVal))) {
    NS_RELEASE(animatedNumberList);
    return NS_ERROR_FAILURE;
  }
  
  *result = (nsIDOMSVGAnimatedNumberList*) animatedNumberList;
  
  return NS_OK;
}

Here is the call graph for this function: