File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -349,19 +349,19 @@ internal func _swift_unownedRetainCount(_: UnsafeMutableRawPointer) -> Int
349349internal func _swift_weakRetainCount( _: UnsafeMutableRawPointer ) -> Int
350350
351351// Utilities to get refcount(s) of class objects.
352- @backDeployed ( before : SwiftStdlib 6.0 )
352+ @_alwaysEmitIntoClient
353353public func _getRetainCount( _ object: AnyObject ) -> UInt {
354354 let count = _withHeapObject ( of: object) { _swift_retainCount ( $0) }
355355 return UInt ( bitPattern: count)
356356}
357357
358- @backDeployed ( before : SwiftStdlib 6.0 )
358+ @_alwaysEmitIntoClient
359359public func _getUnownedRetainCount( _ object: AnyObject ) -> UInt {
360360 let count = _withHeapObject ( of: object) { _swift_unownedRetainCount ( $0) }
361361 return UInt ( bitPattern: count)
362362}
363363
364- @backDeployed ( before : SwiftStdlib 6.0 )
364+ @_alwaysEmitIntoClient
365365public func _getWeakRetainCount( _ object: AnyObject ) -> UInt {
366366 let count = _withHeapObject ( of: object) { _swift_weakRetainCount ( $0) }
367367 return UInt ( bitPattern: count)
You can’t perform that action at this time.
0 commit comments