JS_GetContextPrivate |
Function |
|
Summary
Retrieves the private data associated with a context.
|
Syntax
void * JS_GetContextPrivate(JSContext *cx);
Name | Type | Description |
cx | JSContext * | Pointer to a JS context for which to retrieve data.
|
|
Description
JS_GetContextPrivate retrieves the private data associated with a specified JSContext , cx . If successful, JS_GetContextPrivate returns a pointer to the private data. Otherwise it returns NULL which means that there is no private data currently associated with the context.
|
See Also
|