{"json_modified": "2016-03-28T08:17:09.198487", "uuid": "a8776e0b-2cd4-470f-9ec6-2a7abfabae1a", "title": "JS_GetContextPrivate", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_GetContextPrivate", "tags": ["SpiderMonkey", "JSAPI Reference"], "translations": [], "modified": "2014-12-15T01:41:48", "label": "JS_GetContextPrivate", "localization_tags": [], "locale": "en-US", "id": 19155, "last_edit": "2014-12-15T01:41:42", "summary": "Each JSContext
has two fields of type void *
which the application may use for any purpose. They are especially useful for storing data needed by callbacks. JS_GetContextPrivate
and JS_GetSecondContextPrivate
get this field and JS_SetContextPrivate
and JS_SetSecondContextPrivate
set it. The field is initially NULL
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "See_Also", "title": "See Also"}], "slug": "Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_GetContextPrivate", "review_tags": []}