We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ff6b97 + b6308a5 commit e41ae93Copy full SHA for e41ae93
stdlib/public/core/SetBridging.swift
@@ -20,7 +20,7 @@ internal func _stdlib_NSSet_allObjects(_ object: AnyObject) -> _BridgingBuffer {
20
let nss = unsafeBitCast(object, to: _NSSet.self)
21
let count = nss.count
22
let storage = _BridgingBuffer(count)
23
- nss.getObjects(storage.baseAddress, count: count)
+ nss.getObjects(storage.baseAddress)
24
return storage
25
}
26
stdlib/public/core/ShadowProtocols.swift
@@ -175,6 +175,10 @@ internal protocol _NSSet: _NSSetCore {
175
_ buffer: UnsafeMutablePointer<AnyObject>,
176
count: Int
177
)
178
+
179
+ @objc(getObjects:) func getObjects(
180
+ _ buffer: UnsafeMutablePointer<AnyObject>
181
+ )
182
183
184
/// A shadow for the API of NSNumber we will use in the core
0 commit comments