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" } }, { 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 27e39d94..0ad158d7 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 @@ -27,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:)); @@ -161,6 +167,8 @@ void OAGGraphWithUpdate( OAG_EXTERN_C_END +OAG_IMPLICIT_BRIDGING_DISABLED + OAG_ASSUME_NONNULL_END #endif /* OAGAttribute_h */