Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsJSContext::TerminationFuncHolder Struct Reference

#include <nsJSEnvironment.h>

Collaboration diagram for nsJSContext::TerminationFuncHolder:
Collaboration graph

List of all members.

Public Member Functions

 TerminationFuncHolder (nsJSContext *aContext)
 ~TerminationFuncHolder ()

Public Attributes


Detailed Description

Definition at line 180 of file nsJSEnvironment.h.

Constructor & Destructor Documentation

Definition at line 182 of file nsJSEnvironment.h.

      : mContext(aContext),
      aContext->mTerminations = nsnull;

Definition at line 188 of file nsJSEnvironment.h.

      // Have to be careful here.  mContext might have picked up new
      // termination funcs while the script was evaluating.  Prepend whatever
      // we have to the current termination funcs on the context (since our
      // termination funcs were posted first).
      if (mTerminations) {
        TerminationFuncClosure* cur = mTerminations;
        while (cur->mNext) {
          cur = cur->mNext;
        cur->mNext = mContext->mTerminations;
        mContext->mTerminations = mTerminations;

Member Data Documentation

Definition at line 204 of file nsJSEnvironment.h.

Definition at line 205 of file nsJSEnvironment.h.

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