10 raw, nsCOMPtr 21 bytes
13 Raw, nsCOMPtr 64 bytes
21 void /*nsresult*/ GetNode(nsINode
** aNode
);
27 Test05_Raw::Test05_Raw() : mNode(0) {
28 // nothing else to do here
31 Test05_Raw::~Test05_Raw() { NS_IF_RELEASE(mNode
); }
34 Test05_Raw::GetNode(nsINode
** aNode
)
38 // return NS_ERROR_NULL_POINTER;
46 class Test05_nsCOMPtr
{
48 void /*nsresult*/ GetNode(nsINode
** aNode
);
51 nsCOMPtr
<nsINode
> mNode
;
55 Test05_nsCOMPtr::GetNode(nsINode
** aNode
)
59 // return NS_ERROR_NULL_POINTER;