{"json_modified": "2016-03-28T08:19:09.739328", "uuid": "f68ff444-e877-4669-bd84-34a94686969e", "title": "JSObjectOps.getRequiredSlot", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JSObjectOps.getRequiredSlot", "tags": ["Obsolete", "SpiderMonkey", "JSAPI Reference"], "translations": [], "modified": "2015-01-03T11:01:13", "label": "JSObjectOps.getRequiredSlot", "localization_tags": [], "locale": "en-US", "id": 34975, "last_edit": "2015-01-03T10:58:43", "summary": "Get and set a required slot, one that should already have been allocated. These operations are infallible, so required slots must be pre-allocated, or implementations must suppress out-of-memory errors. The native ops (js_ObjectOps
, see js/src/jsobj.c
) access slots reserved by including a call to the JSCLASS_HAS_RESERVED_SLOTS(n)
macro in the JSClass.flags
initializer.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}], "slug": "Mozilla/Projects/SpiderMonkey/JSAPI_reference/JSObjectOps.getRequiredSlot", "review_tags": []}