We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73af8ff commit bb64446Copy full SHA for bb64446
stdlib/public/SDK/CoreFoundation/CoreFoundation.swift
@@ -17,6 +17,9 @@ extension _CFObject {
17
public var hashValue: Int {
18
return Int(bitPattern: CFHash(self))
19
}
20
+ public func _hash(into hasher: _UnsafeHasher) -> _UnsafeHasher {
21
+ return hasher.appending(self.hashValue)
22
+ }
23
public static func ==(left: Self, right: Self) -> Bool {
24
return CFEqual(left, right)
25
0 commit comments