Search completed in 1.31 seconds.
3 results for "js::autocheckcannotgc":
JS_GetLatin1FlatStringChars
Mozilla › Projects › SpiderMonkey › JSAPI reference › JS GetLatin1FlatStringChars
This article covers features introduced in SpiderMonkey 38 Get the chars of a flat string. Syntax const JS::Latin1Char * JS_GetLatin1FlatStringChars(const JS::AutoCheckCannotGC &nogc, JSFlatString *str); const char16_t * JS_GetTwoByteFlatStringChars(const JS::AutoCheckCannotGC &nogc, JSFlatString *str); Name Type Description cx JSContext * A context. Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext.. nogc JS::AutoCheckCannotGC & A reference to JS::AutoCheckCannotGC. str JSFlatString * A string to get characters. Description JS_GetLatin1FlatStringChars and JS_GetTwoByteFlatStringChars return a pointer to the string. See Also...
JS_GetLatin1InternedStringChars
Mozilla › Projects › SpiderMonkey › JSAPI reference › JS GetLatin1InternedStringChars
This article covers features introduced in SpiderMonkey 38 Get the chars of an interned string. Syntax const JS::Latin1Char * JS_GetLatin1InternedStringChars(const JS::AutoCheckCannotGC &nogc, JSString *str); const char16_t * JS_GetTwoByteInternedStringChars(const JS::AutoCheckCannotGC &nogc, JSString *str); Name Type Description cx JSContext * A context. Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext.. nogc JS::AutoCheckCannotGC & A reference to JS::AutoCheckCannotGC. str JSString * A string to get characters. Description JS_GetLatin1InternedStringChars and JS_GetTwoByteInternedStringChars gets the characters of t...
JS_GetLatin1StringCharsAndLength
Mozilla › Projects › SpiderMonkey › JSAPI reference › JS GetLatin1StringCharsAndLength
This article covers features introduced in SpiderMonkey 38 Get the chars and the length of a string. Syntax const JS::Latin1Char * JS_GetLatin1StringCharsAndLength(JSContext *cx, const JS::AutoCheckCannotGC &nogc, JSString *str, size_t *length); const char16_t * JS_GetTwoByteStringCharsAndLength(JSContext *cx, const JS::AutoCheckCannotGC &nogc, JSString *str, size_t *length); Name Type Description cx JSContext * A context. Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext.. nogc JS::AutoCheckCannotGC & A reference to JS::AutoCheckCannotGC. str JSString * A string to get characters. length size_t * Out paramet...