Public Member Functions | Public Attributes

js::AutoCompartment Class Reference

#include <jswrapper.h>

Collaboration diagram for js::AutoCompartment:

List of all members.

Public Member Functions

 AutoCompartment (JSContext *cx, JSObject *target)
 ~AutoCompartment ()
bool enter ()
void leave ()

Public Attributes

JSContext *const context
JSCompartment *const origin
JSObject *const target
JSCompartment *const destination

Constructor & Destructor Documentation

js::AutoCompartment::AutoCompartment ( JSContext cx,
JSObject target 
)
js::AutoCompartment::~AutoCompartment (  ) 

Member Function Documentation

bool js::AutoCompartment::enter (  ) 
void js::AutoCompartment::leave (  ) 

Member Data Documentation


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