Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsCOMArray.cpp File Reference
#include "nsCOMArray.h"
#include "nsCOMPtr.h"

Go to the source code of this file.

Functions

 PR_STATIC_CALLBACK (PRBool) ReleaseObjects(void *aElement
PRBool ReleaseObjects (void *aElement, void *)

Function Documentation

PRBool ReleaseObjects ( void aElement,
void  
)

Definition at line 149 of file nsCOMArray.cpp.

{
    nsISupports* element = NS_STATIC_CAST(nsISupports*, aElement);
    NS_IF_RELEASE(element);
    return PR_TRUE;
}