Skip to content

swift_getAssociatedTypeWitness(__________)

0x41c edited this page Feb 28, 2022 · 1 revision

swift_getAssociatedTypeWitness(_:_:_:_:_:)

Retrieve an associated type witness from the given witness table.

@_silgen_name("swift_getAssociatedTypeWitness")
public func swift_getAssociatedTypeWitness(
    _ request: Int,
    _ witnessTable: UnsafeRawPointer,
    _ conformingType: Any.Type,
    _ requirementBase: UnsafeRawPointer,
    _ associatedType: UnsafeRawPointer
) -> UnsafeRawPointer

Parameters

  • request: A specification of the metadata to be returned.
  • witnessTable: The witness table.
  • conformingType: Metadata for the conforming type.
  • requirementBase: "Base" requirement used to compute the witness index.
  • associatedType: Associated type descriptor.

Returns

Metadata for the associated type witness.

Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally