Skip to main content

CFStringGetSurrogatePairForLongCharacter

Function CFStringGetSurrogatePairForLongCharacter 

Source
pub unsafe fn CFStringGetSurrogatePairForLongCharacter(
    character: UTF32Char,
    surrogates: *mut UniChar,
) -> Boolean
Expand description

Writes the UTF-16 surrogate pair for a Unicode scalar. Wraps CFStringGetSurrogatePairForLongCharacter.

ยงSafety

surrogates must be null or point to writable storage for two UniChar values.