Skip to content

swift_getAssociatedConformanceWitness(__________)

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

swift_getAssociatedConformanceWitness(_:_:_:_:_:)

Retrieve an associated conformance witness table from the given witness table.

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

Parameters

  • witnessTable: The witness table.
  • conformingType: Metadata for the conforming type.
  • associatedType: Metadata for the associated type.
  • requirementBase: "Base" requirement used to compute the witness index.
  • associatedConformance: Associated conformance descriptor.

Returns

The corresponding witness table.

Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally