Search completed in 1.30 seconds.
3 results for "jstracecallback":
JS_TracerInit
Mozilla › Projects › SpiderMonkey › JSAPI reference › JS TracerInit
e. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. This article covers features introduced in SpiderMonkey 1.8 Note: in JSAPI 12, the macro JS_TRACER_INIT has been replaced by the function JS_TracerInit Initialize a JSTracer for object graph tracing. ...
...2, the macro JS_TRACER_INIT has been replaced by the function JS_TracerInit Initialize a JSTracer for object graph tracing. Syntax void JS_TracerInit(JSTracer *trc, JSRuntime *rt, JSTraceCallback callback); Name Type Description trc JSTracer * The tracer to be initialized. cx JSContext * The context in which to perform tracing. callback JSTraceCallback A callback, described below, which the tracing APIs will call each time a pointer is found from one GC thing to another. Callback syntax typedef void (*JSTraceCallback)(JSTracer *trc, void *thing, uint32 kind); Name Type Description trc JSTracer * The tracer visiting obj. thing void * A GC thing. kind uint32 One of the constant...
JS_DumpHeap
Mozilla › Projects › SpiderMonkey › JSAPI reference › JS DumpHeap
ng a thing, the GC needs to know about the layout of the object it is looking at. There are a fixed number of different layouts that the GC knows about. The "trace kind" is a static map which tells which layout a GC thing has. Although this map is public, the details are completely hidden. Not all of the matching C++ types are exposed, and those that are, are opaque. See JS::Value::gcKind() and JSTraceCallback in <codde>Tracer.h</codde> for more details. See Also bug 378261 bug 1122842 ...
JSAPI reference
Mozilla › Projects › SpiderMonkey › JSAPI reference
Macros JS_DEFAULT_XML_NAMESPACE_ID Obsolete since JSAPI 21 JSFUN_BOUND_METHOD Obsolete since JavaScript 1.8.5 JSFUN_GETTER Obsolete since JavaScript 1.8.5 JSFUN_SETT...