JavaScript-1.5 Reference

JS_GetContextPrivate Function

Summary

Retrieves the private data associated with a context.

Syntax

void * JS_GetContextPrivate(JSContext *cx);
NameTypeDescription
cxJSContext *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

Groups [ Function ]
Documents [ LXR ID Search ]
Entries [ JS_SetContextPrivate ]

This page was generated by APIDOC