Function

CFCharacterSetCreateMutableCopy

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

Declaration

CFMutableCharacterSetRef CFCharacterSetCreateMutableCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);

Parameters

alloc

The allocator to use to allocate memory for the new object. Pass NULL or kCFAllocatorDefault to use the current default allocator.

theSet

The character set to copy.

Return Value

A new mutable character set containing the same characters as theSet. Ownership follows the The Create Rule.

See Also

Creating a Mutable Character Set

CFCharacterSetCreateMutable

Creates a new empty mutable character set.