Function

CFBitVectorCreateCopy

Creates an immutable bit vector that is a copy of another bit vector.

Declaration

CFBitVectorRef CFBitVectorCreateCopy(CFAllocatorRef allocator, CFBitVectorRef bv);

Parameters

allocator

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

bv

The bit vector to copy.

Return Value

A new bit vector holding the same bit values as bv. Ownership follows the The Create Rule.

See Also

Creating a Bit Vector

CFBitVectorCreate

Creates an immutable bit vector from a block of memory.