Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions | Private Member Functions
XPCJSStack Class Reference

#include <xpcprivate.h>

List of all members.

Static Public Member Functions

static nsresult CreateStack (JSContext *cx, nsIStackFrame **stack)
static nsresult CreateStackFrameLocation (PRUint32 aLanguage, const char *aFilename, const char *aFunctionName, PRInt32 aLineNumber, nsIStackFrame *aCaller, nsIStackFrame **stack)

Private Member Functions

 XPCJSStack ()

Detailed Description

Definition at line 2550 of file xpcprivate.h.

Constructor & Destructor Documentation

XPCJSStack::XPCJSStack ( ) [private]

Member Function Documentation

nsresult XPCJSStack::CreateStack ( JSContext cx,
nsIStackFrame **  stack 
) [static]

Definition at line 82 of file xpcstack.cpp.

    if(!cx || !cx->fp)
        return NS_ERROR_FAILURE;

    return XPCJSStackFrame::CreateStack(cx, cx->fp, (XPCJSStackFrame**) stack);
nsresult XPCJSStack::CreateStackFrameLocation ( PRUint32  aLanguage,
const char *  aFilename,
const char *  aFunctionName,
PRInt32  aLineNumber,
nsIStackFrame aCaller,
nsIStackFrame **  stack 
) [static]

Definition at line 92 of file xpcstack.cpp.

    return XPCJSStackFrame::CreateStackFrameLocation(
                                        (XPCJSStackFrame**) stack);

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