@@ -407,28 +407,28 @@ extension _StringGuts {
407407 return !isSmall && isFastUTF8 && isASCII
408408 }
409409
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 {
413413 return false
414414 }
415415
416- // FIXME: Remove . Still used by swift-corelibs-foundation
416+ // FIXME: Mark as obsoleted . Still used by swift-corelibs-foundation.
417417 @available ( * , deprecated)
418418 public var startASCII : UnsafeMutablePointer < UInt8 > {
419419 return UnsafeMutablePointer ( mutating: _object. fastUTF8. baseAddress!)
420420 }
421421
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 )
424424 public var startUTF16 : UnsafeMutablePointer < UTF16 . CodeUnit > {
425425 fatalError ( " Not contiguous UTF-16 " )
426426 }
427427}
428428
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 ] ? {
432432 guard let s = p else { return nil }
433433 let bytesToCopy = UTF8 . _nullCodeUnitOffset ( in: s) + 1 // +1 for the terminating NUL
434434 let result = [ CChar] ( unsafeUninitializedCapacity: bytesToCopy) { buf, initedCount in
0 commit comments