CFArrayGetValues(_:_:_:)
Fills a buffer with values from an array.
Declaration
func CFArrayGetValues(_ theArray: CFArray!, _ range: CFRange, _ values: UnsafeMutablePointer<UnsafeRawPointer?>!)Parameters
- theArray:
The array to examine.
- range:
The range of values within
theArrayto retrieve. The range must lie within the bounds oftheArray. The range may be empty (length0), in which case no values are put into the buffervalues. - values:
A C array of pointer-sized values to be filled with values from
theArray. The values in the C array are in the same order as they appear intheArray. If this value is not a valid pointer to a C array of at leastrange.lengthpointers, the behavior is undefined. If the values are Core Foundation objects, ownership follows 20001148 SW1.