Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes | Friends
nsXPCThreadJSContextStackImpl Class Reference

#include <xpcprivate.h>

Inheritance diagram for nsXPCThreadJSContextStackImpl:
Inheritance graph
Collaboration diagram for nsXPCThreadJSContextStackImpl:
Collaboration graph

List of all members.

Public Member Functions

 nsXPCThreadJSContextStackImpl ()
virtual ~nsXPCThreadJSContextStackImpl ()
JSContext peek ()
JSContext pop ()
void push (in JSContext cx)

Static Public Member Functions

GetSingleton ()
static void InitStatics ()
static void FreeSingleton ()

Public Attributes

attribute JSContext safeJSContext
readonly attribute PRInt32 count

Private Member Functions

XPCJSContextStackGetStackForCurrentThread ()

Static Private Attributes



class nsXPCJSContextStackIterator

Detailed Description

Definition at line 2926 of file xpcprivate.h.

Constructor & Destructor Documentation

Here is the caller graph for this function:

Definition at line 243 of file xpcthreadcontext.cpp.

Member Function Documentation

Definition at line 264 of file xpcthreadcontext.cpp.

    nsXPCThreadJSContextStackImpl* tcs = gXPCThreadJSContextStack;
        nsrefcnt cnt;
        NS_RELEASE2(tcs, cnt);
        if(0 != cnt)
            printf("*** dangling reference to nsXPCThreadJSContextStackImpl: refcnt=%d\n", cnt);

Here is the caller graph for this function:

Definition at line 250 of file xpcthreadcontext.cpp.

Here is the call graph for this function:

Definition at line 2946 of file xpcprivate.h.

Here is the call graph for this function:

static void nsXPCThreadJSContextStackImpl::InitStatics ( ) [inline, static]

Definition at line 2939 of file xpcprivate.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class nsXPCJSContextStackIterator [friend]

Definition at line 2951 of file xpcprivate.h.

Member Data Documentation

Definition at line 48 of file nsIJSContextStack.idl.

Definition at line 2950 of file xpcprivate.h.

Definition at line 84 of file nsIJSContextStack.idl.

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