Public Member Functions | Friends

js::AutoObjectRooter Class Reference

#include <jscntxt.h>

Inheritance diagram for js::AutoObjectRooter:
Collaboration diagram for js::AutoObjectRooter:

List of all members.

Public Member Functions

 AutoObjectRooter (JSContext *cx, JSObject *obj=NULL JS_GUARD_OBJECT_NOTIFIER_PARAM)
void setObject (JSObject *obj)
JSObjectobject () const
JSObject ** addr ()

Friends

void AutoGCRooter::trace (JSTracer *trc)
void MarkRuntime (JSTracer *trc)

Constructor & Destructor Documentation

js::AutoObjectRooter::AutoObjectRooter ( JSContext cx,
JSObject obj = NULL JS_GUARD_OBJECT_NOTIFIER_PARAM 
) [inline]

Member Function Documentation

JSObject** js::AutoObjectRooter::addr (  )  [inline]
JSObject* js::AutoObjectRooter::object (  )  const [inline]
void js::AutoObjectRooter::setObject ( JSObject obj  )  [inline]

Friends And Related Function Documentation

void AutoGCRooter::trace ( JSTracer trc  )  [friend]
void MarkRuntime ( JSTracer trc  )  [friend]

Reimplemented from js::AutoGCRooter.


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