Skip to content

Commit 7a2beda

Browse files
committed
<rdar://problem/43884430> Allow C code to link NSCFConstantString
1 parent 86f923f commit 7a2beda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Foundation/NSCFString.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ internal class _NSCFString : NSMutableString {
5757
}
5858
}
5959

60+
@usableFromInline
6061
internal final class _NSCFConstantString : _NSCFString {
6162
internal var _ptr : UnsafePointer<UInt8> {
6263
// FIXME: Split expression as a work-around for slow type

0 commit comments

Comments
 (0)