ADC Home > Reference Library > Reference > Carbon > Internet & Web > JavaScriptCore Framework Reference
|
JSStringRefCF.h |
Includes: | "JSBase.h" <CoreFoundation/CoreFoundation.h> |
JSStringCopyCFString |
Creates a CFString from a JavaScript string.
CFStringRef JSStringCopyCFString( CFAllocatorRef alloc, JSStringRef string);
alloc
string
A CFString containing string. Ownership follows the Create Rule.
JSStringCreateWithCFString |
Creates a JavaScript string from a CFString.
JSStringRef JSStringCreateWithCFString( CFStringRef string);
string
A JSString containing string. Ownership follows the Create Rule.
This function is optimized to take advantage of cases when CFStringGetCharactersPtr returns a valid pointer.
|