Skip to content

Commit 2ee28ee

Browse files
committed
Merge branch 'jgrynspan/merge-more-cgimage-iwicbitmapsource-code' into jgrynspan/mark-image-attachments-unavailable-on-other-platforms
2 parents 2ed7ff2 + 6f98336 commit 2ee28ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Overlays/_Testing_WinSDK/Attachments/UnsafeMutablePointer+AttachableAsIWICBitmapSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ private import Testing
1313
public import WinSDK
1414

1515
@_spi(Experimental)
16-
extension UnsafeMutablePointer: AttachableAsIWICBitmapSource where Pointee: _AttachableByAddressAsIWICBitmapSource {
16+
extension UnsafeMutablePointer: _AttachableAsImage, AttachableAsIWICBitmapSource where Pointee: _AttachableByAddressAsIWICBitmapSource {
1717
public func copyAttachableIWICBitmapSource() throws -> UnsafeMutablePointer<IWICBitmapSource> {
1818
let factory = try IWICImagingFactory.create()
1919
defer {

0 commit comments

Comments
 (0)