Skip to content

Commit

Permalink
Merge pull request #92 from OpenSwiftUIProject/optimize/anyattribute
Browse files Browse the repository at this point in the history
Update AnyAttribute
  • Loading branch information
Kyle-Ye authored Dec 29, 2024
2 parents c1be687 + 45ea3a6 commit 7367e92
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"location" : "https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks.git",
"state" : {
"branch" : "main",
"revision" : "5627dacbbde44c8d3ea7b34f5d91b44839178e15"
"revision" : "d0ac1385d31428f84add080d9235ed08ccc12b1d"
}
},
{
Expand Down
2 changes: 0 additions & 2 deletions Sources/OpenGraph/Attribute/Attribute/AnyAttribute.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

public import OpenGraph_SPI

public typealias AnyAttribute = OGAttribute

extension AnyAttribute {
public typealias Flags = OGAttributeTypeFlags

Expand Down
2 changes: 1 addition & 1 deletion Sources/OpenGraph_SPI/Graph/OGGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct OGGraphStorage;
struct OGGraphContextStorage;
struct OGSubgraphStorage;

typedef uint32_t OGAttribute __attribute((swift_newtype(struct)));
typedef uint32_t OGAttribute OG_SWIFT_STRUCT OG_SWIFT_NAME(AnyAttribute);

OG_ASSUME_NONNULL_BEGIN

Expand Down

0 comments on commit 7367e92

Please sign in to comment.