Skip to content

Commit e28b2b0

Browse files
committed
Commit to main--missing @_spi attributes on some symbols breaking the build
1 parent 8cbb491 commit e28b2b0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Sources/Overlays/_Testing_CoreGraphics/Attachments/_AttachableImageWrapper+AttachableWrapper.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ private import UniformTypeIdentifiers
3939
/// useful.)
4040

4141
@available(_uttypesAPI, *)
42+
@_spi(Experimental)
4243
extension _AttachableImageWrapper: Attachable, AttachableWrapper where Image: AttachableAsCGImage {
4344
public func withUnsafeBytes<R>(for attachment: borrowing Attachment<_AttachableImageWrapper>, _ body: (UnsafeRawBufferPointer) throws -> R) throws -> R {
4445
let data = NSMutableData()

Sources/Overlays/_Testing_WinSDK/Attachments/_AttachableImageWrapper+AttachableWrapper.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
@_spi(Experimental) public import Testing
1313
private import WinSDK
1414

15+
@_spi(Experimental)
1516
extension _AttachableImageWrapper: Attachable, AttachableWrapper where Image: AttachableAsIWICBitmapSource {
1617
public func withUnsafeBytes<R>(for attachment: borrowing Attachment<_AttachableImageWrapper>, _ body: (UnsafeRawBufferPointer) throws -> R) throws -> R {
1718
// Create an in-memory stream to write the image data to. Note that Windows

0 commit comments

Comments
 (0)