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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software