18 #ifndef INCLUDED_AUTOROOTERS
19 #define INCLUDED_AUTOROOTERS
42 void Trace(JSTracer* trc);
53 #endif // INCLUDED_AUTOROOTERS
void Push(JSIdArray *ida)
AutoGCRooter(ScriptInterface &scriptInterface)
std::vector< JSIdArray * > m_IdArrays
ScriptInterface & m_ScriptInterface
std::vector< jsval > m_Vals
AutoGCRooter * m_Previous
std::vector< JSObject * > m_Objects
NONCOPYABLE(AutoGCRooter)
Abstraction around a SpiderMonkey JSContext.
void Trace(JSTracer *trc)
Helper for rooting large groups of script values.