Contents

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 theArray to retrieve. The range must lie within the bounds of theArray. The range may be empty (length 0), in which case no values are put into the buffer values.

  • 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 in theArray. If this value is not a valid pointer to a C array of at least range.length pointers, the behavior is undefined. If the values are Core Foundation objects, ownership follows 20001148 SW1.

See Also

Examining an Array