File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
trunk/stdlib/public/SDK/CoreGraphics Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: a2f5231158c41d8606e83de6636d2d476072a160
2
+ refs/heads/master: 1f46e373338353cb2a07b31fbdd8d39d8de3153f
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -380,6 +380,21 @@ extension CGFloat : Hashable {
380
380
public var hashValue : Int {
381
381
return native. hashValue
382
382
}
383
+
384
+ /// Hashes the essential components of this value by feeding them into the
385
+ /// given hasher.
386
+ ///
387
+ /// - Parameter hasher: The hasher to use when combining the components
388
+ /// of this instance.
389
+ @inlinable @_transparent
390
+ public func hash( into hasher: inout Hasher ) {
391
+ hasher. combine ( native)
392
+ }
393
+
394
+ @inlinable @_transparent
395
+ public func _rawHashValue( seed: Int ) -> Int {
396
+ return native. _rawHashValue ( seed: seed)
397
+ }
383
398
}
384
399
385
400
% for dst_ty in all_integer_types ( word_bits) :
You can’t perform that action at this time.
0 commit comments