From 8a896e58ae32d9ed1ef9545acf2e77ca719f0f9b Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 6 Sep 2025 13:39:35 +0800 Subject: [PATCH 1/3] Fix subgraph2 release issu --- .../include/OpenAttributeGraph/OAGAttribute.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h b/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h index 27e39d94..336c1c27 100644 --- a/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h +++ b/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h @@ -18,6 +18,8 @@ OAG_ASSUME_NONNULL_BEGIN +OAG_IMPLICIT_BRIDGING_ENABLED + OAG_EXTERN_C_BEGIN OAG_EXPORT @@ -161,6 +163,8 @@ void OAGGraphWithUpdate( OAG_EXTERN_C_END +OAG_IMPLICIT_BRIDGING_DISABLED + OAG_ASSUME_NONNULL_END #endif /* OAGAttribute_h */ From 5b66d817e926916b69a9f042c5770268ab45aaf6 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 6 Sep 2025 13:40:30 +0800 Subject: [PATCH 2/3] Add OAGGraphCurrentAttributeWasModified --- Sources/OpenAttributeGraphCxx/Attribute/OAGAttribute.cpp | 7 ++++++- .../include/OpenAttributeGraph/OAGAttribute.h | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Sources/OpenAttributeGraphCxx/Attribute/OAGAttribute.cpp b/Sources/OpenAttributeGraphCxx/Attribute/OAGAttribute.cpp index f32391aa..5042935f 100644 --- a/Sources/OpenAttributeGraphCxx/Attribute/OAGAttribute.cpp +++ b/Sources/OpenAttributeGraphCxx/Attribute/OAGAttribute.cpp @@ -9,11 +9,16 @@ const OAGAttribute OAGAttributeNil = OAGAttribute(OAG::AttributeID::Kind::Null); -OAGAttribute OAGGraphGetCurrentAttribute() { +OAGAttribute OAGGraphGetCurrentAttribute(void) { // TODO return OAGAttributeNil; } +bool OAGGraphCurrentAttributeWasModified(void) { + // TODO + return false; +} + namespace { OAGAttribute create_offset_attribute(OAGAttribute attribute, uint64_t offset, std::optional size) { // TODO diff --git a/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h b/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h index 336c1c27..0ad158d7 100644 --- a/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h +++ b/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h @@ -29,6 +29,10 @@ OAG_EXPORT OAG_REFINED_FOR_SWIFT OAGAttribute OAGGraphGetCurrentAttribute(void); +OAG_EXPORT +OAG_REFINED_FOR_SWIFT +bool OAGGraphCurrentAttributeWasModified(void); + OAG_EXPORT OAG_REFINED_FOR_SWIFT OAGAttribute OAGGraphCreateOffsetAttribute(OAGAttribute attribute, long offset) OAG_SWIFT_NAME(OAGAttribute.create(self:offset:)); From aac3594432ff570ec5e8a2bc59e540569fd9f6f4 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 6 Sep 2025 13:44:41 +0800 Subject: [PATCH 3/3] Update AG dependency https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/pull/18 --- Package.resolved | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.resolved b/Package.resolved index 5507700a..2b2ce3d8 100644 --- a/Package.resolved +++ b/Package.resolved @@ -7,7 +7,7 @@ "location" : "https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks.git", "state" : { "branch" : "main", - "revision" : "00977e88d14f98c248bf1c8370855ad6ecc35977" + "revision" : "0490c29426c9d69a14f84d2020f263abe568c127" } }, {