From ac59ee8209adfc96269973576a23570f4ddb816e Mon Sep 17 00:00:00 2001 From: Kyle Date: Sun, 1 Sep 2024 22:51:37 +0800 Subject: [PATCH] Fix value nonmutating setter issue --- .../arm64-apple-ios.swiftinterface | 5 ++++- .../arm64e-apple-ios.swiftinterface | 5 ++++- .../arm64-apple-ios-simulator.swiftinterface | 5 ++++- .../x86_64-apple-ios-simulator.swiftinterface | 5 ++++- .../arm64-apple-macos.swiftinterface | 5 ++++- .../arm64e-apple-macos.swiftinterface | 5 ++++- .../x86_64-apple-macos.swiftinterface | 5 ++++- .../AttributeGraph.swiftmodule/template.swiftinterface | 5 ++++- 8 files changed, 32 insertions(+), 8 deletions(-) diff --git a/AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios.swiftinterface b/AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios.swiftinterface index d21ce5a9..3df6df45 100644 --- a/AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios.swiftinterface +++ b/AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios.swiftinterface @@ -71,7 +71,10 @@ public struct Attribute { public var graph: AGGraph { get } public var subgraph: AGSubgraph { get } - public var value: Value { unsafeAddress set } + public var value: Value { + unsafeAddress + nonmutating set + } public var valueState: AGValueState { get } public func valueAndFlags(options: AGValueOptions = []) -> (value: Value, flags: AGChangedValueFlags) public func changedValue(options: AGValueOptions = []) -> (value: Value, changed: Bool) diff --git a/AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios.swiftinterface b/AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios.swiftinterface index d21ce5a9..3df6df45 100644 --- a/AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios.swiftinterface +++ b/AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios.swiftinterface @@ -71,7 +71,10 @@ public struct Attribute { public var graph: AGGraph { get } public var subgraph: AGSubgraph { get } - public var value: Value { unsafeAddress set } + public var value: Value { + unsafeAddress + nonmutating set + } public var valueState: AGValueState { get } public func valueAndFlags(options: AGValueOptions = []) -> (value: Value, flags: AGChangedValueFlags) public func changedValue(options: AGValueOptions = []) -> (value: Value, changed: Bool) diff --git a/AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 9d523804..27df2265 100644 --- a/AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -71,7 +71,10 @@ public struct Attribute { public var graph: AGGraph { get } public var subgraph: AGSubgraph { get } - public var value: Value { unsafeAddress set } + public var value: Value { + unsafeAddress + nonmutating set + } public var valueState: AGValueState { get } public func valueAndFlags(options: AGValueOptions = []) -> (value: Value, flags: AGChangedValueFlags) public func changedValue(options: AGValueOptions = []) -> (value: Value, changed: Bool) diff --git a/AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index d53a4e47..1010c8f2 100644 --- a/AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -71,7 +71,10 @@ public struct Attribute { public var graph: AGGraph { get } public var subgraph: AGSubgraph { get } - public var value: Value { unsafeAddress set } + public var value: Value { + unsafeAddress + nonmutating set + } public var valueState: AGValueState { get } public func valueAndFlags(options: AGValueOptions = []) -> (value: Value, flags: AGChangedValueFlags) public func changedValue(options: AGValueOptions = []) -> (value: Value, changed: Bool) diff --git a/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface b/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface index a5b56f61..5a69adf3 100644 --- a/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface +++ b/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface @@ -71,7 +71,10 @@ public struct Attribute { public var graph: AGGraph { get } public var subgraph: AGSubgraph { get } - public var value: Value { unsafeAddress set } + public var value: Value { + unsafeAddress + nonmutating set + } public var valueState: AGValueState { get } public func valueAndFlags(options: AGValueOptions = []) -> (value: Value, flags: AGChangedValueFlags) public func changedValue(options: AGValueOptions = []) -> (value: Value, changed: Bool) diff --git a/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface b/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface index 6cca96f3..c61cc750 100644 --- a/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface +++ b/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface @@ -71,7 +71,10 @@ public struct Attribute { public var graph: AGGraph { get } public var subgraph: AGSubgraph { get } - public var value: Value { unsafeAddress set } + public var value: Value { + unsafeAddress + nonmutating set + } public var valueState: AGValueState { get } public func valueAndFlags(options: AGValueOptions = []) -> (value: Value, flags: AGChangedValueFlags) public func changedValue(options: AGValueOptions = []) -> (value: Value, changed: Bool) diff --git a/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface b/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface index c6eda069..4bf15b6d 100644 --- a/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface +++ b/AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface @@ -71,7 +71,10 @@ public struct Attribute { public var graph: AGGraph { get } public var subgraph: AGSubgraph { get } - public var value: Value { unsafeAddress set } + public var value: Value { + unsafeAddress + nonmutating set + } public var valueState: AGValueState { get } public func valueAndFlags(options: AGValueOptions = []) -> (value: Value, flags: AGChangedValueFlags) public func changedValue(options: AGValueOptions = []) -> (value: Value, changed: Bool) diff --git a/AG/Sources/Modules/AttributeGraph.swiftmodule/template.swiftinterface b/AG/Sources/Modules/AttributeGraph.swiftmodule/template.swiftinterface index 2b64e258..11e47b45 100644 --- a/AG/Sources/Modules/AttributeGraph.swiftmodule/template.swiftinterface +++ b/AG/Sources/Modules/AttributeGraph.swiftmodule/template.swiftinterface @@ -67,7 +67,10 @@ public struct Attribute { public var graph: AGGraph { get } public var subgraph: AGSubgraph { get } - public var value: Value { unsafeAddress set } + public var value: Value { + unsafeAddress + nonmutating set + } public var valueState: AGValueState { get } public func valueAndFlags(options: AGValueOptions = []) -> (value: Value, flags: AGChangedValueFlags) public func changedValue(options: AGValueOptions = []) -> (value: Value, changed: Bool)