Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Elimination of JS_GetStringChars

17 views
Skip to first unread message

Luke Wagner

unread,
Nov 24, 2010, 1:16:48 PM11/24/10
to
The JS_GetStringChars API is deprecated in favor of JS_GetStringCharsZ.
Bug 609440 plans to remove this API to win both performance and code
simplicification.

Note:

The JS_GetStringCharsZ is fallible and embeddings should check for a
null return value.

By taking a JSContext*, JS_GetStringCharsZ requires the caller to be in
a request.

0 new messages