Skip to content

Commit 7367e92

Browse files
authored
Merge pull request #92 from OpenSwiftUIProject/optimize/anyattribute
Update AnyAttribute
2 parents c1be687 + 45ea3a6 commit 7367e92

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/OpenGraph/Attribute/Attribute/AnyAttribute.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
public import OpenGraph_SPI
99

10-
public typealias AnyAttribute = OGAttribute
11-
1210
extension AnyAttribute {
1311
public typealias Flags = OGAttributeTypeFlags
1412

Sources/OpenGraph_SPI/Graph/OGGraph.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct OGGraphStorage;
2222
struct OGGraphContextStorage;
2323
struct OGSubgraphStorage;
2424

25-
typedef uint32_t OGAttribute __attribute((swift_newtype(struct)));
25+
typedef uint32_t OGAttribute OG_SWIFT_STRUCT OG_SWIFT_NAME(AnyAttribute);
2626

2727
OG_ASSUME_NONNULL_BEGIN
2828

0 commit comments

Comments
 (0)