Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsAutoGCRoot Class Reference

#include <nsContentUtils.h>

List of all members.

Public Member Functions

 nsAutoGCRoot (jsval *aPtr, nsresult *aResult)
 nsAutoGCRoot (JSObject **aPtr, nsresult *aResult)
 nsAutoGCRoot (void *aPtr, nsresult *aResult)
 ~nsAutoGCRoot ()

Private Attributes

voidmPtr
nsresult mResult

Detailed Description

Definition at line 717 of file nsContentUtils.h.


Constructor & Destructor Documentation

nsAutoGCRoot::nsAutoGCRoot ( jsval aPtr,
nsresult aResult 
) [inline]

Definition at line 720 of file nsContentUtils.h.

                                               :
    mPtr(aPtr)
  {
    mResult = *aResult =
      nsContentUtils::AddJSGCRoot(aPtr, "nsAutoGCRoot");
  }

Here is the call graph for this function:

nsAutoGCRoot::nsAutoGCRoot ( JSObject **  aPtr,
nsresult aResult 
) [inline]

Definition at line 728 of file nsContentUtils.h.

                                                   :
    mPtr(aPtr)
  {
    mResult = *aResult =
      nsContentUtils::AddJSGCRoot(aPtr, "nsAutoGCRoot");
  }

Here is the call graph for this function:

nsAutoGCRoot::nsAutoGCRoot ( void aPtr,
nsresult aResult 
) [inline]

Definition at line 736 of file nsContentUtils.h.

                                              :
    mPtr(aPtr)
  {
    mResult = *aResult =
      nsContentUtils::AddJSGCRoot(aPtr, "nsAutoGCRoot");
  }

Here is the call graph for this function:

Definition at line 743 of file nsContentUtils.h.

Here is the call graph for this function:


Member Data Documentation

Definition at line 750 of file nsContentUtils.h.

Definition at line 751 of file nsContentUtils.h.


The documentation for this class was generated from the following file: