File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
import _OpenGraph
9
- import Foundation
10
9
11
10
@_silgen_name ( " OGGraphArchiveJSON " )
12
11
@inline ( __always)
@@ -21,6 +20,8 @@ public func graphCreate() -> UnsafeRawPointer?
21
20
public func graphCreateShared(_: UnsafeRawPointer?) -> UnsafeRawPointer?
22
21
23
22
#if canImport(ObjectiveC)
23
+ import Foundation
24
+
24
25
@_silgen_name( " OGGraphDescription" )
25
26
@inline(__always)
26
27
public func graphDescription(_ graph: UnsafeRawPointer? = nil, options: NSDictionary) -> UnsafeRawPointer?
Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ import _OpenGraph
2
2
3
3
@propertyWrapper
4
4
public struct Attribute < Value> {
5
- #if canImport(Darwin)
6
- // FIXME: Linux compiler will crash here
7
5
var identifier : OGAttribute
8
- #endif
9
6
10
7
public init ( ) {
11
8
fatalError ( " TODO " )
You can’t perform that action at this time.
0 commit comments