Contents

CFBitVectorCreateCopy(_:_:)

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

Declaration

func CFBitVectorCreateCopy(_ allocator: CFAllocator!, _ bv: CFBitVector!) -> CFBitVector!

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