Search completed in 0.85 seconds.
5 results for "JSObjectMap":
JSObjectOps.newObjectMap
it creates a
jsobjectmap that completely controls the new object's behavior.
... syntax typedef
jsobjectmap * (*jsnewobjectmapop)(jscontext *cx, jsrefcount nrefs, jsobjectops *ops, jsclass *clasp, jsobject *obj); name type description cx jscontext * pointer to the js context in which the new object is being created.
... nrefs jsrefcount the initial reference count for the new
jsobjectmap.
...And 4 more matches
JSObjectOps.destroyObjectMap
the jsobjectops.destroyobjectmap callback is called to destroy a
jsobjectmap when its reference count goes to zero.
... syntax typedef void (*
jsobjectmapop)(jscontext *cx,
jsobjectmap *map); name type description cx jscontext * pointer to the js context in which garbage collection is happening.
... map
jsobjectmap * the map to destroy.
Index
in contrast, all native and host objects have a
jsobjectmap at obj->map, which may be shared among a number of objects, and which contains the jsobjectops *ops pointer used to dispatch object operations from api calls.
... 139 jsobjectops.newobjectmap jsapi reference, obsolete, spidermonkey create a new instance of (a concrete subclass of)
jsobjectmap (see jsobj.h), with the nrefs and ops members initialized from the same-named parameters, and with the nslots and freeslot members initialized according to ops and clasp.
JSGetObjectOps
in contrast, all native and host objects have a
jsobjectmap at obj->map, which may be shared among a number of objects, and which contains the jsobjectops *ops pointer used to dispatch object operations from api calls.
JSAPI reference
jsnewobjectmapop obsolete since javascript 1.8.5
jsobjectmapop obsolete since javascript 1.8.5 jslookuppropop obsolete since javascript 1.8.5 jsdefinepropop obsolete since javascript 1.8.5 jspropertyidop obsolete since javascript 1.8.5 jsattributesop obsolete since javascript 1.8.5 jsobjectops.defaultvalue obsolete since javascript 1.8.5 jscheckaccessidop obsolete since javascript 1.8.5 jsobjectop obsolete since javascript 1.8.5 jspropertyrefop obs...