Skip to content

Commit 6c85847

Browse files
committed
Update Export to fix import OpenCoreGraphics issue
1 parent cd89c29 commit 6c85847

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
//
2+
// Export.swift
3+
// OpenCoreGraphics
4+
5+
@_exported import CoreFoundation // CoreGraphics will export CoreFoundation
6+
@_exported import Foundation // For non-Darwin platforms, CG_TYPES is defined on Foundation

Sources/OpenCoreGraphicsShims/Export.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66
@_exported import CoreGraphics
77
#else
88
@_exported import OpenCoreGraphics
9-
@_exported import CoreFoundation // CoreGraphics will export CoreFoundation
10-
@_exported import Foundation // For non-Darwin platforms, CG_TYPES is defined on Foundation
119
#endif
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//
2+
// Export.swift
3+
// OpenQuartzCore
4+
5+
@_exported import OpenCoreGraphics // QuartzCore will export CoreGraphics
6+
@_exported import CoreFoundation // QuartzCore will export CoreFoundation
7+
@_exported import Foundation // For non-Darwin platforms, CG_TYPES is defined on Foundation

Sources/OpenQuartzCoreShims/Export.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,4 @@
66
@_exported import QuartzCore
77
#else
88
@_exported import OpenQuartzCore
9-
@_exported import OpenCoreGraphics // QuartzCore will export CoreGraphics
10-
@_exported import CoreFoundation // CoreGraphics will export CoreFoundation
11-
@_exported import Foundation // For non-Darwin platforms, CG_TYPES is defined on Foundation
129
#endif

0 commit comments

Comments
 (0)