@@ -407,28 +407,28 @@ extension _StringGuts {
407
407
return !isSmall && isFastUTF8 && isASCII
408
408
}
409
409
410
- @ available ( * , deprecated )
411
- public // SPI(corelibs-foundation )
412
- var _isContiguousUTF16 : Bool {
410
+ // FIXME: Previously used by swift-corelibs-foundation. Aging for removal.
411
+ @ available ( * , unavailable )
412
+ public var _isContiguousUTF16 : Bool {
413
413
return false
414
414
}
415
415
416
- // FIXME: Remove . Still used by swift-corelibs-foundation
416
+ // FIXME: Mark as obsoleted . Still used by swift-corelibs-foundation.
417
417
@available ( * , deprecated)
418
418
public var startASCII : UnsafeMutablePointer < UInt8 > {
419
419
return UnsafeMutablePointer ( mutating: _object. fastUTF8. baseAddress!)
420
420
}
421
421
422
- // FIXME: Remove. Still used by swift-corelibs-foundation
423
- @available ( * , deprecated )
422
+ // FIXME: Previously used by swift-corelibs-foundation. Aging for removal.
423
+ @available ( * , unavailable )
424
424
public var startUTF16 : UnsafeMutablePointer < UTF16 . CodeUnit > {
425
425
fatalError ( " Not contiguous UTF-16 " )
426
426
}
427
427
}
428
428
429
- @ available ( * , deprecated )
430
- public // SPI(corelibs-foundation )
431
- func _persistCString( _ p: UnsafePointer < CChar > ? ) -> [ CChar ] ? {
429
+ // FIXME: Previously used by swift-corelibs-foundation. Aging for removal.
430
+ @ available ( * , unavailable )
431
+ public func _persistCString( _ p: UnsafePointer < CChar > ? ) -> [ CChar ] ? {
432
432
guard let s = p else { return nil }
433
433
let bytesToCopy = UTF8 . _nullCodeUnitOffset ( in: s) + 1 // +1 for the terminating NUL
434
434
let result = [ CChar] ( unsafeUninitializedCapacity: bytesToCopy) { buf, initedCount in
0 commit comments