diff --git a/Package.resolved b/Package.resolved index 14711620..329d16bb 100644 --- a/Package.resolved +++ b/Package.resolved @@ -7,7 +7,7 @@ "location" : "https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks.git", "state" : { "branch" : "main", - "revision" : "63c037d0902c8bc9c237bfeb384c0e35a94ce4e7" + "revision" : "2cec508df7d16801a1bb5b659b906cec465b213e" } }, { diff --git a/Sources/OpenGraph_SPI/Graph/OGSubgraph.cpp b/Sources/OpenGraph_SPI/Graph/OGSubgraph.cpp index 36a99f7e..534f5672 100644 --- a/Sources/OpenGraph_SPI/Graph/OGSubgraph.cpp +++ b/Sources/OpenGraph_SPI/Graph/OGSubgraph.cpp @@ -131,6 +131,10 @@ void OGSubgraphAddChild(OGSubgraphRef parent, OGSubgraphRef child) { // TODO } +void OGSubgraphRemoveChild(OGSubgraphRef parent, OGSubgraphRef child) { + // TODO +} + void OGSubgraphApply(OGSubgraphRef cf_subgraph, OGAttributeFlags flags, const void (*function)(const void * _Nullable context OG_SWIFT_CONTEXT, OGAttribute attribute) OG_SWIFT_CC(swift), diff --git a/Sources/OpenGraph_SPI/Graph/OGSubgraph.h b/Sources/OpenGraph_SPI/Graph/OGSubgraph.h index 73e95d9c..ddf4ea20 100644 --- a/Sources/OpenGraph_SPI/Graph/OGSubgraph.h +++ b/Sources/OpenGraph_SPI/Graph/OGSubgraph.h @@ -61,6 +61,10 @@ OG_EXPORT OG_REFINED_FOR_SWIFT void OGSubgraphAddChild(OGSubgraphRef parent, OGSubgraphRef child) OG_SWIFT_NAME(OGSubgraphRef.addChild(self:_:)); +OG_EXPORT +OG_REFINED_FOR_SWIFT +void OGSubgraphRemoveChild(OGSubgraphRef parent, OGSubgraphRef child) OG_SWIFT_NAME(OGSubgraphRef.removeChild(self:_:)); + OG_EXPORT OG_REFINED_FOR_SWIFT void OGSubgraphApply(OGSubgraphRef cf_subgraph,