This article covers features introduced in SpiderMonkey 1.8.5
Convert JSFlatString
to JSString
.
Syntax
static MOZ_ALWAYS_INLINE JSString * JS_FORGET_STRING_FLATNESS(JSFlatString *fstr) { return (JSString *)fstr; }
Name | Type | Description |
---|---|---|
fstr |
JSFlatString * |
A string to convert |
Description
JS_FORGET_STRING_FLATNESS
converts JSFlatString *
to JSString *
.