Skip to content

swift_compareTypeContextDescriptors(____)

0x41c edited this page Mar 3, 2022 · 1 revision

swift_compareTypeContextDescriptors(_:_:)

swift(>=5.4)

By comparing multiple features of a type descriptor such as pointer equality, being null, uniqueness, kinds, and parents, it determines whether they are the same and/or describe the same type context.

@_silgen_name("swift_compareTypeContextDescriptors")
public func swift_compareTypeContextDescriptors(
    _ firstContextDescriptor: UnsafeRawPointer,
    _ secondContextDescriptor: UnsafeRawPointer
) -> Bool

Parameters

  • firstContextDescriptor: The first context descriptor to compare.
  • secondContextDescriptor: The second context descriptor to compare.
Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally