pub unsafe extern "C-unwind" fn CFCharacterSetCreateWithCharactersInString(
alloc: Option<&CFAllocator>,
the_string: Option<&CFString>,
) -> Option<CFRetained<CFCharacterSet>>
Available on crate features
CFBase
and CFCharacterSet
only.Expand description
Creates a new immutable character set with the values in the given string.
Parameter alloc
: The CFAllocator which should be used to allocate
memory for the array and its storage for values. This
parameter may be NULL in which case the current default
CFAllocator is used. If this reference is not a valid
CFAllocator, the behavior is undefined.
Parameter theString
: The CFString which should be used to specify
the Unicode characters the character set is filled with.
If this parameter is not a valid CFString, the behavior
is undefined.
Returns: A reference to the new immutable CFCharacterSet.