Contents

xpc_array_get_uuid(_:_:)

Gets a UUID value from an array directly.

Declaration

func xpc_array_get_uuid(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<UInt8>?

Parameters

  • xarray:

    The array which is to be examined.

  • index:

    The index of the value to obtain. This value must lie within the index space of the array (0 to N-1 inclusive, where N is the count of the array). If the index is outside that range, the behavior is undefined.

Return Value

The underlying uuid_t value at the specified index. The null UUID if the value at the specified index is not a UUID value. The returned pointer may be safely passed to the uuid(3) APIs.

See Also

Array objects