diff --git a/Package.resolved b/Package.resolved index 546f2ef..d55e03f 100644 --- a/Package.resolved +++ b/Package.resolved @@ -7,7 +7,7 @@ "location" : "https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks.git", "state" : { "branch" : "main", - "revision" : "7be91d10c9151add127dbd2e92595553d084efdb" + "revision" : "af7ef1c0a0e2c2b87e287743997a22ab3678924c" } }, { diff --git a/Sources/OpenGraph_SPI/Graph/OGSubgraph.cpp b/Sources/OpenGraph_SPI/Graph/OGSubgraph.cpp index c9c1476..8aaa4b7 100644 --- a/Sources/OpenGraph_SPI/Graph/OGSubgraph.cpp +++ b/Sources/OpenGraph_SPI/Graph/OGSubgraph.cpp @@ -128,6 +128,10 @@ OGGraphRef OGSubgraphGetGraph(OGSubgraphRef cf_subgraph) { } void OGSubgraphAddChild(OGSubgraphRef parent, OGSubgraphRef child) { + OGSubgraphAddChild2(parent, child, 0); +} + +void OGSubgraphAddChild2(OGSubgraphRef parent, OGSubgraphRef child, uint8_t tag) { // TODO } diff --git a/Sources/OpenGraph_SPI/include/OGSubgraph.h b/Sources/OpenGraph_SPI/include/OGSubgraph.h index 9586214..798a03d 100644 --- a/Sources/OpenGraph_SPI/include/OGSubgraph.h +++ b/Sources/OpenGraph_SPI/include/OGSubgraph.h @@ -58,6 +58,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 OGSubgraphAddChild2(OGSubgraphRef parent, OGSubgraphRef child, uint8_t tag) OG_SWIFT_NAME(OGSubgraphRef.addChild(self:_:tag:)); + OG_EXPORT OG_REFINED_FOR_SWIFT void OGSubgraphRemoveChild(OGSubgraphRef parent, OGSubgraphRef child) OG_SWIFT_NAME(OGSubgraphRef.removeChild(self:_:));