Public Member Functions | Public Attributes | Friends

js::AutoArrayRooter Class Reference

#include <jscntxt.h>

Inheritance diagram for js::AutoArrayRooter:
Collaboration diagram for js::AutoArrayRooter:

List of all members.

Public Member Functions

 AutoArrayRooter (JSContext *cx, size_t len, Value *vec JS_GUARD_OBJECT_NOTIFIER_PARAM)
 AutoArrayRooter (JSContext *cx, size_t len, jsval *vec JS_GUARD_OBJECT_NOTIFIER_PARAM)
void changeLength (size_t newLength)
void changeArray (Value *newArray, size_t newLength)

Public Attributes

Valuearray

Friends

void AutoGCRooter::trace (JSTracer *trc)

Constructor & Destructor Documentation

js::AutoArrayRooter::AutoArrayRooter ( JSContext cx,
size_t  len,
Value *vec  JS_GUARD_OBJECT_NOTIFIER_PARAM 
) [inline]
js::AutoArrayRooter::AutoArrayRooter ( JSContext cx,
size_t  len,
jsval *vec  JS_GUARD_OBJECT_NOTIFIER_PARAM 
) [inline]

Member Function Documentation

void js::AutoArrayRooter::changeArray ( Value newArray,
size_t  newLength 
) [inline]
void js::AutoArrayRooter::changeLength ( size_t  newLength  )  [inline]

Friends And Related Function Documentation

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

Member Data Documentation


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