mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
4b09d4c513
that can be used in swiftinterfaces.
13 lines
463 B
Plaintext
13 lines
463 B
Plaintext
// swift-interface-format-version: 1.0
|
|
// swift-module-flags: -module-name ConformanceMacroLib
|
|
|
|
@attached(conformance)
|
|
public macro Equatable() = #externalMacro(module: "MacroDefinition", type: "EquatableMacro")
|
|
|
|
#if compiler(>=5.3) && $Macros && $AttachedMacros && $ExtensionMacros
|
|
#if $ExtensionMacroAttr
|
|
@attached(extension, conformances: Swift.Hashable)
|
|
public macro Hashable() = #externalMacro(module: "MacroDefinition", type: "HashableMacro")
|
|
#endif
|
|
#endif
|