Function CFCharacterSetCreateMutableCopy

Source
pub unsafe extern "C-unwind" fn CFCharacterSetCreateMutableCopy(
    alloc: Option<&CFAllocator>,
    the_set: Option<&CFCharacterSet>,
) -> Option<CFRetained<CFMutableCharacterSet>>
Available on crate features CFBase and CFCharacterSet only.
Expand description

Creates a new mutable character set with the values from the given character set.

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 theSet: The CFCharacterSet which is to be copied. If this parameter is not a valid CFCharacterSet, the behavior is undefined.

Returns: A reference to the new mutable CFCharacterSet.