From 19445c289094d284413fb694fbbe0ab3ac4a4609 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 17:50:35 +0200 Subject: [PATCH 01/18] Compare Subgraph.Flags directly instead of by raw value --- Tests/ComputeTests/Shared/Attribute/AttributeTests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift b/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift index ee0dcc0..e990313 100644 --- a/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift +++ b/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift @@ -245,16 +245,16 @@ struct AttributeTests { attribute.flags = [] attribute.setFlags(Subgraph.Flags(rawValue: 1), mask: [Subgraph.Flags(rawValue: 1)]) - #expect(attribute.flags.rawValue == Subgraph.Flags(rawValue: 1).rawValue) + #expect(attribute.flags == Subgraph.Flags(rawValue: 1)) attribute.setFlags(Subgraph.Flags(rawValue: 2), mask: [Subgraph.Flags(rawValue: 2)]) - #expect(attribute.flags.rawValue == Subgraph.Flags(rawValue: 3).rawValue) + #expect(attribute.flags == Subgraph.Flags(rawValue: 3)) attribute.setFlags(Subgraph.Flags(rawValue: 4), mask: [Subgraph.Flags(rawValue: 1)]) - #expect(attribute.flags.rawValue == Subgraph.Flags(rawValue: 2).rawValue) + #expect(attribute.flags == Subgraph.Flags(rawValue: 2)) attribute.setFlags(Subgraph.Flags(rawValue: 5), mask: Subgraph.Flags(rawValue: 7)) - #expect(attribute.flags.rawValue == Subgraph.Flags(rawValue: 5).rawValue) + #expect(attribute.flags == Subgraph.Flags(rawValue: 5)) } } From 242d6be203bf8ccd9f3c2cf26b5fb231e41c0507 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 18:03:33 +0200 Subject: [PATCH 02/18] Add tests for TreeElement --- Package.resolved | 11 +- Package.swift | 2 + .../Shared/Subgraph/TreeTests.swift | 134 +++++++++++++----- .../Shared/SubgraphTreeRecordingTrait.swift | 32 +++++ .../Shared/TreeElement+StringConversion.swift | 27 ++++ 5 files changed, 173 insertions(+), 33 deletions(-) create mode 100644 Tests/ComputeTests/Shared/SubgraphTreeRecordingTrait.swift create mode 100644 Tests/ComputeTests/Shared/TreeElement+StringConversion.swift diff --git a/Package.resolved b/Package.resolved index 7953144..2b91d70 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "926e2fd9fc565c75f905ebf94506371af15cd1c2e0580b57c97fb499241158be", + "originHash" : "3c8d535e8281f7c984e2193337f85cc7ba925249dc8d6704a04c1b1d7c5204be", "pins" : [ { "identity" : "semaphore", @@ -27,6 +27,15 @@ "revision" : "e0ec0f5f3af6f3e4d5e7a19d2af26b481acb6ba8", "version" : "1.0.3" } + }, + { + "identity" : "swift-sexp", + "kind" : "remoteSourceControl", + "location" : "https://github.com/jcmosc/swift-sexp", + "state" : { + "branch" : "main", + "revision" : "9b86036edc8ce9b870acba04941d2239d71cd3c0" + } } ], "version" : 3 diff --git a/Package.swift b/Package.swift index bcac032..8c7bb5b 100644 --- a/Package.swift +++ b/Package.swift @@ -7,6 +7,7 @@ let swiftRuntimeHeadersPath = "\(Context.packageDirectory)/Submodules/swift-runt var dependencies: [Package.Dependency] = [ .package(url: "https://github.com/apple/swift-algorithms", from: "1.2.0"), .package(url: "https://github.com/groue/Semaphore", from: "0.1.0"), + .package(url: "https://github.com/jcmosc/swift-sexp", branch: "main"), ] let package = Package( @@ -60,6 +61,7 @@ let package = Package( dependencies: [ "Compute", "_ComputeTestSupport", + .product(name: "SExp", package: "swift-sexp"), .product(name: "Semaphore", package: "Semaphore"), ], swiftSettings: [ diff --git a/Tests/ComputeTests/Shared/Subgraph/TreeTests.swift b/Tests/ComputeTests/Shared/Subgraph/TreeTests.swift index 5f82cc7..b5fbe13 100644 --- a/Tests/ComputeTests/Shared/Subgraph/TreeTests.swift +++ b/Tests/ComputeTests/Shared/Subgraph/TreeTests.swift @@ -112,48 +112,109 @@ struct TreeTests { #expect(values.next() == nil) } - @Test(.applySubgraph) - func children() throws { - struct TestRule: Rule { - var value: String { - return "" + @MainActor + @Suite + struct ChildrenTests { + + @Test(.applySubgraph) + func children() throws { + struct TestRule: Rule { + var value: String { + return "" + } } - } - Subgraph.setShouldRecordTree() + Subgraph.setShouldRecordTree() - let attribute = Attribute(TestRule()) - let inputA = Attribute(value: "Input A") - let inputB = Attribute(value: 100) + let attribute = Attribute(TestRule()) + let inputA = Attribute(value: "Input A") + let inputB = Attribute(value: 100) - Subgraph.beginTreeElement(value: attribute, flags: 1) - defer { - Subgraph.endTreeElement(value: attribute) - } + Subgraph.beginTreeElement(value: attribute, flags: 1) + defer { + Subgraph.endTreeElement(value: attribute) + } - let childAttribute = Attribute(TestRule()) - let childInputA = Attribute(value: "Child Input A") - let childInputB = Attribute(value: 200) + let childAttribute = Attribute(TestRule()) + let childInputA = Attribute(value: "Child Input A") + let childInputB = Attribute(value: 200) - Subgraph.beginTreeElement(value: childAttribute, flags: 11) - Subgraph.addTreeValue(childInputA, forKey: "input_a", flags: 12) - Subgraph.addTreeValue(childInputB, forKey: "input_b", flags: 13) - Subgraph.endTreeElement(value: childAttribute) + Subgraph.beginTreeElement(value: childAttribute, flags: 11) + Subgraph.addTreeValue(childInputA, forKey: "input_a", flags: 12) + Subgraph.addTreeValue(childInputB, forKey: "input_b", flags: 13) + Subgraph.endTreeElement(value: childAttribute) - Subgraph.addTreeValue(inputA, forKey: "input_a", flags: 2) - Subgraph.addTreeValue(inputB, forKey: "input_b", flags: 3) + Subgraph.addTreeValue(inputA, forKey: "input_a", flags: 2) + Subgraph.addTreeValue(inputB, forKey: "input_b", flags: 3) - let treeRoot = try #require(Subgraph.current?.treeRoot) - var children = treeRoot.children + let treeRoot = try #require(Subgraph.current?.treeRoot) + var children = treeRoot.children - let firstOrNil = children.next() - let first = try #require(firstOrNil) - #expect(first.type == Metadata(String.self)) - #expect(first.value == childAttribute.identifier) - #expect(first.flags == 11) - #expect(first.parent == treeRoot) + let firstOrNil = children.next() + let first = try #require(firstOrNil) + #expect(first.type == Metadata(String.self)) + #expect(first.value == childAttribute.identifier) + #expect(first.flags == 11) + #expect(first.parent == treeRoot) + + #expect(children.next() == nil) + } + + @Test(.recordTree, .applySubgraph) + func childrenTraversingChildSubgraphs() throws { + struct TestRule: Rule { + var value: String { + return "" + } + } - #expect(children.next() == nil) + var keepAlivePool: [Subgraph] = [] + + Subgraph.setShouldRecordTree() + Subgraph.current!.index = 100 + + let attribute = Attribute(TestRule()) + var subgraphOwner: Attribute! + var childAttribute1: Attribute! + var childAttribute2: Attribute! + + makeTreeElement(attribute, flags: 1) { + let childSubgraph = Subgraph(graph: Subgraph.current!.graph) + Subgraph.current!.addChild(childSubgraph) + childSubgraph.index = 200 + keepAlivePool.append(childSubgraph) + + // Link child subgraph to parent subgraph tree + subgraphOwner = Attribute(TestRule()) + childSubgraph.setTreeOwner(subgraphOwner.identifier) + + childSubgraph.apply { + childAttribute1 = Attribute(TestRule()) + makeTreeElement(childAttribute1, flags: 2) { + // empty + } + + childAttribute2 = Attribute(TestRule()) + makeTreeElement(childAttribute2, flags: 3) { + // empty + } + } + } + + let treeRoot = try #require(Subgraph.current?.treeRoot) + #expect( + treeRoot.debugDescription == """ + (tree + (element + (element #:type String #:value \(attribute) #:flags 1 + (element #:value \(subgraphOwner!) + (element #:type String #:value \(childAttribute2!) #:flags 3) + (element #:type String #:value \(childAttribute1!) #:flags 2))))) + """ + ) + + keepAlivePool.removeAll() + } } @Test(.applySubgraph) @@ -196,3 +257,12 @@ struct TreeTests { } } + +func makeTreeElement(_ attribute: Attribute, flags: UInt32, body: () -> U) -> U { + Subgraph.beginTreeElement(value: attribute, flags: flags) + defer { + Subgraph.endTreeElement(value: attribute) + } + + return body() +} diff --git a/Tests/ComputeTests/Shared/SubgraphTreeRecordingTrait.swift b/Tests/ComputeTests/Shared/SubgraphTreeRecordingTrait.swift new file mode 100644 index 0000000..c3e1ee0 --- /dev/null +++ b/Tests/ComputeTests/Shared/SubgraphTreeRecordingTrait.swift @@ -0,0 +1,32 @@ +import Semaphore +import Testing + +public struct SubgraphTreeRecordingTrait: TestTrait, TestScoping, SuiteTrait { + private static let semaphore = AsyncSemaphore(value: 1) + + @MainActor + public func provideScope( + for test: Test, + testCase: Test.Case?, + performing function: @Sendable () async throws -> Void + ) async throws { + await Self.semaphore.wait() + defer { Self.semaphore.signal() } + + Subgraph.setShouldRecordTree() + try await function() + } + + public var isRecursive: Bool { + true + } + +} + +extension Trait where Self == SubgraphTreeRecordingTrait { + + public static var recordTree: Self { + return SubgraphTreeRecordingTrait() + } + +} diff --git a/Tests/ComputeTests/Shared/TreeElement+StringConversion.swift b/Tests/ComputeTests/Shared/TreeElement+StringConversion.swift new file mode 100644 index 0000000..5a6f770 --- /dev/null +++ b/Tests/ComputeTests/Shared/TreeElement+StringConversion.swift @@ -0,0 +1,27 @@ +import SExp + +extension TreeElement { + var debugDescription: String { + var printer = SExpPrinter(tag: "tree") + print(into: &printer) + return printer.end() + } + + func print(into printer: inout SExpPrinter) { + printer.push("element") + if unsafeBitCast(type, to: UInt64.self) != 0 { + printer.print("#:type \(type)", newline: false) + } + if let value { + printer.print("#:value \(value)", newline: false) + } + if flags != 0 { + printer.print("#:flags \(flags)", newline: false) + } + var children = self.children + while let child = children.next() { + child.print(into: &printer) + } + printer.pop() + } +} From 3ffa253dfd510cf749a43bcfa6330e5b7b623948 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 20:37:40 +0200 Subject: [PATCH 03/18] Add AttributeGraph.xcframework under CompatibilityTesting --- .../AttributeGraph.xcframework/Info.plist | 43 + .../AttributeGraph.tbd | 779 ++++++++++++++++++ .../Headers/AGAttribute.h | 21 + .../Headers/AGAttributeInfo.h | 17 + .../Headers/AGAttributeType.h | 67 ++ .../AttributeGraph.framework/Headers/AGBase.h | 215 +++++ .../Headers/AGCachedValueOptions.h | 16 + .../Headers/AGChangedValue.h | 26 + .../Headers/AGClosure.h | 24 + .../Headers/AGComparison.h | 70 ++ .../Headers/AGDescription.h | 37 + .../Headers/AGGraph.h | 382 +++++++++ .../Headers/AGGraphCounterQueryType.h | 20 + .../Headers/AGGraphTracing.h | 102 +++ .../Headers/AGInputOptions.h | 20 + .../Headers/AGSearchOptions.h | 17 + .../Headers/AGSubgraph.h | 186 +++++ .../Headers/AGTargetConditionals.h | 283 +++++++ .../Headers/AGTraceType.h | 82 ++ .../Headers/AGTreeElement.h | 81 ++ .../Headers/AGTreeValue.h | 31 + .../Headers/AGTuple.h | 89 ++ .../AttributeGraph.framework/Headers/AGType.h | 129 +++ .../Headers/AGUniqueID.h | 15 + .../Headers/AGValue.h | 32 + .../Headers/AGWeakAttribute.h | 27 + .../Headers/AttributeGraph.h | 26 + .../AttributeGraph.framework/Info.plist | 16 + .../arm64-apple-ios-macabi.swiftinterface | 712 ++++++++++++++++ .../arm64e-apple-ios-macabi.swiftinterface | 712 ++++++++++++++++ .../x86_64-apple-ios-macabi.swiftinterface | 712 ++++++++++++++++ .../Modules/module.modulemap | 8 + .../AttributeGraph.tbd | 1 + .../AttributeGraph.framework/Headers | 1 + .../AttributeGraph.framework/Modules | 1 + .../AttributeGraph.framework/Resources | 1 + .../Versions/A/AttributeGraph.tbd | 779 ++++++++++++++++++ .../Versions/A/Headers/AGAttribute.h | 21 + .../Versions/A/Headers/AGAttributeInfo.h | 17 + .../Versions/A/Headers/AGAttributeType.h | 67 ++ .../Versions/A/Headers/AGBase.h | 215 +++++ .../Versions/A/Headers/AGCachedValueOptions.h | 16 + .../Versions/A/Headers/AGChangedValue.h | 26 + .../Versions/A/Headers/AGClosure.h | 24 + .../Versions/A/Headers/AGComparison.h | 70 ++ .../Versions/A/Headers/AGDescription.h | 37 + .../Versions/A/Headers/AGGraph.h | 382 +++++++++ .../A/Headers/AGGraphCounterQueryType.h | 20 + .../Versions/A/Headers/AGGraphTracing.h | 102 +++ .../Versions/A/Headers/AGInputOptions.h | 20 + .../Versions/A/Headers/AGSearchOptions.h | 17 + .../Versions/A/Headers/AGSubgraph.h | 186 +++++ .../Versions/A/Headers/AGTargetConditionals.h | 283 +++++++ .../Versions/A/Headers/AGTraceType.h | 82 ++ .../Versions/A/Headers/AGTreeElement.h | 81 ++ .../Versions/A/Headers/AGTreeValue.h | 31 + .../Versions/A/Headers/AGTuple.h | 89 ++ .../Versions/A/Headers/AGType.h | 129 +++ .../Versions/A/Headers/AGUniqueID.h | 15 + .../Versions/A/Headers/AGValue.h | 32 + .../Versions/A/Headers/AGWeakAttribute.h | 27 + .../Versions/A/Headers/AttributeGraph.h | 26 + .../arm64-apple-macos.swiftinterface | 712 ++++++++++++++++ .../arm64e-apple-macos.swiftinterface | 712 ++++++++++++++++ .../x86_64-apple-macos.swiftinterface | 712 ++++++++++++++++ .../Versions/A/Modules/module.modulemap | 8 + .../Versions/A/Resources/Info.plist | 16 + .../AttributeGraph.framework/Versions/Current | 1 + CompatibilityTesting/Package.resolved | 20 +- CompatibilityTesting/Package.swift | 46 +- .../Scripts/Resources/AttributeGraph.tbd | 779 ++++++++++++++++++ .../Scripts/update-frameworks.sh | 134 +++ 72 files changed, 10890 insertions(+), 45 deletions(-) create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/Info.plist create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/AttributeGraph.tbd create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttribute.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttributeInfo.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttributeType.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGBase.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGCachedValueOptions.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGChangedValue.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGClosure.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGComparison.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGDescription.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraph.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraphCounterQueryType.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraphTracing.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGInputOptions.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGSearchOptions.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGSubgraph.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTargetConditionals.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTraceType.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTreeElement.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTreeValue.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTuple.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGType.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGUniqueID.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGValue.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGWeakAttribute.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AttributeGraph.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Info.plist create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/module.modulemap create mode 120000 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/AttributeGraph.tbd create mode 120000 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Headers create mode 120000 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Modules create mode 120000 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Resources create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/AttributeGraph.tbd create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttribute.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttributeInfo.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttributeType.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGBase.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGCachedValueOptions.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGChangedValue.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGClosure.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGComparison.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGDescription.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraph.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraphCounterQueryType.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraphTracing.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGInputOptions.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGSearchOptions.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGSubgraph.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTargetConditionals.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTraceType.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTreeElement.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTreeValue.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTuple.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGType.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGUniqueID.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGValue.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGWeakAttribute.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AttributeGraph.h create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/module.modulemap create mode 100644 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Resources/Info.plist create mode 120000 CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/Current create mode 100644 CompatibilityTesting/Scripts/Resources/AttributeGraph.tbd create mode 100755 CompatibilityTesting/Scripts/update-frameworks.sh diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/Info.plist b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/Info.plist new file mode 100644 index 0000000..3b4dd0c --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/Info.plist @@ -0,0 +1,43 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + macos-arm64_arm64e_x86_64 + LibraryPath + AttributeGraph.framework + SupportedArchitectures + + arm64 + arm64e + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + maccatalyst-arm64_arm64e_x86_64 + LibraryPath + AttributeGraph.framework + SupportedArchitectures + + arm64 + arm64e + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/AttributeGraph.tbd b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/AttributeGraph.tbd new file mode 100644 index 0000000..b6ca59f --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/AttributeGraph.tbd @@ -0,0 +1,779 @@ +--- !tapi-tbd +tbd-version: 4 +targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos, arm64-maccatalyst, arm64e-maccatalyst ] +install-name: '/System/Library/PrivateFrameworks/AttributeGraph.framework/Versions/A/AttributeGraph' +current-version: 7 +exports: + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos, arm64-maccatalyst, arm64e-maccatalyst ] + symbols: [ _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavM, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavs, + _$s14AttributeGraph011AnyOptionalA0V10unsafeCast2toAA0dA0VyxGxm_tlF, + _$s14AttributeGraph011AnyOptionalA0V11descriptionSSvg, + _$s14AttributeGraph011AnyOptionalA0V11descriptionSSvpMV, + _$s14AttributeGraph011AnyOptionalA0V2eeoiySbAC_ACtFZ, + _$s14AttributeGraph011AnyOptionalA0V3mapyxSgxSo11AGAttributeaXElF, + _$s14AttributeGraph011AnyOptionalA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph011AnyOptionalA0V7currentACvgZ, + _$s14AttributeGraph011AnyOptionalA0V7currentACvpZMV, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvM, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvg, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvpMV, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvs, + _$s14AttributeGraph011AnyOptionalA0V9hashValueSivg, + _$s14AttributeGraph011AnyOptionalA0V9hashValueSivpMV, + _$s14AttributeGraph011AnyOptionalA0VACycfC, + _$s14AttributeGraph011AnyOptionalA0VMa, + _$s14AttributeGraph011AnyOptionalA0VMn, + _$s14AttributeGraph011AnyOptionalA0VN, + _$s14AttributeGraph011AnyOptionalA0VSHAAMc, + _$s14AttributeGraph011AnyOptionalA0VSQAAMc, + _$s14AttributeGraph011AnyOptionalA0Vs23CustomStringConvertibleAAMc, + _$s14AttributeGraph011AnyOptionalA0VyACSo06AGWeakA0acfC, + _$s14AttributeGraph011AnyOptionalA0VyACSo11AGAttributeaSgcfC, + _$s14AttributeGraph011AnyOptionalA0VyACSo11AGAttributeacfC, + _$s14AttributeGraph011AnyOptionalA0VyAcA0dA0VyxGclufC, + _$s14AttributeGraph01_A4BodyMp, + _$s14AttributeGraph01_A4BodyP12_destroySelfyySvFZTj, + _$s14AttributeGraph01_A4BodyP12_destroySelfyySvFZTq, + _$s14AttributeGraph01_A4BodyP14_updateDefaultyySvFZTj, + _$s14AttributeGraph01_A4BodyP14_updateDefaultyySvFZTq, + _$s14AttributeGraph01_A4BodyP14comparisonModeSo012AGComparisonE0VvgZTj, + _$s14AttributeGraph01_A4BodyP14comparisonModeSo012AGComparisonE0VvgZTq, + _$s14AttributeGraph01_A4BodyP15_hasDestroySelfSbvgZTj, + _$s14AttributeGraph01_A4BodyP15_hasDestroySelfSbvgZTq, + _$s14AttributeGraph01_A4BodyP5flagsSo20AGAttributeTypeFlagsVvgZTj, + _$s14AttributeGraph01_A4BodyP5flagsSo20AGAttributeTypeFlagsVvgZTq, + _$s14AttributeGraph01_A4BodyPAAE12_destroySelfyySvFZ, + _$s14AttributeGraph01_A4BodyPAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph01_A4BodyPAAE14comparisonModeSo012AGComparisonE0VvgZ, + _$s14AttributeGraph01_A4BodyPAAE14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph01_A4BodyPAAE15_hasDestroySelfSbvgZ, + _$s14AttributeGraph01_A4BodyPAAE15_hasDestroySelfSbvpZMV, + _$s14AttributeGraph01_A4BodyPAAE18updateWasCancelledSbvpMV, + _$s14AttributeGraph01_A4BodyPAAE5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph01_A4BodyPAAE5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph01_A4BodyTL, + _$s14AttributeGraph04WeakA0V11descriptionSSvg, + _$s14AttributeGraph04WeakA0V11descriptionSSvpMV, + _$s14AttributeGraph04WeakA0V12changedValue7optionsx5value_Sb0D0tSgSo14AGValueOptionsV_tF, + _$s14AttributeGraph04WeakA0V12wrappedValuexSgvg, + _$s14AttributeGraph04WeakA0V12wrappedValuexSgvpMV, + _$s14AttributeGraph04WeakA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph04WeakA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvM, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvg, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvpMV, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvs, + _$s14AttributeGraph04WeakA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph04WeakA0V4baseACyxGSo06AGWeakA0a_tcfC, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avM, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avg, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avpMV, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avs, + _$s14AttributeGraph04WeakA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph04WeakA0V5valuexSgvg, + _$s14AttributeGraph04WeakA0V5valuexSgvpMV, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvM, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvg, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvpMV, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvs, + _$s14AttributeGraph04WeakA0V9hashValueSivg, + _$s14AttributeGraph04WeakA0V9hashValueSivpMV, + _$s14AttributeGraph04WeakA0VACyxGycfC, + _$s14AttributeGraph04WeakA0VMa, + _$s14AttributeGraph04WeakA0VMn, + _$s14AttributeGraph04WeakA0VyACyxGAA0A0VyxGSgcfC, + _$s14AttributeGraph04WeakA0VyACyxGAA0A0VyxGcfC, + _$s14AttributeGraph04WeakA0VyxGSHAAMc, + _$s14AttributeGraph04WeakA0VyxGSQAAMc, + _$s14AttributeGraph04WeakA0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvM, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvg, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvpMV, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvs, + _$s14AttributeGraph08IndirectA0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph08IndirectA0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph08IndirectA0V11resetSourceyyF, + _$s14AttributeGraph08IndirectA0V12changedValue7optionsx5value_Sb0D0tSo14AGValueOptionsV_tF, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvM, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvg, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvpMV, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvs, + _$s14AttributeGraph08IndirectA0V13dynamicMemberAA0A0Vyqd__Gs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph08IndirectA0V13dynamicMemberAA0A0Vyqd__Gs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph08IndirectA0V14projectedValueAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V14projectedValueAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph08IndirectA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph08IndirectA0V5valuexvM, + _$s14AttributeGraph08IndirectA0V5valuexvg, + _$s14AttributeGraph08IndirectA0V5valuexvpMV, + _$s14AttributeGraph08IndirectA0V5valuexvs, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvM, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvs, + _$s14AttributeGraph08IndirectA0V6sourceACyxGAA0A0VyxG_tcfC, + _$s14AttributeGraph08IndirectA0V9attributeAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V9attributeAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V9hashValueSivg, + _$s14AttributeGraph08IndirectA0V9hashValueSivpMV, + _$s14AttributeGraph08IndirectA0VMa, + _$s14AttributeGraph08IndirectA0VMn, + _$s14AttributeGraph08IndirectA0VyxGSHAAMc, + _$s14AttributeGraph08IndirectA0VyxGSQAAMc, + _$s14AttributeGraph08ObservedA0Mp, + _$s14AttributeGraph08ObservedA0P7destroyyyFTj, + _$s14AttributeGraph08ObservedA0P7destroyyyFTq, + _$s14AttributeGraph08ObservedA0PAA01_A4BodyTb, + _$s14AttributeGraph08ObservedA0PAAE12_destroySelfyySvFZ, + _$s14AttributeGraph08ObservedA0PAAE15_hasDestroySelfSbvgZ, + _$s14AttributeGraph08ObservedA0PAAE15_hasDestroySelfSbvpZMV, + _$s14AttributeGraph08ObservedA0TL, + _$s14AttributeGraph08OptionalA0V11descriptionSSvg, + _$s14AttributeGraph08OptionalA0V11descriptionSSvpMV, + _$s14AttributeGraph08OptionalA0V12changedValue7optionsx5value_Sb0D0tSgSo14AGValueOptionsV_tF, + _$s14AttributeGraph08OptionalA0V12wrappedValuexSgvg, + _$s14AttributeGraph08OptionalA0V12wrappedValuexSgvpMV, + _$s14AttributeGraph08OptionalA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph08OptionalA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvM, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvg, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvpMV, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvs, + _$s14AttributeGraph08OptionalA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph08OptionalA0V3mapyqd__Sgqd__AA0A0VyxGXElF, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0VvM, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0Vvg, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0VvpMV, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0Vvs, + _$s14AttributeGraph08OptionalA0V4baseACyxGAA03AnycA0V_tcfC, + _$s14AttributeGraph08OptionalA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph08OptionalA0V5valuexSgvg, + _$s14AttributeGraph08OptionalA0V5valuexSgvpMV, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvM, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvg, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvpMV, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvs, + _$s14AttributeGraph08OptionalA0V9hashValueSivg, + _$s14AttributeGraph08OptionalA0V9hashValueSivpMV, + _$s14AttributeGraph08OptionalA0VACyxGycfC, + _$s14AttributeGraph08OptionalA0VMa, + _$s14AttributeGraph08OptionalA0VMn, + _$s14AttributeGraph08OptionalA0VyACyxGAA04WeakA0VyxGcfC, + _$s14AttributeGraph08OptionalA0VyACyxGAA0A0VyxGSgcfC, + _$s14AttributeGraph08OptionalA0VyACyxGAA0A0VyxGcfC, + _$s14AttributeGraph08OptionalA0VyxGSHAAMc, + _$s14AttributeGraph08OptionalA0VyxGSQAAMc, + _$s14AttributeGraph08OptionalA0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph0A0V10identifierACyxGSo11AGAttributea_tcfC, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavM, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavs, + _$s14AttributeGraph0A0V10mutateBody2as12invalidating_yqd__m_Sbyqd__zXEtlF, + _$s14AttributeGraph0A0V10unsafeCast2toACyqd__Gqd__m_tlF, + _$s14AttributeGraph0A0V10valueStateSo07AGValueD0Vvg, + _$s14AttributeGraph0A0V10valueStateSo07AGValueD0VvpMV, + _$s14AttributeGraph0A0V11descriptionSSvg, + _$s14AttributeGraph0A0V11descriptionSSvpMV, + _$s14AttributeGraph0A0V11updateValueyyF, + _$s14AttributeGraph0A0V12changedValue7optionsx5value_Sb0C0tSo14AGValueOptionsV_tF, + _$s14AttributeGraph0A0V12unsafeOffset2at2asACyqd__GSi_qd__mtlF, + _$s14AttributeGraph0A0V12wrappedValuexvM, + _$s14AttributeGraph0A0V12wrappedValuexvg, + _$s14AttributeGraph0A0V12wrappedValuexvlu, + _$s14AttributeGraph0A0V12wrappedValuexvpMV, + _$s14AttributeGraph0A0V12wrappedValuexvs, + _$s14AttributeGraph0A0V13dynamicMemberACyqd__Gs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph0A0V13dynamicMemberACyqd__Gs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph0A0V13prefetchValueyyF, + _$s14AttributeGraph0A0V13subgraphOrNilSo13AGSubgraphRefaSgvpMV, + _$s14AttributeGraph0A0V13valueAndFlags7optionsx0C0_So014AGChangedValueE0V5flagstSo14AGValueOptionsV_tF, + _$s14AttributeGraph0A0V14projectedValueACyxGvM, + _$s14AttributeGraph0A0V14projectedValueACyxGvg, + _$s14AttributeGraph0A0V14projectedValueACyxGvpMV, + _$s14AttributeGraph0A0V14projectedValueACyxGvs, + _$s14AttributeGraph0A0V15invalidateValueyyF, + _$s14AttributeGraph0A0V18breadthFirstSearch7options_SbSo15AGSearchOptionsV_SbSo11AGAttributeaXEtF, + _$s14AttributeGraph0A0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph0A0V4body5value5flags6updateACyxGSPyqd__G_SPyxGSgSo20AGAttributeTypeFlagsVySv_So0G0atcyXEtcAA01_A4BodyRd__lufC, + _$s14AttributeGraph0A0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph0A0V4typeACyxGxm_tcfC, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvM, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvg, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvpMV, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvs, + _$s14AttributeGraph0A0V5graphSo10AGGraphRefavg, + _$s14AttributeGraph0A0V5graphSo10AGGraphRefavpMV, + _$s14AttributeGraph0A0V5valueACyxGx_tcfC, + _$s14AttributeGraph0A0V5valuexvM, + _$s14AttributeGraph0A0V5valuexvg, + _$s14AttributeGraph0A0V5valuexvlu, + _$s14AttributeGraph0A0V5valuexvpMV, + _$s14AttributeGraph0A0V5valuexvs, + _$s14AttributeGraph0A0V6offsetACyqd__GAA13PointerOffsetVyxqd__GxzXE_tcluig, + _$s14AttributeGraph0A0V7keyPathACyqd__Gs03KeyD0Cyxqd__G_tcluig, + _$s14AttributeGraph0A0V7keyPathACyqd__Gs03KeyD0Cyxqd__G_tcluipMV, + _$s14AttributeGraph0A0V8addInput_7options5tokenyACyqd__G_So14AGInputOptionsVSitlF, + _$s14AttributeGraph0A0V8addInput_7options5tokenySo11AGAttributea_So14AGInputOptionsVSitF, + _$s14AttributeGraph0A0V8applying6offsetACyqd__GAA13PointerOffsetVyxqd__G_tlF, + _$s14AttributeGraph0A0V8hasValueSbvg, + _$s14AttributeGraph0A0V8hasValueSbvpMV, + _$s14AttributeGraph0A0V8setFlags_4maskySo011AGAttributeD0V_AGtF, + _$s14AttributeGraph0A0V8setValueySbxF, + _$s14AttributeGraph0A0V8subgraphSo13AGSubgraphRefavg, + _$s14AttributeGraph0A0V8subgraphSo13AGSubgraphRefavpMV, + _$s14AttributeGraph0A0V8validateyyF, + _$s14AttributeGraph0A0V9hashValueSivg, + _$s14AttributeGraph0A0V9hashValueSivpMV, + _$s14AttributeGraph0A0V9visitBodyyyqd__zAA0aD7VisitorRd__lF, + _$s14AttributeGraph0A0VMa, + _$s14AttributeGraph0A0VMn, + _$s14AttributeGraph0A0V_12initialValueACyxGqd___xtc0D0Qyd__RszAA12StatefulRuleRd__lufC, + _$s14AttributeGraph0A0V_12initialValueACyxGqd___xtc0D0Qyd__RszAA4RuleRd__lufC, + _$s14AttributeGraph0A0VyACyxGADcfC, + _$s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufC, + _$s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA4RuleRd__lufC, + _$s14AttributeGraph0A0VyxGSHAAMc, + _$s14AttributeGraph0A0VyxGSQAAMc, + _$s14AttributeGraph0A0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph0A11BodyVisitorMp, + _$s14AttributeGraph0A11BodyVisitorP5visit4bodyySPyqd__G_tAA01_aC0Rd__lFTj, + _$s14AttributeGraph0A11BodyVisitorP5visit4bodyySPyqd__G_tAA01_aC0Rd__lFTq, + _$s14AttributeGraph0A11BodyVisitorTL, + _$s14AttributeGraph11RuleContextV12changedValue2of7optionsqd__5value_Sb0E0tAA0A0Vyqd__G_So14AGValueOptionsVtlF, + _$s14AttributeGraph11RuleContextV13valueAndFlags2of7optionsqd__0E0_So014AGChangedValueG0V5flagstAA0A0Vyqd__G_So14AGValueOptionsVtlF, + _$s14AttributeGraph11RuleContextV2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph11RuleContextV5valuexvM, + _$s14AttributeGraph11RuleContextV5valuexvg, + _$s14AttributeGraph11RuleContextV5valuexvlu, + _$s14AttributeGraph11RuleContextV5valuexvpMV, + _$s14AttributeGraph11RuleContextV5valuexvs, + _$s14AttributeGraph11RuleContextV6update4bodyyyyXE_tF, + _$s14AttributeGraph11RuleContextV8hasValueSbvg, + _$s14AttributeGraph11RuleContextV8hasValueSbvpMV, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvM, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvg, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvpMV, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvs, + _$s14AttributeGraph11RuleContextV9attributeACyxGAA0A0VyxG_tcfC, + _$s14AttributeGraph11RuleContextVMa, + _$s14AttributeGraph11RuleContextVMn, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__Gcluilu, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyqd__SgAA04WeakA0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__SgAA04WeakA0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyqd__SgAA08OptionalA0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__SgAA08OptionalA0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyxGSQAAMc, + _$s14AttributeGraph12StatefulRuleMp, + _$s14AttributeGraph12StatefulRuleP11updateValueyyFTj, + _$s14AttributeGraph12StatefulRuleP11updateValueyyFTq, + _$s14AttributeGraph12StatefulRuleP12initialValue0F0QzSgvgZTj, + _$s14AttributeGraph12StatefulRuleP12initialValue0F0QzSgvgZTq, + _$s14AttributeGraph12StatefulRulePAA01_A4BodyTb, + _$s14AttributeGraph12StatefulRulePAAE11bodyChangedSbvpMV, + _$s14AttributeGraph12StatefulRulePAAE12initialValue0F0QzSgvgZ, + _$s14AttributeGraph12StatefulRulePAAE12initialValue0F0QzSgvpZMV, + _$s14AttributeGraph12StatefulRulePAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvM, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvg, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvlu, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvpMV, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvs, + _$s14AttributeGraph12StatefulRulePAAE7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph12StatefulRulePAAE7contextAA0D7ContextVy5ValueQzGvg, + _$s14AttributeGraph12StatefulRulePAAE7contextAA0D7ContextVy5ValueQzGvpMV, + _$s14AttributeGraph12StatefulRulePAAE8hasValueSbvg, + _$s14AttributeGraph12StatefulRulePAAE8hasValueSbvpMV, + _$s14AttributeGraph12StatefulRulePAAE9attributeAA0A0Vy5ValueQzGvg, + _$s14AttributeGraph12StatefulRulePAAE9attributeAA0A0Vy5ValueQzGvpMV, + _$s14AttributeGraph12StatefulRuleTL, + _$s14AttributeGraph12forEachField2of2doyypXp_ySPys4Int8VG_SiypXptXEtF, + _$s14AttributeGraph13PointerOffsetV012invalidSceneC0SpyxGyFZ, + _$s14AttributeGraph13PointerOffsetV04byteD0ACyxq_GSi_tcfC, + _$s14AttributeGraph13PointerOffsetV04byteD0SivM, + _$s14AttributeGraph13PointerOffsetV04byteD0Sivg, + _$s14AttributeGraph13PointerOffsetV04byteD0SivpMV, + _$s14AttributeGraph13PointerOffsetV04byteD0Sivs, + _$s14AttributeGraph13PointerOffsetV1poiyACyxq_GACyxqd__G_ACyqd__q_GtlFZ, + _$s14AttributeGraph13PointerOffsetV2ofyACyxq_Gq_zFZ, + _$s14AttributeGraph13PointerOffsetV6offsetyACyxq_GAExzXEFZ, + _$s14AttributeGraph13PointerOffsetVAAq_RszrlEACyxxGycfC, + _$s14AttributeGraph13PointerOffsetVMa, + _$s14AttributeGraph13PointerOffsetVMn, + _$s14AttributeGraph13compareValues__4modeSbx_xSo16AGComparisonModeVtlF, + _$s14AttributeGraph13compareValues__7optionsSbx_xSo19AGComparisonOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV10unsafeCast2toAA0dE0VyxGxm_tlF, + _$s14AttributeGraph14AnyRuleContextV12changedValue2of7optionsx5value_Sb0F0tAA0A0VyxG_So14AGValueOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV13valueAndFlags2of7optionsx0F0_So014AGChangedValueH0V5flagstAA0A0VyxG_So14AGValueOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV2eeoiySbAC_ACtFZ, + _$s14AttributeGraph14AnyRuleContextV6update4bodyyyyXE_tF, + _$s14AttributeGraph14AnyRuleContextV9attributeACSo11AGAttributea_tcfC, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavM, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavg, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavpMV, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavs, + _$s14AttributeGraph14AnyRuleContextVMa, + _$s14AttributeGraph14AnyRuleContextVMn, + _$s14AttributeGraph14AnyRuleContextVN, + _$s14AttributeGraph14AnyRuleContextVSQAAMc, + _$s14AttributeGraph14AnyRuleContextVyAcA0dE0VyxGclufC, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluilu, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluipMV, + _$s14AttributeGraph14AnyRuleContextVyxSgAA04WeakA0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxSgAA04WeakA0VyxGcluipMV, + _$s14AttributeGraph14AnyRuleContextVyxSgAA08OptionalA0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxSgAA08OptionalA0VyxGcluipMV, + _$s14AttributeGraph15withUnsafeTuple2of5count_ySo11AGTupleTypea_SiySo015AGUnsafeMutableE0aXEtF, + _$s14AttributeGraph27withUnsafePointerToEnumCase2of2doSbSpyxG_ySi_ypXpSVtXEtlF, + _$s14AttributeGraph34withUnsafeMutablePointerToEnumCase2of2doSbSpyxG_ySi_ypXpSvtXEtlF, + _$s14AttributeGraph3MapV11descriptionSSvg, + _$s14AttributeGraph3MapV11descriptionSSvpMV, + _$s14AttributeGraph3MapV3argAA0A0VyxGvM, + _$s14AttributeGraph3MapV3argAA0A0VyxGvg, + _$s14AttributeGraph3MapV3argAA0A0VyxGvpMV, + _$s14AttributeGraph3MapV3argAA0A0VyxGvs, + _$s14AttributeGraph3MapV4bodyyq_xcvg, + _$s14AttributeGraph3MapV4bodyyq_xcvpMV, + _$s14AttributeGraph3MapV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph3MapV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph3MapV5valueq_vg, + _$s14AttributeGraph3MapV5valueq_vpMV, + _$s14AttributeGraph3MapVMa, + _$s14AttributeGraph3MapVMn, + _$s14AttributeGraph3MapVyACyxq_GAA0A0VyxG_q_xctcfC, + _$s14AttributeGraph3MapVyxq_GAA01_A4BodyAAMc, + _$s14AttributeGraph3MapVyxq_GAA01_A4BodyAAWP, + _$s14AttributeGraph3MapVyxq_GAA4RuleAAMc, + _$s14AttributeGraph3MapVyxq_Gs23CustomStringConvertibleAAMc, + _$s14AttributeGraph4RuleMp, + _$s14AttributeGraph4RuleP12initialValue0E0QzSgvgZTj, + _$s14AttributeGraph4RuleP12initialValue0E0QzSgvgZTq, + _$s14AttributeGraph4RuleP5value5ValueQzvgTj, + _$s14AttributeGraph4RuleP5value5ValueQzvgTq, + _$s14AttributeGraph4RulePAA01_A4BodyTb, + _$s14AttributeGraph4RulePAAE11bodyChangedSbvpMV, + _$s14AttributeGraph4RulePAAE12initialValue0E0QzSgvgZ, + _$s14AttributeGraph4RulePAAE12initialValue0E0QzSgvpZMV, + _$s14AttributeGraph4RulePAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph4RulePAAE7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph4RulePAAE7contextAA0C7ContextVy5ValueQzGvg, + _$s14AttributeGraph4RulePAAE7contextAA0C7ContextVy5ValueQzGvpMV, + _$s14AttributeGraph4RulePAAE9attributeAA0A0Vy5ValueQzGvg, + _$s14AttributeGraph4RulePAAE9attributeAA0A0Vy5ValueQzGvpMV, + _$s14AttributeGraph4RulePAASHRzrlE11cachedValue7options5owner0E0ACQzSo08AGCachedE7OptionsV_So11AGAttributeaSgtF, + _$s14AttributeGraph4RulePAASHRzrlE12_cachedValue7options5owner04hashE07bodyPtr6updateSPy0E0ACQzGSo08AGCachedE7OptionsV_So11AGAttributeaSgSiSVySv_APtcyXEtFZ, + _$s14AttributeGraph4RulePAASHRzrlE19cachedValueIfExists7options5owner0E0ACQzSgSo08AGCachedE7OptionsV_So11AGAttributeaSgtF, + _$s14AttributeGraph4RuleTL, + _$s14AttributeGraph5FocusV11descriptionSSvg, + _$s14AttributeGraph5FocusV11descriptionSSvpMV, + _$s14AttributeGraph5FocusV4root7keyPathACyxq_GAA0A0VyxG_s03KeyF0Cyxq_GtcfC, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvM, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvg, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvpMV, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvs, + _$s14AttributeGraph5FocusV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph5FocusV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph5FocusV5valueq_vg, + _$s14AttributeGraph5FocusV5valueq_vpMV, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_GvM, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_Gvg, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_GvpMV, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_Gvs, + _$s14AttributeGraph5FocusVMa, + _$s14AttributeGraph5FocusVMn, + _$s14AttributeGraph5FocusVyxq_GAA01_A4BodyAAMc, + _$s14AttributeGraph5FocusVyxq_GAA01_A4BodyAAWP, + _$s14AttributeGraph5FocusVyxq_GAA4RuleAAMc, + _$s14AttributeGraph5FocusVyxq_Gs23CustomStringConvertibleAAMc, + _$s14AttributeGraph8ExternalV11descriptionSSvg, + _$s14AttributeGraph8ExternalV11descriptionSSvpMV, + _$s14AttributeGraph8ExternalV14comparisonModeSo012AGComparisonE0VvgZ, + _$s14AttributeGraph8ExternalV14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph8ExternalV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph8ExternalV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph8ExternalV7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph8ExternalVACyxGycfC, + _$s14AttributeGraph8ExternalVMa, + _$s14AttributeGraph8ExternalVMn, + _$s14AttributeGraph8ExternalVyxGAA01_A4BodyAAMc, + _$s14AttributeGraph8ExternalVyxGAA01_A4BodyAAWP, + _$s14AttributeGraph8ExternalVyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph9_ExternalV11descriptionSSvg, + _$s14AttributeGraph9_ExternalV11descriptionSSvpMV, + _$s14AttributeGraph9_ExternalV14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph9_ExternalV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph9_ExternalVAA01_A4BodyAAMc, + _$s14AttributeGraph9_ExternalVAA01_A4BodyAAWP, + _$s14AttributeGraph9_ExternalVMa, + _$s14AttributeGraph9_ExternalVMn, + _$s14AttributeGraph9_ExternalVN, + _$s14AttributeGraph9_ExternalVs23CustomStringConvertibleAAMc, + _$s5Value14AttributeGraph12StatefulRulePTl, + _$s5Value14AttributeGraph4RulePTl, + _$sSP14AttributeGraphE1poiySPyqd__GSPyxG_AA13PointerOffsetVyxqd__GtlFZ, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluig, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluilu, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluipMV, + _$sSo10AGGraphRefa14AttributeGraphE10printStack9maxFramesySi_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE11archiveJSON4nameySSSg_tF, + _$sSo10AGGraphRefa14AttributeGraphE11markProfile4nameySPys4Int8VG_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE12resetProfileyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE12withDeadlineyxs6UInt64V_xyXEtlF, + _$sSo10AGGraphRefa14AttributeGraphE13addTraceEvent_5valueySPys4Int8VG_xtlF, + _$sSo10AGGraphRefa14AttributeGraphE13addTraceEvent_7contextySPys4Int8VG_SPyxGtlF, + _$sSo10AGGraphRefa14AttributeGraphE13stopProfilingyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE13withoutUpdateyxxyXElFZ, + _$sSo10AGGraphRefa14AttributeGraphE14onInvalidationyyySo11AGAttributeacF, + _$sSo10AGGraphRefa14AttributeGraphE14startProfilingyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE16stackDescription9maxFramesSSSi_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE19graphvizDescription13includeValuesSSSb_tF, + _$sSo10AGGraphRefa14AttributeGraphE21withMainThreadHandler_2doyyyyXEXE_yyXEtF, + _$sSo10AGGraphRefa14AttributeGraphE27withoutSubgraphInvalidationyxxyXElF, + _$sSo10AGGraphRefa14AttributeGraphE5print13includeValuesySb_tF, + _$sSo10AGGraphRefa14AttributeGraphE8onUpdateyyyycF, + _$sSo10AGGraphRefa14AttributeGraphE9tracePathSSSgvpZMV, + _$sSo10AGGraphRefaSQ14AttributeGraphMc, + _$sSo11AGAttributea14AttributeGraphE10mutateBody2as12invalidating_yxm_SbyxzXEtlF, + _$sSo11AGAttributea14AttributeGraphE10unsafeCast2toAC0B0VyxGxm_tlF, + _$sSo11AGAttributea14AttributeGraphE11descriptionSSvg, + _$sSo11AGAttributea14AttributeGraphE11descriptionSSvpMV, + _$sSo11AGAttributea14AttributeGraphE12_bodyPointerSVvg, + _$sSo11AGAttributea14AttributeGraphE12_bodyPointerSVvpMV, + _$sSo11AGAttributea14AttributeGraphE12unsafeOffset2atABSi_tF, + _$sSo11AGAttributea14AttributeGraphE18breadthFirstSearch7options_SbSo15AGSearchOptionsV_SbABXEtF, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvM, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvg, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvpMV, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvs, + _$sSo11AGAttributea14AttributeGraphE2eeoiySbAB_ABtFZ, + _$sSo11AGAttributea14AttributeGraphE4hash4intoys6HasherVz_tF, + _$sSo11AGAttributea14AttributeGraphE7currentABSgvgZ, + _$sSo11AGAttributea14AttributeGraphE7currentABSgvpZMV, + _$sSo11AGAttributea14AttributeGraphE8addInput_7options5tokenyAB_So14AGInputOptionsVSitF, + _$sSo11AGAttributea14AttributeGraphE8addInput_7options5tokenyAC0B0VyxG_So14AGInputOptionsVSitlF, + _$sSo11AGAttributea14AttributeGraphE8setFlags_4maskySo0aE0V_AGtF, + _$sSo11AGAttributea14AttributeGraphE9_bodyTypeypXpvg, + _$sSo11AGAttributea14AttributeGraphE9_bodyTypeypXpvpMV, + _$sSo11AGAttributea14AttributeGraphE9valueTypeypXpvg, + _$sSo11AGAttributea14AttributeGraphE9valueTypeypXpvpMV, + _$sSo11AGAttributea14AttributeGraphE9visitBodyyyxzAC0bE7VisitorRzlF, + _$sSo11AGAttributea14AttributeGraphEyAbC0B0VyxGclufC, + _$sSo11AGAttributeaSH14AttributeGraphMc, + _$sSo11AGAttributeas23CustomStringConvertible14AttributeGraphMc, + _$sSo11AGTupleTypea14AttributeGraphE10getElement2in2at2to7optionsySv_SiSpyxGSo0A11CopyOptionsVtlF, + _$sSo11AGTupleTypea14AttributeGraphE10setElement2in2at4from7optionsySv_SiSPyxGSo0A11CopyOptionsVtlF, + _$sSo11AGTupleTypea14AttributeGraphE4type2atypXpSi_tF, + _$sSo11AGTupleTypea14AttributeGraphE4typeypXpvg, + _$sSo11AGTupleTypea14AttributeGraphE4typeypXpvpMV, + _$sSo11AGTupleTypea14AttributeGraphE6offset2at2asS2i_xmtlF, + _$sSo11AGTupleTypea14AttributeGraphE7indicesSnySiGvg, + _$sSo11AGTupleTypea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo11AGTupleTypea14AttributeGraphE7isEmptySbvg, + _$sSo11AGTupleTypea14AttributeGraphE7isEmptySbvpMV, + _$sSo11AGTupleTypea14AttributeGraphEyABSayypXpGcfC, + _$sSo11AGTupleTypea14AttributeGraphEyABypXpcfC, + _$sSo13AGSubgraphRefa14AttributeGraphE11addObserverySiyycF, + _$sSo13AGSubgraphRefa14AttributeGraphE12addTreeValue_6forKey5flagsyAC0C0VyxG_SPys4Int8VGs6UInt32VtlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE14endTreeElement5valueyAC0C0VyxG_tlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE16beginTreeElement5value5flagsyAC0C0VyxG_s6UInt32VtlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE5applyyxxyXElF, + _$sSo13AGSubgraphRefa14AttributeGraphE7forEachyySo16AGAttributeFlagsV_ySo0G0aXEtF, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravM, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravg, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravpMV, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravs, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVMa, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVMn, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVN, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVSTACMc, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVStACMc, + _$sSo13AGTreeElementa14AttributeGraphE13localChildrenAbCE05LocalF0VvpMV, + _$sSo13AGTreeElementa14AttributeGraphE5valueSo11AGAttributeaSgvg, + _$sSo13AGTreeElementa14AttributeGraphE5valueSo11AGAttributeaSgvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE5countSivg, + _$sSo13AGUnsafeTuplea14AttributeGraphE5countSivpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE7address2asSPyxGxm_tlF, + _$sSo13AGUnsafeTuplea14AttributeGraphE7address2of2asSPyxGSi_xmtlF, + _$sSo13AGUnsafeTuplea14AttributeGraphE7indicesSnySiGvg, + _$sSo13AGUnsafeTuplea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE7isEmptySbvg, + _$sSo13AGUnsafeTuplea14AttributeGraphE7isEmptySbvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluig, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluilu, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluipMV, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluig, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluilu, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluipMV, + _$sSo15AGTypeSignatureV14AttributeGraphE2eeoiySbAB_ABtFZ, + _$sSo15AGTypeSignatureVSQ14AttributeGraphMc, + _$sSo15AGWeakAttributea0B5GraphE10unsafeCast2toAC04WeakB0VyxGxm_tlF, + _$sSo15AGWeakAttributea0B5GraphE11descriptionSSvg, + _$sSo15AGWeakAttributea0B5GraphE11descriptionSSvpMV, + _$sSo15AGWeakAttributea0B5GraphE2eeoiySbAB_ABtFZ, + _$sSo15AGWeakAttributea0B5GraphE4hash4intoys6HasherVz_tF, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvM, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvg, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvpMV, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvs, + _$sSo15AGWeakAttributea0B5GraphE9hashValueSivg, + _$sSo15AGWeakAttributea0B5GraphE9hashValueSivpMV, + _$sSo15AGWeakAttributea0B5GraphEyABSo11AGAttributeaSgcfC, + _$sSo15AGWeakAttributea0B5GraphEyAbC04WeakB0VyxGclufC, + _$sSo15AGWeakAttributeaSH0B5GraphMc, + _$sSo15AGWeakAttributeaSQ0B5GraphMc, + _$sSo15AGWeakAttributeas23CustomStringConvertible0B5GraphMc, + _$sSo19AGComparisonOptionsV14AttributeGraphE4modeABSo0A4ModeV_tcfC, + _$sSo20AGComparisonPrioritya14AttributeGraphE3lowABvpZMV, + _$sSo20AGComparisonPrioritya14AttributeGraphE4highABvpZMV, + _$sSo20AGComparisonPrioritya14AttributeGraphE7defaultABvpZMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE10deallocate11initializedySb_tF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE10initialize2at2toySi_xtlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE12deinitialize2atySi_tF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE12deinitializeyyF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE4withABSo11AGTupleTypea_tcfC, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE5countSivg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE5countSivpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7address2asSpyxGxm_tlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7address2of2asSpyxGSi_xmtlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7indicesSnySiGvg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7isEmptySbvg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7isEmptySbvpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluiM, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluiau, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluig, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluilu, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluipMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluis, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluiM, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluiau, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluig, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluilu, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluipMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluis, + _$sSo25AGTreeElementNodeIteratora14AttributeGraphE4nextSo11AGAttributeaSgyF, + _$sSo25AGTreeElementNodeIteratoraST14AttributeGraphMc, + _$sSo25AGTreeElementNodeIteratoraSt14AttributeGraphMc, + _$sSo26AGTreeElementChildIteratoraST14AttributeGraphMc, + _$sSo26AGTreeElementChildIteratoraSt14AttributeGraphMc, + _$sSo26AGTreeElementValueIteratoraST14AttributeGraphMc, + _$sSo26AGTreeElementValueIteratoraSt14AttributeGraphMc, + _$sSo8AGTypeIDa14AttributeGraphE11descriptionSSvg, + _$sSo8AGTypeIDa14AttributeGraphE11descriptionSSvpMV, + _$sSo8AGTypeIDa14AttributeGraphE12forEachField7options2doSbSo0A12ApplyOptionsV_SbSPys4Int8VG_SiypXptXEtF, + _$sSo8AGTypeIDa14AttributeGraphE4typeypXpvg, + _$sSo8AGTypeIDa14AttributeGraphE4typeypXpvpMV, + _$sSo8AGTypeIDa14AttributeGraphEyABypXpcfC, + _$sSo8AGTypeIDaSH14AttributeGraphMc, + _$sSo8AGTypeIDas23CustomStringConvertible14AttributeGraphMc, + _$sSp14AttributeGraphE1poiySpyqd__GSpyxG_AA13PointerOffsetVyxqd__GtlFZ, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluiM, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluiau, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluig, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluilu, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluipMV, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluis, + _AGAttributeNil, + _AGAttributeNullType, + _AGAttributeNullVTable, + _AGCompareValues, + _AGComparisonStateGetDestination, + _AGComparisonStateGetFieldRange, + _AGComparisonStateGetFieldType, + _AGComparisonStateGetSource, + _AGCreateWeakAttribute, + _AGDebugServerCopyURL, + _AGDebugServerRun, + _AGDebugServerStart, + _AGDebugServerStop, + _AGDescriptionFormat, + _AGDescriptionIncludeValues, + _AGDescriptionMaxFrames, + _AGDescriptionTruncationLimit, + _AGGraphAddInput, + _AGGraphAddNamedTraceEvent, + _AGGraphAddTrace, + _AGGraphAddTraceEvent, + _AGGraphAnyInputsChanged, + _AGGraphArchiveJSON, + _AGGraphArchiveJSON2, + _AGGraphBeginDeferringSubgraphInvalidation, + _AGGraphBeginProfileEvent, + _AGGraphCancelUpdate, + _AGGraphCancelUpdateIfNeeded, + _AGGraphClearUpdate, + _AGGraphContextGetGraph, + _AGGraphCopyTracePath, + _AGGraphCreate, + _AGGraphCreateAttribute, + _AGGraphCreateIndirectAttribute, + _AGGraphCreateIndirectAttribute2, + _AGGraphCreateIndirectAttribute3, + _AGGraphCreateOffsetAttribute, + _AGGraphCreateOffsetAttribute2, + _AGGraphCreateShared, + _AGGraphCurrentAttributeWasModified, + _AGGraphDescription, + _AGGraphEndDeferringSubgraphInvalidation, + _AGGraphEndProfileEvent, + _AGGraphExternalMallocZone, + _AGGraphGetAttributeGraph, + _AGGraphGetAttributeInfo, + _AGGraphGetAttributeSubgraph, + _AGGraphGetAttributeSubgraph2, + _AGGraphGetContext, + _AGGraphGetCounter, + _AGGraphGetCurrentAttribute, + _AGGraphGetDeadline, + _AGGraphGetFlags, + _AGGraphGetGraphContext, + _AGGraphGetIndirectAttribute, + _AGGraphGetIndirectDependency, + _AGGraphGetInputValue, + _AGGraphGetOutputValue, + _AGGraphGetTraceEventName, + _AGGraphGetTraceEventSubsystem, + _AGGraphGetTypeID, + _AGGraphGetValue, + _AGGraphGetValueState, + _AGGraphGetWeakValue, + _AGGraphHasDeadlinePassed, + _AGGraphHasValue, + _AGGraphInternAttributeType, + _AGGraphInvalidate, + _AGGraphInvalidateAllValues, + _AGGraphInvalidateValue, + _AGGraphIsProfilingEnabled, + _AGGraphIsTracingActive, + _AGGraphMarkProfile, + _AGGraphMutateAttribute, + _AGGraphPrefetchValue, + _AGGraphPrepareTrace, + _AGGraphReadCachedAttribute, + _AGGraphReadCachedAttributeIfExists, + _AGGraphRegisterDependency, + _AGGraphRegisterNamedTraceEvent, + _AGGraphRemoveTrace, + _AGGraphResetIndirectAttribute, + _AGGraphResetProfile, + _AGGraphResetTrace, + _AGGraphSearch, + _AGGraphSetContext, + _AGGraphSetDeadline, + _AGGraphSetFlags, + _AGGraphSetIndirectAttribute, + _AGGraphSetIndirectAttribute2, + _AGGraphSetIndirectDependency, + _AGGraphSetInvalidationCallback, + _AGGraphSetNeedsUpdate, + _AGGraphSetOutputValue, + _AGGraphSetTrace, + _AGGraphSetUpdate, + _AGGraphSetUpdateCallback, + _AGGraphSetValue, + _AGGraphStartProfiling, + _AGGraphStartTracing, + _AGGraphStartTracing2, + _AGGraphStopProfiling, + _AGGraphStopTracing, + _AGGraphSyncTracing, + _AGGraphTraceEventEnabled, + _AGGraphUpdateValue, + _AGGraphUpdateWasCancelled, + _AGGraphVMRegionBaseAddress, + _AGGraphVMRegionMallocZone, + _AGGraphVerifyType, + _AGGraphWithMainThreadHandler, + _AGGraphWithUpdate, + _AGGraphWithoutUpdate, + _AGMakeUniqueID, + _AGMallocZoneGetCurrentSwiftMetadata, + _AGNewTupleType, + _AGOverrideComparisonForTypeDescriptor, + _AGOverrideEqualityForTypeDescriptor, + _AGPrefetchCompareValues, + _AGReleaseClosure, + _AGRetainClosure, + _AGSubgraphAddChild, + _AGSubgraphAddChild2, + _AGSubgraphAddObserver, + _AGSubgraphAddTreeValue, + _AGSubgraphApply, + _AGSubgraphBeginTreeElement, + _AGSubgraphCreate, + _AGSubgraphCreate2, + _AGSubgraphEndTreeElement, + _AGSubgraphGetChild, + _AGSubgraphGetChildCount, + _AGSubgraphGetCurrent, + _AGSubgraphGetCurrentGraphContext, + _AGSubgraphGetGraph, + _AGSubgraphGetIndex, + _AGSubgraphGetParent, + _AGSubgraphGetParentCount, + _AGSubgraphGetTreeRoot, + _AGSubgraphGetTypeID, + _AGSubgraphIntersects, + _AGSubgraphInvalidate, + _AGSubgraphIsAncestor, + _AGSubgraphIsDirty, + _AGSubgraphIsValid, + _AGSubgraphMove, + _AGSubgraphRemoveChild, + _AGSubgraphRemoveObserver, + _AGSubgraphSetCurrent, + _AGSubgraphSetIndex, + _AGSubgraphSetShouldRecordTree, + _AGSubgraphSetTreeOwner, + _AGSubgraphShouldRecordTree, + _AGSubgraphUpdate, + _AGTreeElementGetFlags, + _AGTreeElementGetNextChild, + _AGTreeElementGetNextChild2, + _AGTreeElementGetNextNode, + _AGTreeElementGetNextValue, + _AGTreeElementGetParent, + _AGTreeElementGetType, + _AGTreeElementGetValue, + _AGTreeElementMakeChildIterator, + _AGTreeElementMakeNodeIterator, + _AGTreeElementMakeValueIterator, + _AGTreeValueGetFlags, + _AGTreeValueGetKey, + _AGTreeValueGetType, + _AGTreeValueGetValue, + _AGTupleCount, + _AGTupleDestroy, + _AGTupleDestroyElement, + _AGTupleElementOffset, + _AGTupleElementOffsetChecked, + _AGTupleElementSize, + _AGTupleElementType, + _AGTupleGetElement, + _AGTupleSetElement, + _AGTupleSize, + _AGTupleWithBuffer, + _AGTypeApplyEnumData, + _AGTypeApplyFields, + _AGTypeApplyFields2, + _AGTypeApplyMutableEnumData, + _AGTypeDescription, + _AGTypeGetDescriptor, + _AGTypeGetEnumTag, + _AGTypeGetKind, + _AGTypeGetSignature, + _AGTypeInjectEnumTag, + _AGTypeNominalDescriptor, + _AGTypeNominalDescriptorName, + _AGTypeProjectEnumData, + _AGVersion, + _AGWeakAttributeGetAttribute ] + objc-classes: [ AGAppObserver ] +... diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttribute.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttribute.h new file mode 100644 index 0000000..b4e7c3e --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttribute.h @@ -0,0 +1,21 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef uint32_t AGAttribute AG_SWIFT_STRUCT AG_SWIFT_NAME(AnyAttribute); + +AG_EXPORT +const AGAttribute AGAttributeNil; + +typedef AG_OPTIONS(uint8_t, AGAttributeFlags) { + AGAttributeFlagsNone = 0, + AGAttributeFlagsAll = 0xFF, +} AG_SWIFT_NAME(AGSubgraphRef.Flags); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttributeInfo.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttributeInfo.h new file mode 100644 index 0000000..8fefc02 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttributeInfo.h @@ -0,0 +1,17 @@ +#pragma once + +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct AGAttributeInfo { + const AGAttributeType *type; + const void *body; +} AGAttributeInfo; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttributeType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttributeType.h new file mode 100644 index 0000000..d242692 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGAttributeType.h @@ -0,0 +1,67 @@ +#pragma once + +#include + +#if TARGET_OS_MAC +#include +#else +#include +#endif + +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +typedef struct AGAttributeType AGAttributeType; + +typedef struct AG_SWIFT_NAME(_AttributeVTable) AGAttributeVTable { + unsigned long version; + void (*_Nullable type_destroy)(AGAttributeType *); + void (*_Nullable self_destroy)(const AGAttributeType *, void *); +#if TARGET_OS_MAC + CFStringRef _Nullable (*_Nullable self_description)(const AGAttributeType *, const void *); + CFStringRef _Nullable (*_Nullable value_description)(const AGAttributeType *, const void *); +#else + CFStringRef _Nullable (*_Nullable copy_self_description)(const AGAttributeType *, const void *); + CFStringRef _Nullable (*_Nullable copy_value_description)(const AGAttributeType *, const void *); +#endif + void (*_Nullable update_default)(const AGAttributeType *, void *); +} AGAttributeVTable; + +typedef AG_OPTIONS(uint32_t, AGAttributeTypeFlags) { + AGAttributeTypeFlagsComparisonModeBitwise = 0, + AGAttributeTypeFlagsComparisonModeIndirect = 1, + AGAttributeTypeFlagsComparisonModeEquatableUnlessPOD = 2, + AGAttributeTypeFlagsComparisonModeEquatableAlways = 3, + AGAttributeTypeFlagsComparisonModeMask = 0x03, + + AGAttributeTypeFlagsHasDestroySelf = 1 << 2, + AGAttributeTypeFlagsMainThread = 1 << 3, + AGAttributeTypeFlagsExternal = 1 << 4, + AGAttributeTypeFlagsAsyncThread = 1 << 5, +} AG_SWIFT_NAME(_AttributeType.Flags); + +typedef struct AG_SWIFT_NAME(_AttributeType) AGAttributeType { + AGTypeID self_id; + AGTypeID value_id; + AGClosureStorage update; + const AGAttributeVTable *vtable; + AGAttributeTypeFlags flags; + + uint32_t internal_offset; + const unsigned char *_Nullable value_layout; + + struct { + AGTypeID type_id; + const void *witness_table; + } body_conformance; +} AGAttributeType; + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGBase.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGBase.h new file mode 100644 index 0000000..b443556 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGBase.h @@ -0,0 +1,215 @@ +#pragma once + +#include +#include +#include + +#include + +#ifndef __has_include +#define __has_include(x) 0 +#endif +#ifndef __has_feature +#define __has_feature(x) 0 +#endif +#ifndef __has_attribute +#define __has_attribute(x) 0 +#endif +#ifndef __has_extension +#define __has_extension(x) 0 +#endif + +#define _AG_STRINGIFY(_x) #_x + +#if !defined(AG_EXTERN_C_BEGIN) +#if defined(__cplusplus) +#define AG_EXTERN_C_BEGIN extern "C" { +#define AG_EXTERN_C_END } +#else +#define AG_EXTERN_C_BEGIN +#define AG_EXTERN_C_END +#endif +#endif + +#if __GNUC__ +#define AG_EXPORT extern __attribute__((__visibility__("default"))) +#else +#define AG_EXPORT extern +#endif + +#if __GNUC__ +#define AG_INLINE static __inline__ +#else +#define AG_INLINE static inline +#endif + +#ifndef AG_RETURNS_RETAINED +#if __has_feature(attribute_cf_returns_retained) +#define AG_RETURNS_RETAINED __attribute__((cf_returns_retained)) +#else +#define AG_RETURNS_RETAINED +#endif +#endif + +#ifndef AG_IMPLICIT_BRIDGING_ENABLED +#if __has_feature(arc_cf_code_audited) +#define AG_IMPLICIT_BRIDGING_ENABLED _Pragma("clang arc_cf_code_audited begin") +#else +#define AG_IMPLICIT_BRIDGING_ENABLED +#endif +#endif + +#ifndef AG_IMPLICIT_BRIDGING_DISABLED +#if __has_feature(arc_cf_code_audited) +#define AG_IMPLICIT_BRIDGING_DISABLED _Pragma("clang arc_cf_code_audited end") +#else +#define AG_IMPLICIT_BRIDGING_DISABLED +#endif +#endif + +#if __has_attribute(objc_bridge) && __has_feature(objc_bridge_id) && __has_feature(objc_bridge_id_on_typedefs) + +#ifdef __OBJC__ +@class NSArray; +@class NSAttributedString; +@class NSString; +@class NSNull; +@class NSCharacterSet; +@class NSData; +@class NSDate; +@class NSTimeZone; +@class NSDictionary; +@class NSError; +@class NSLocale; +@class NSNumber; +@class NSSet; +@class NSURL; +#endif + +#define AG_BRIDGED_TYPE(T) __attribute__((objc_bridge(T))) +#define AG_BRIDGED_MUTABLE_TYPE(T) __attribute__((objc_bridge_mutable(T))) +#define AG_RELATED_TYPE(T,C,I) __attribute__((objc_bridge_related(T,C,I))) +#else +#define AG_BRIDGED_TYPE(T) +#define AG_BRIDGED_MUTABLE_TYPE(T) +#define AG_RELATED_TYPE(T,C,I) +#endif + +#if __has_feature(assume_nonnull) +#define AG_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin") +#define AG_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end") +#else +#define AG_ASSUME_NONNULL_BEGIN +#define AG_ASSUME_NONNULL_END +#endif + +#if !__has_feature(nullability) +#ifndef _Nullable +#define _Nullable +#endif +#ifndef _Nonnull +#define _Nonnull +#endif +#ifndef _Null_unspecified +#define _Null_unspecified +#endif +#endif + +#if __has_attribute(enum_extensibility) +#define __AG_ENUM_ATTRIBUTES __attribute__((enum_extensibility(open))) +#define __AG_CLOSED_ENUM_ATTRIBUTES __attribute__((enum_extensibility(closed))) +#define __AG_OPTIONS_ATTRIBUTES __attribute__((flag_enum,enum_extensibility(open))) +#else +#define __AG_ENUM_ATTRIBUTES +#define __AG_CLOSED_ENUM_ATTRIBUTES +#define __AG_OPTIONS_ATTRIBUTES +#endif + +#define __AG_ENUM_FIXED_IS_AVAILABLE (__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && (__has_feature(objc_fixed_enum) || __has_extension(cxx_fixed_enum))) + +#if __AG_ENUM_FIXED_IS_AVAILABLE +#define AG_ENUM(_type, _name) \ + _Pragma("clang diagnostic push") \ + _Pragma("clang diagnostic ignored \"-Welaborated-enum-base\"") \ + enum __AG_ENUM_ATTRIBUTES _name : _type _name; \ + enum _name : _type \ + _Pragma("clang diagnostic pop") +#define AG_CLOSED_ENUM(_type, _name) \ + _Pragma("clang diagnostic push") \ + _Pragma("clang diagnostic ignored \"-Welaborated-enum-base\"") \ + enum __AG_CLOSED_ENUM_ATTRIBUTES _name : _type _name; \ + enum _name : _type \ + _Pragma("clang diagnostic pop") +#if (__cplusplus) +#define AG_OPTIONS(_type, _name) __attribute__((availability(swift,unavailable))) _type _name; enum __AG_OPTIONS_ATTRIBUTES : _name +#else +#define AG_OPTIONS(_type, _name) \ + _Pragma("clang diagnostic push") \ + _Pragma("clang diagnostic ignored \"-Welaborated-enum-base\"") \ + enum __AG_OPTIONS_ATTRIBUTES _name : _type _name; \ + enum _name : _type \ + _Pragma("clang diagnostic pop") +#endif +#else +#define AG_ENUM(_type, _name) _type _name; enum +#define AG_CLOSED_ENUM(_type, _name) _type _name; enum +#define AG_OPTIONS(_type, _name) _type _name; enum +#endif + +#if __has_attribute(swift_private) +#define AG_REFINED_FOR_SWIFT __attribute__((swift_private)) +#else +#define AG_REFINED_FOR_SWIFT +#endif + +#if __has_attribute(swift_name) +#define AG_SWIFT_NAME(_name) __attribute__((swift_name(#_name))) +#else +#define AG_SWIFT_NAME(_name) +#endif + +#if __has_attribute(swift_wrapper) +#define AG_SWIFT_STRUCT __attribute__((swift_wrapper(struct))) +#else +#define AG_SWIFT_STRUCT +#endif + +// Define mappings for calling conventions. + +// Annotation for specifying a calling convention of +// a runtime function. It should be used with declarations +// of runtime functions like this: +// void runtime_function_name() AG_SWIFT_CC(swift) +#define AG_SWIFT_CC(CC) AG_SWIFT_CC_##CC + +// AG_SWIFT_CC(c) is the C calling convention. +#define AG_SWIFT_CC_c + +// AG_SWIFT_CC(swift) is the Swift calling convention. +#if __has_attribute(swiftcall) +#define AG_SWIFT_CC_swift __attribute__((swiftcall)) +#define AG_SWIFT_CONTEXT __attribute__((swift_context)) +#define AG_SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#define AG_SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#else +#define AG_SWIFT_CC_swift +#define AG_SWIFT_CONTEXT +#define AG_SWIFT_ERROR_RESULT +#define AG_SWIFT_INDIRECT_RESULT +#endif + +#if __has_attribute(swift_attr) +#define AG_SWIFT_SHARED_REFERENCE(_retain, _release) \ + __attribute__((swift_attr("import_reference"))) \ + __attribute__((swift_attr(_AG_STRINGIFY(retain:_retain)))) \ + __attribute__((swift_attr(_AG_STRINGIFY(release:_release)))) +#else +#define AG_SWIFT_SHARED_REFERENCE(_retain, _release) +#endif + +#if __has_include() +#include +#define AG_COUNTED_BY(N) __counted_by(N) +#else +#define AG_COUNTED_BY(N) +#endif diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGCachedValueOptions.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGCachedValueOptions.h new file mode 100644 index 0000000..3430ba5 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGCachedValueOptions.h @@ -0,0 +1,16 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint32_t, AGCachedValueOptions) { + AGCachedValueOptionsNone = 0, + AGCachedValueOptionsUnprefetched = 1, +} AG_SWIFT_NAME(CachedValueOptions); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGChangedValue.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGChangedValue.h new file mode 100644 index 0000000..972a3a3 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGChangedValue.h @@ -0,0 +1,26 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint8_t, AGChangedValueFlags) { + AGChangedValueFlagsChanged = 1 << 0, + AGChangedValueFlagsRequiresMainThread = 1 << 1, +}; + +typedef struct AGChangedValue { + const void *value; + AGChangedValueFlags flags; +} AGChangedValue; + +typedef struct AGWeakChangedValue { + const void *_Nullable value; + AGChangedValueFlags flags; +} AGWeakChangedValue; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGClosure.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGClosure.h new file mode 100644 index 0000000..3ee1c8c --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGClosure.h @@ -0,0 +1,24 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct AG_SWIFT_NAME(_AGClosureStorage) AGClosureStorage { + const void *thunk; + const void *_Nullable context; +} AGClosureStorage; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGClosureStorage AGRetainClosure(const void *thunk, const void *_Nullable context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGReleaseClosure(AGClosureStorage closure); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGComparison.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGComparison.h new file mode 100644 index 0000000..b4469dd --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGComparison.h @@ -0,0 +1,70 @@ +#pragma once + +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +typedef struct AGFieldRange { + size_t offset; + size_t size; +} AGFieldRange AG_SWIFT_STRUCT AG_SWIFT_NAME(FieldRange); + +typedef struct AGComparisonStateStorage *AGComparisonState AG_SWIFT_STRUCT AG_SWIFT_NAME(ComparisonState); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *AGComparisonStateGetDestination(AGComparisonState state); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *AGComparisonStateGetSource(AGComparisonState state); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGFieldRange AGComparisonStateGetFieldRange(AGComparisonState state); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeID AGComparisonStateGetFieldType(AGComparisonState state); + +typedef AG_ENUM(uint8_t, AGComparisonMode) { + AGComparisonModeBitwise = 0, + AGComparisonModeIndirect = 1, + AGComparisonModeEquatableUnlessPOD = 2, + AGComparisonModeEquatableAlways = 3, +} AG_SWIFT_NAME(ComparisonMode); + +typedef AG_OPTIONS(uint32_t, AGComparisonOptions) { + AGComparisonOptionsComparisonModeBitwise = 0, + AGComparisonOptionsComparisonModeIndirect = 1, + AGComparisonOptionsComparisonModeEquatableUnlessPOD = 2, + AGComparisonOptionsComparisonModeEquatableAlways = 3, + AGComparisonOptionsComparisonModeMask = 0xff, + + AGComparisonOptionsCopyOnWrite = 1 << 8, + AGComparisonOptionsFetchLayoutsSynchronously = 1 << 9, + AGComparisonOptionsTraceCompareFailed = 1ul << 31, // -1 signed int +} AG_SWIFT_NAME(ComparisonOptions); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGCompareValues(const void *_Nonnull destination, const void *_Nonnull source, AGTypeID type_id, + AGComparisonOptions options); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const unsigned char *_Nullable AGPrefetchCompareValues(AGTypeID type_id, AGComparisonOptions options, + uint32_t priority); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGOverrideComparisonForTypeDescriptor(void *descriptor, AGComparisonMode mode); + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGDescription.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGDescription.h new file mode 100644 index 0000000..d9d1b27 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGDescription.h @@ -0,0 +1,37 @@ +#pragma once + +#include + +#if TARGET_OS_MAC +#include +#else +#include +#endif + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +#if TARGET_OS_MAC + +typedef CFStringRef AGDescriptionOption AG_SWIFT_STRUCT AG_SWIFT_NAME(DescriptionOption); + +AG_EXPORT +const AGDescriptionOption AGDescriptionFormat AG_SWIFT_NAME(AGDescriptionOption.format); + +AG_EXPORT +const AGDescriptionOption AGDescriptionMaxFrames AG_SWIFT_NAME(AGDescriptionOption.maxFrames); + +AG_EXPORT +const AGDescriptionOption AGDescriptionIncludeValues AG_SWIFT_NAME(AGDescriptionOption.includeValues); + +AG_EXPORT +const AGDescriptionOption AGDescriptionTruncationLimit AG_SWIFT_NAME(AGDescriptionOption.truncationLimit); + +#endif + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraph.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraph.h new file mode 100644 index 0000000..f558fba --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraph.h @@ -0,0 +1,382 @@ +#pragma once + +#include + +#if TARGET_OS_MAC +#include +#include +#include +#else +#include +#include +#include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +// MARK: CFType + +typedef struct AG_BRIDGED_TYPE(id) AGGraphStorage *AGGraphRef AG_SWIFT_NAME(Graph); +typedef void *AGUnownedGraphContextRef AG_SWIFT_STRUCT; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFTypeID AGGraphGetTypeID(void) AG_SWIFT_NAME(getter:AGGraphRef.typeID()); + +// MARK: Graph Context + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGGraphCreate(void) AG_SWIFT_NAME(AGGraphRef.init()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGGraphCreateShared(AGGraphRef _Nullable graph) AG_SWIFT_NAME(AGGraphRef.init(shared:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGUnownedGraphContextRef AGGraphGetGraphContext(AGGraphRef graph) + AG_SWIFT_NAME(getter:AGGraphRef.graphContext(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGGraphContextGetGraph(void *context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphInvalidate(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.invalidate(self:)); + +// MARK: User context + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *_Nullable AGGraphGetContext(AGGraphRef graph) AG_SWIFT_NAME(getter:AGGraphRef.context(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetContext(AGGraphRef graph, const void *_Nullable context) + AG_SWIFT_NAME(setter:AGGraphRef.context(self:_:)); + +// MARK: Counter + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGGraphGetCounter(AGGraphRef graph, AGGraphCounterQueryType query) + AG_SWIFT_NAME(AGGraphRef.counter(self:for:)); + +// MARK: Main handler + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphWithMainThreadHandler(AGGraphRef graph, + void (*body)(const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *body_context, + void (*main_thread_handler)(void (*trampoline_thunk)(const void *), + const void *trampoline, + const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *main_thread_handler_context); + +// MARK: Subgraphs + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphBeginDeferringSubgraphInvalidation(AGGraphRef graph) + AG_SWIFT_NAME(AGGraphRef.beginDeferringSubgraphInvalidation(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphEndDeferringSubgraphInvalidation(AGGraphRef graph, bool was_deferring) + AG_SWIFT_NAME(AGGraphRef.endDeferringSubgraphInvalidation(self:wasDeferring:)); + +// MARK: Attribute types + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGGraphInternAttributeType(AGUnownedGraphContextRef graph, AGTypeID type, + const AGAttributeType *_Nonnull (*_Nonnull make_attribute_type)( + const void *_Nullable context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *_Nullable make_attribute_type_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphVerifyType(AGAttribute attribute, AGTypeID type) AG_SWIFT_NAME(AGAttribute.verifyType(self:type:)); + +// MARK: Attributes + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateAttribute(uint32_t type_id, const void *body, const void *_Nullable value) + AG_SWIFT_NAME(AGAttribute.init(type:body:value:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGGraphGetAttributeGraph(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.graph(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttributeInfo AGGraphGetAttributeInfo(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.info(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttributeFlags AGGraphGetFlags(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.flags(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetFlags(AGAttribute attribute, AGAttributeFlags flags) AG_SWIFT_NAME(setter:AGAttribute.flags(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGGraphAddInput(AGAttribute attribute, AGAttribute input, AGInputOptions options) + AG_SWIFT_NAME(AGAttribute.addInput(self:_:options:)); + +// MARK: Offset attributes + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateOffsetAttribute(AGAttribute attribute, uint32_t offset); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateOffsetAttribute2(AGAttribute attribute, uint32_t offset, size_t size); + +// MARK: Indirect attributes + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateIndirectAttribute(AGAttribute attribute) AG_SWIFT_NAME(AGAttribute.createIndirect(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateIndirectAttribute2(AGAttribute attribute, size_t size); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphGetIndirectAttribute(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.source(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetIndirectAttribute(AGAttribute attribute, AGAttribute source) + AG_SWIFT_NAME(setter:AGAttribute.source(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphResetIndirectAttribute(AGAttribute attribute, bool non_nil); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphGetIndirectDependency(AGAttribute attribute); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetIndirectDependency(AGAttribute attribute, AGAttribute dependency); + +// MARK: Search + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphSearch(AGAttribute attribute, AGSearchOptions options, + bool (*predicate)(AGAttribute attribute, const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *predicate_context); + +// MARK: Body + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphMutateAttribute(AGAttribute attribute, AGTypeID type, bool invalidating, + void (*modify)(void *body, const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *modify_context); + +// MARK: Value + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGChangedValue AGGraphGetValue(AGAttribute attribute, AGValueOptions options, AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGWeakChangedValue AGGraphGetWeakValue(AGWeakAttribute attribute, AGValueOptions options, AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGChangedValue AGGraphGetInputValue(AGAttribute attribute, AGAttribute input, AGValueOptions options, AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphSetValue(AGAttribute attribute, const void *value, AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphHasValue(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.hasValue(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGValueState AGGraphGetValueState(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.valueState(self:)); + +typedef AG_OPTIONS(uint32_t, AGGraphUpdateOptions) { + AGGraphUpdateOptionsNone = 0, + AGGraphUpdateOptionsInTransaction = 1 << 0, + AGGraphUpdateOptionsAbortIfCancelled = 1 << 1, + AGGraphUpdateOptionsCancelIfPassedDeadline = 1 << 2, + AGGraphUpdateOptionsInitializeCleared = 1 << 3, + AGGraphUpdateOptionsEndDeferringSubgraphInvalidationOnExit = 1 << 4, +}; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphUpdateValue(AGAttribute attribute, AGGraphUpdateOptions options) + AG_SWIFT_NAME(AGAttribute.updateValue(self:options:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGGraphPrefetchValue(AGAttribute attribute) AG_SWIFT_NAME(AGAttribute.prefetchValue(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphInvalidateValue(AGAttribute attribute) AG_SWIFT_NAME(AGAttribute.invalidateValue(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphInvalidateAllValues(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.invalidateAllValues(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetInvalidationCallback(AGGraphRef graph, + void (*callback)(AGAttribute, const void *context AG_SWIFT_CONTEXT) + AG_SWIFT_CC(swift), + const void *callback_context); + +// MARK: Cached value + +CF_EXPORT +CF_REFINED_FOR_SWIFT +void *AGGraphReadCachedAttribute(size_t hash, AGTypeID type, const void *body, AGTypeID value_type, + AGCachedValueOptions options, AGAttribute owner, bool *_Nullable changed_out, + uint32_t (*closure)(AGUnownedGraphContextRef graph_context, + const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *closure_context); + +CF_EXPORT +CF_REFINED_FOR_SWIFT +void *_Nullable AGGraphReadCachedAttributeIfExists(size_t hash, AGTypeID type, const void *body, AGTypeID value_type, + AGCachedValueOptions options, AGAttribute owner, + bool *_Nullable changed_out); + +// MARK: Update + +typedef AG_ENUM(uint32_t, AGGraphUpdateStatus) { + AGGraphUpdateStatusNoChange = 0, + AGGraphUpdateStatusChanged = 1, + AGGraphUpdateStatusAborted = 2, + AGGraphUpdateStatusNeedsCallMainHandler = 3, +}; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetUpdate(const void *update) AG_SWIFT_NAME(AGGraphRef.setUpdate(_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *AGGraphClearUpdate(void) AG_SWIFT_NAME(AGGraphRef.clearUpdate()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphCancelUpdate(void) AG_SWIFT_NAME(AGGraphRef.cancelUpdate()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphCancelUpdateIfNeeded(void) AG_SWIFT_NAME(AGGraphRef.cancelUpdateIfNeeded()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphUpdateWasCancelled(void) AG_SWIFT_NAME(getter:AGGraphRef.updateWasCancelled()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGGraphGetDeadline(AGGraphRef graph) AG_SWIFT_NAME(getter:AGGraphRef.deadline(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetDeadline(AGGraphRef graph, uint64_t deadline) AG_SWIFT_NAME(setter:AGGraphRef.deadline(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphHasDeadlinePassed(void) AG_SWIFT_NAME(getter:AGGraphRef.hasDeadlinePassed()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetNeedsUpdate(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.setNeedsUpdate(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphWithUpdate(AGAttribute attribute, void (*body)(const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *body_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphWithoutUpdate(void (*body)(const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *body_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetUpdateCallback(AGGraphRef graph, + void (*callback)(const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *callback_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphGetCurrentAttribute(void); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphCurrentAttributeWasModified(void) AG_SWIFT_NAME(getter:AGAttribute.currentWasModified()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphAnyInputsChanged(const AGAttribute *AG_COUNTED_BY(count) exclude_attributes, size_t count); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void *_Nullable AGGraphGetOutputValue(AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetOutputValue(const void *value, AGTypeID type); + +// MARK: Description + +#if TARGET_OS_MAC +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFTypeRef _Nullable AGGraphDescription(AGGraphRef _Nullable graph, CFDictionaryRef options) + AG_SWIFT_NAME(AGGraphRef.description(_:options:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphArchiveJSON(const char *_Nullable filename) AG_SWIFT_NAME(AGGraphRef.archiveJSON(name:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphArchiveJSON2(const char *filename, bool exclude_values) + AG_SWIFT_NAME(AGGraphRef.archiveJSON(name:excludeValues:)); +#endif + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraphCounterQueryType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraphCounterQueryType.h new file mode 100644 index 0000000..3d3d437 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraphCounterQueryType.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +typedef AG_ENUM(uint32_t, AGGraphCounterQueryType) { + AGGraphCounterQueryTypeNodes, + AGGraphCounterQueryTypeTransactions, + AGGraphCounterQueryTypeUpdates, + AGGraphCounterQueryTypeChanges, + AGGraphCounterQueryTypeContextID, + AGGraphCounterQueryTypeGraphID, + AGGraphCounterQueryTypeContextThreadUpdating, + AGGraphCounterQueryTypeThreadUpdating, + AGGraphCounterQueryTypeContextNeedsUpdate, + AGGraphCounterQueryTypeNeedsUpdate, + AGGraphCounterQueryTypeMainThreadUpdates, + AGGraphCounterQueryTypeCreatedNodes, + AGGraphCounterQueryTypeSubgraphs, + AGGraphCounterQueryTypeCreatedSubgraphs, +} AG_SWIFT_NAME(AGGraphRef.CounterQueryType); diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraphTracing.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraphTracing.h new file mode 100644 index 0000000..314d6b4 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraphTracing.h @@ -0,0 +1,102 @@ +#pragma once + +#include +#include + +typedef AG_OPTIONS(uint32_t, AGGraphTraceOptions) { + AGGraphTraceOptionsEnabled = 1 << 0, + AGGraphTraceOptionsFull = 1 << 1, + AGGraphTraceOptionsBacktrace = 1 << 2, + AGGraphTraceOptionsPrepare = 1 << 3, + AGGraphTraceOptionsCustom = 1 << 4, + AGGraphTraceOptionsAll = 1 << 5, +} AG_SWIFT_NAME(AGGraphRef.TraceOptions); + +typedef struct AGTraceType *AGTraceTypeRef; + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphStartTracing(AGGraphRef _Nullable graph, AGGraphTraceOptions trace_options) + AG_SWIFT_NAME(AGGraphRef.startTracing(_:options:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphStartTracing2(AGGraphRef _Nullable graph, AGGraphTraceOptions trace_options, + CFArrayRef _Nullable subsystems) + AG_SWIFT_NAME(AGGraphRef.startTracing(_:options:subsystems:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphStopTracing(AGGraphRef _Nullable graph) AG_SWIFT_NAME(AGGraphRef.stopTracing(_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSyncTracing(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.syncTracing(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFStringRef AGGraphCopyTracePath(AGGraphRef graph) AG_SWIFT_NAME(getter:AGGraphRef.tracePath(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGGraphAddTrace(AGGraphRef graph, const AGTraceTypeRef trace, void *_Nullable context) + AG_SWIFT_NAME(AGGraphRef.addTrace(self:_:context:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphRemoveTrace(AGGraphRef graph, uint64_t trace_id) AG_SWIFT_NAME(AGGraphRef.removeTrace(self:traceID:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetTrace(AGGraphRef graph, const AGTraceTypeRef trace, void *_Nullable context) + AG_SWIFT_NAME(AGGraphRef.setTrace(self:_:context:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphResetTrace(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.resetTrace(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphIsTracingActive(AGGraphRef graph) AG_SWIFT_NAME(getter:AGGraphRef.isTracingActive(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphPrepareTrace(AGGraphRef graph, const AGTraceTypeRef trace, void *_Nullable context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphTraceEventEnabled(AGGraphRef graph, uint32_t event_id) + AG_SWIFT_NAME(AGGraphRef.traceEventEnabled(self:for:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphAddTraceEvent(AGGraphRef graph, const char *event_name, const void *value, AGTypeID type) + AG_SWIFT_NAME(AGGraphRef.addTraceEvent(self:name:value:type:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphAddNamedTraceEvent(AGGraphRef graph, uint32_t event_id, uint32_t event_arg_count, const void *event_args, + CFDataRef data, uint32_t arg6) + AG_SWIFT_NAME(AGGraphRef.addNamedTraceEvent(self:eventID:eventArgCount:eventArgs:data:arg6:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const char *_Nullable AGGraphGetTraceEventName(uint32_t event_id) AG_SWIFT_NAME(AGGraphRef.traceEventName(for:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const char *_Nullable AGGraphGetTraceEventSubsystem(uint32_t event_id) + AG_SWIFT_NAME(AGGraphRef.traceEventSubsystem(for:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGGraphRegisterNamedTraceEvent(const char *event_name, const char *event_subsystem) + AG_SWIFT_NAME(AGGraphRef.registerNamedTraceEvent(name:subsystem:)); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGInputOptions.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGInputOptions.h new file mode 100644 index 0000000..04f7490 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGInputOptions.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint8_t, AGInputOptions) { + AGInputOptionsNone = 0, + AGInputOptionsUnprefetched = 1 << 0, + AGInputOptionsSyncMainRef = 1 << 1, + AGInputOptionsAlwaysEnabled = 1 << 2, + AGInputOptionsChanged = 1 << 3, + AGInputOptionsEnabled = 1 << 4, +}; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGSearchOptions.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGSearchOptions.h new file mode 100644 index 0000000..49e9c7a --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGSearchOptions.h @@ -0,0 +1,17 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint32_t, AGSearchOptions) { + AGSearchOptionsSearchInputs = 1 << 0, + AGSearchOptionsSearchOutputs = 1 << 1, + AGSearchOptionsTraverseGraphContexts = 1 << 2, +} AG_SWIFT_NAME(SearchOptions); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGSubgraph.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGSubgraph.h new file mode 100644 index 0000000..50bab71 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGSubgraph.h @@ -0,0 +1,186 @@ +#pragma once + +#include +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +// MARK: CFType + +typedef struct AG_BRIDGED_TYPE(id) AGSubgraphStorage *AGSubgraphRef AG_SWIFT_NAME(Subgraph); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFTypeID AGSubgraphGetTypeID(void) AG_SWIFT_NAME(getter:AGSubgraphRef.typeID()); + +// MARK: Current subgraph + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef _Nullable AGSubgraphGetCurrent(void) AG_SWIFT_NAME(getter:AGSubgraphRef.current()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphSetCurrent(AGSubgraphRef _Nullable subgraph) AG_SWIFT_NAME(setter:AGSubgraphRef.current(_:)); + +// MARK: Graph Context + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGSubgraphCreate(AGGraphRef graph) AG_SWIFT_NAME(AGSubgraphRef.init(graph:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGSubgraphCreate2(AGGraphRef graph, AGAttribute attribute) + AG_SWIFT_NAME(AGSubgraphRef.init(graph:attribute:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGUnownedGraphContextRef _Nullable AGSubgraphGetCurrentGraphContext(void) + AG_SWIFT_NAME(getter:AGSubgraphRef.currentGraphContext()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGSubgraphGetGraph(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.graph(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphIsValid(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.isValid(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphInvalidate(AGSubgraphRef subgraph) AG_SWIFT_NAME(AGSubgraphRef.invalidate(self:)); + +// MARK: Index + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGSubgraphGetIndex(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.index(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphSetIndex(AGSubgraphRef subgraph, uint32_t index) AG_SWIFT_NAME(setter:AGSubgraphRef.index(self:_:)); + +// MARK: Observers + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGUniqueID AGSubgraphAddObserver(AGSubgraphRef subgraph, + void (*observer)(const void *_Nullable context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *_Nullable observer_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphRemoveObserver(AGSubgraphRef subgraph, AGUniqueID observer_id) + AG_SWIFT_NAME(AGSubgraphRef.removeObserver(self:_:)); + +// MARK: Children + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphAddChild(AGSubgraphRef subgraph, AGSubgraphRef child) AG_SWIFT_NAME(AGSubgraphRef.addChild(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphAddChild2(AGSubgraphRef subgraph, AGSubgraphRef child, uint8_t tag) + AG_SWIFT_NAME(AGSubgraphRef.addChild(self:_:tag:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphRemoveChild(AGSubgraphRef subgraph, AGSubgraphRef child) + AG_SWIFT_NAME(AGSubgraphRef.removeChild(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGSubgraphGetChild(AGSubgraphRef subgraph, uint32_t index, uint8_t *_Nullable tag_out) + AG_SWIFT_NAME(AGSubgraphRef.child(self:at:tag:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGSubgraphGetChildCount(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.childCount(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGSubgraphGetParent(AGSubgraphRef subgraph, int64_t index) AG_SWIFT_NAME(AGSubgraphRef.parent(self:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGSubgraphGetParentCount(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.parentCount(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphIsAncestor(AGSubgraphRef subgraph, AGSubgraphRef other) + AG_SWIFT_NAME(AGSubgraphRef.isAncestor(self:of:)); + +// MARK: Flags + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphIntersects(AGSubgraphRef subgraph, AGAttributeFlags flags) + AG_SWIFT_NAME(AGSubgraphRef.intersects(self:flags:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphIsDirty(AGSubgraphRef subgraph, AGAttributeFlags flags) AG_SWIFT_NAME(AGSubgraphRef.isDirty(self:flags:)); + +// MARK: Attributes + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGGraphGetAttributeSubgraph(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.subgraph(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef _Nullable AGGraphGetAttributeSubgraph2(AGAttribute attribute) + AG_SWIFT_NAME(getter:AGAttribute.subgraphOrNil(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphApply(AGSubgraphRef subgraph, uint32_t options, + void (*body)(AGAttribute, const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *body_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphUpdate(AGSubgraphRef subgraph, AGAttributeFlags flags) AG_SWIFT_NAME(AGSubgraphRef.update(self:flags:)); + +// MARK: Tree + +AG_EXPORT +AG_REFINED_FOR_SWIFT +_Nullable AGTreeElement AGSubgraphGetTreeRoot(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.treeRoot(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphBeginTreeElement(AGAttribute value, AGTypeID type, uint32_t flags); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphEndTreeElement(AGAttribute value); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphSetTreeOwner(AGSubgraphRef subgraph, AGAttribute owner) + AG_SWIFT_NAME(AGSubgraphRef.setTreeOwner(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphAddTreeValue(AGAttribute value, AGTypeID type, const char *key, uint32_t flags); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphShouldRecordTree(void) AG_SWIFT_NAME(getter:AGSubgraphRef.shouldRecordTree()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphSetShouldRecordTree(void) AG_SWIFT_NAME(AGSubgraphRef.setShouldRecordTree()); + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTargetConditionals.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTargetConditionals.h new file mode 100644 index 0000000..4714be2 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTargetConditionals.h @@ -0,0 +1,283 @@ +// This source file is part of the Swift.org open source project +// +// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +// Licensed under Apache License v2.0 with Runtime Library Exception +// +// See http://swift.org/LICENSE.txt for license information +// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors +// + +/* + File: TargetConditionals.h + + Contains: Autoconfiguration of TARGET_ conditionals for Mac OS X and iPhone + + Note: TargetConditionals.h in 3.4 Universal Interfaces works + with all compilers. This header only recognizes compilers + known to run on Mac OS X. + +*/ + +#if __has_include() +#include +#else + +#ifndef __TARGETCONDITIONALS__ +#define __TARGETCONDITIONALS__ +/**************************************************************************************************** + + TARGET_CPU_* + These conditionals specify which microprocessor instruction set is being + generated. At most one of these is true, the rest are false. + + TARGET_CPU_PPC - Compiler is generating PowerPC instructions for 32-bit mode + TARGET_CPU_PPC64 - Compiler is generating PowerPC instructions for 64-bit mode + TARGET_CPU_68K - Compiler is generating 680x0 instructions + TARGET_CPU_X86 - Compiler is generating x86 instructions + TARGET_CPU_ARM - Compiler is generating ARM instructions + TARGET_CPU_MIPS - Compiler is generating MIPS instructions + TARGET_CPU_SPARC - Compiler is generating Sparc instructions + TARGET_CPU_ALPHA - Compiler is generating Dec Alpha instructions + TARGET_CPU_WASM32 - Compiler is generating WebAssembly instructions for 32-bit mode + + + TARGET_OS_* + These conditionals specify in which Operating System the generated code will + run. Indention is used to show which conditionals are evolutionary subclasses. + + The MAC/WIN32/UNIX conditionals are mutually exclusive. + The IOS/TV/WATCH conditionals are mutually exclusive. + + + TARGET_OS_WIN32 - Generated code will run under 32-bit Windows + TARGET_OS_UNIX - Generated code will run under some Unix (not OSX) + TARGET_OS_CYGWIN - Generated code will run under 64-bit Cygwin + TARGET_OS_WASI - Generated code will run under WebAssembly System Interface + TARGET_OS_MAC - Generated code will run under Mac OS X variant + TARGET_OS_IPHONE - Generated code for firmware, devices, or simulator + TARGET_OS_IOS - Generated code will run under iOS + TARGET_OS_TV - Generated code will run under Apple TV OS + TARGET_OS_WATCH - Generated code will run under Apple Watch OS + TARGET_OS_SIMULATOR - Generated code will run under a simulator + TARGET_OS_EMBEDDED - Generated code for firmware + + TARGET_IPHONE_SIMULATOR - DEPRECATED: Same as TARGET_OS_SIMULATOR + TARGET_OS_NANO - DEPRECATED: Same as TARGET_OS_WATCH + + TARGET_RT_* + These conditionals specify in which runtime the generated code will + run. This is needed when the OS and CPU support more than one runtime + (e.g. Mac OS X supports CFM and mach-o). + + TARGET_RT_LITTLE_ENDIAN - Generated code uses little endian format for integers + TARGET_RT_BIG_ENDIAN - Generated code uses big endian format for integers + TARGET_RT_64_BIT - Generated code uses 64-bit pointers + TARGET_RT_MAC_CFM - TARGET_OS_MAC is true and CFM68K or PowerPC CFM (TVectors) are used + TARGET_RT_MAC_MACHO - TARGET_OS_MAC is true and Mach-O/dlyd runtime is used + + +****************************************************************************************************/ + +#if __APPLE__ +#define TARGET_OS_DARWIN 1 +#define TARGET_OS_LINUX 0 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __ANDROID__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 1 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 1 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __linux__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 1 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __CYGWIN__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 1 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 1 +#define TARGET_OS_WASI 0 +#elif _WIN32 || _WIN64 +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 0 +#define TARGET_OS_WINDOWS 1 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __unix__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 0 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 1 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __wasi__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 0 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 1 +#else +#error unknown operating system +#endif + +#define TARGET_OS_WIN32 TARGET_OS_WINDOWS +#define TARGET_OS_MAC TARGET_OS_DARWIN +#define TARGET_OS_OSX TARGET_OS_DARWIN + +// iOS, watchOS, and tvOS are not supported +#define TARGET_OS_IPHONE 0 +#define TARGET_OS_IOS 0 +#define TARGET_OS_WATCH 0 +#define TARGET_OS_TV 0 + +#if __x86_64__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 1 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __arm64__ || __aarch64__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 1 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __mips64__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 1 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __powerpc64__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 1 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __i386__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 1 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __arm__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 1 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __mips__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 1 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __powerpc__ +#define TARGET_CPU_PPC 1 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __s390x__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 1 +#define TARGET_CPU_WASM32 0 +#elif __wasm32__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 1 +#else +#error unknown architecture +#endif + +#if __LITTLE_ENDIAN__ +#define TARGET_RT_LITTLE_ENDIAN 1 +#define TARGET_RT_BIG_ENDIAN 0 +#elif __BIG_ENDIAN__ +#define TARGET_RT_LITTLE_ENDIAN 0 +#define TARGET_RT_BIG_ENDIAN 1 +#else +#error unknown endian +#endif + +#if __LP64__ || __LLP64__ || __POINTER_WIDTH__-0 == 64 +#define TARGET_RT_64_BIT 1 +#else +#define TARGET_RT_64_BIT 0 +#endif + +#endif /* __TARGETCONDITIONALS__ */ + +#endif // __has_include diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTraceType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTraceType.h new file mode 100644 index 0000000..ecae4e5 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTraceType.h @@ -0,0 +1,82 @@ +#pragma once + +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_ENUM(uint64_t, AGTraceTypeVersion) { + AGTraceTypeVersionInitial = 0, + AGTraceTypeVersionCustom = 1, + AGTraceTypeVersionNamed = 2, + AGTraceTypeVersionDeadline = 3, + AGTraceTypeVersionCompareFailed = 4, +}; + +typedef struct AGTraceType { + AGTraceTypeVersion version; + + void (*_Nullable begin_trace)(void *_Nullable context, AGGraphRef graph); + void (*_Nullable end_trace)(void *_Nullable context, AGGraphRef graph); + + void (*_Nullable begin_subgraph_update)(void *_Nullable context, AGSubgraphRef subgraph, uint32_t options); + void (*_Nullable end_subgraph_update)(void *_Nullable context, AGSubgraphRef subgraph); + void (*_Nullable begin_node_update)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable end_node_update)(void *_Nullable context, bool changed); + void (*_Nullable begin_value_update)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable end_value_update)(void *_Nullable context, AGAttribute attribute, bool changed); + void (*_Nullable begin_graph_update)(void *_Nullable context, AGGraphRef graph); + void (*_Nullable end_graph_update)(void *_Nullable context, AGGraphRef graph); + + void (*_Nullable begin_graph_invalidation)(void *_Nullable context, AGGraphRef graph, AGAttribute attribute); + void (*_Nullable end_graph_invalidation)(void *_Nullable context, AGGraphRef graph, AGAttribute attribute); + + void (*_Nullable begin_modify_node)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable end_modify_node)(void *_Nullable context, AGAttribute attribute); + + void (*_Nullable begin_event)(void *_Nullable context, AGAttribute attribute, const char *event_name); + void (*_Nullable end_event)(void *_Nullable context, AGAttribute attribute, const char *event_name); + + void (*_Nullable graph_created)(void *_Nullable context, AGGraphRef graph); + void (*_Nullable graph_destroy)(void *_Nullable context, AGGraphRef graph); + void (*_Nullable graph_needs_update)(void *_Nullable context, AGGraphRef graph); + + void (*_Nullable subgraph_created)(void *_Nullable context, AGSubgraphRef subgraph); + void (*_Nullable subgraph_destroy)(void *_Nullable context, AGSubgraphRef subgraph); + void (*_Nullable subgraph_add_child)(void *_Nullable context, AGSubgraphRef subgraph, AGSubgraphRef child); + void (*_Nullable subgraph_remove_child)(void *_Nullable context, AGSubgraphRef subgraph, AGSubgraphRef child); + + void (*_Nullable node_added)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable node_add_edge)(void *_Nullable context, AGAttribute attribute, AGAttribute input, AGInputOptions input_options); + void (*_Nullable node_remove_edge)(void *_Nullable context, AGAttribute attribute, uint32_t index); + void (*_Nullable node_set_edge_pending)(void *_Nullable context, AGAttribute attribute, AGAttribute input, bool pending); + + void (*_Nullable node_set_dirty)(void *_Nullable context, AGAttribute attribute, bool dirty); + void (*_Nullable node_set_pending)(void *_Nullable context, AGAttribute attribute, bool pending); + void (*_Nullable node_set_value)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable node_mark_value)(void *_Nullable context, AGAttribute attribute); + + void (*_Nullable indirect_node_added)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable indirect_node_set_source)(void *_Nullable context, AGAttribute attribute, AGAttribute source); + void (*_Nullable indirect_node_set_dependency)(void *_Nullable context, AGAttribute attribute, AGAttribute dependency); + + void (*_Nullable profile_mark)(void *_Nullable context, const char *event_name); + + void (*_Nullable custom_event)(void *_Nullable context, AGGraphRef graph, const char *event_name, const void *value, + AGTypeID type); + void (*_Nullable named_event)(void *_Nullable context, AGGraphRef graph, uint32_t eventID, uint32_t eventArgCount, + const void *eventArgs, CFDataRef data, uint32_t arg6); + bool (*_Nullable named_event_enabled)(void *_Nullable context); + + void (*_Nullable set_deadline)(void *_Nullable context); + void (*_Nullable passed_deadline)(void *_Nullable context); + + void (*_Nullable compare_failed)(void *_Nullable context, AGAttribute attribute, AGComparisonState comparisonState); +} AGTraceType; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTreeElement.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTreeElement.h new file mode 100644 index 0000000..7ee6a4c --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTreeElement.h @@ -0,0 +1,81 @@ +#pragma once + +#include +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct _AGTreeElement *AGTreeElement AG_SWIFT_STRUCT AG_SWIFT_NAME(TreeElement); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeID AGTreeElementGetType(AGTreeElement tree_element) AG_SWIFT_NAME(getter:AGTreeElement.type(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGTreeElementGetValue(AGTreeElement tree_element); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGTreeElementGetFlags(AGTreeElement tree_element) AG_SWIFT_NAME(getter:AGTreeElement.flags(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElement _Nullable AGTreeElementGetParent(AGTreeElement tree_element) AG_SWIFT_NAME(getter:AGTreeElement.parent(self:)); + +// MARK: Iterating values + +typedef struct AGTreeElementValueIterator { + uintptr_t parent_elt; + uintptr_t next_elt; +} AG_SWIFT_NAME(Values) AGTreeElementValueIterator; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElementValueIterator AGTreeElementMakeValueIterator(AGTreeElement tree_element) + AG_SWIFT_NAME(getter:AGTreeElement.values(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeValue _Nullable AGTreeElementGetNextValue(AGTreeElementValueIterator *iter) AG_SWIFT_NAME(AGTreeElementValueIterator.next(self:)); + +// MARK: Iterating nodes + +typedef struct AGTreeElementNodeIterator { + uintptr_t elt; + unsigned long node_index; +} AG_SWIFT_NAME(Nodes) AGTreeElementNodeIterator; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElementNodeIterator AGTreeElementMakeNodeIterator(AGTreeElement tree_element) + AG_SWIFT_NAME(getter:AGTreeElement.nodes(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGTreeElementGetNextNode(AGTreeElementNodeIterator *iter); + +// MARK: Iterating children + +typedef struct AGTreeElementChildIterator { + uintptr_t parent_elt; + uintptr_t next_elt; + size_t subgraph_index; +} AG_SWIFT_NAME(Children) AGTreeElementChildIterator; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElementChildIterator AGTreeElementMakeChildIterator(AGTreeElement tree_element) + AG_SWIFT_NAME(getter:AGTreeElement.children(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElement _Nullable AGTreeElementGetNextChild(AGTreeElementChildIterator *iter) AG_SWIFT_NAME(AGTreeElementChildIterator.next(self:)); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTreeValue.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTreeValue.h new file mode 100644 index 0000000..8ea995b --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTreeValue.h @@ -0,0 +1,31 @@ +#pragma once + +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct _AGTreeValue *AGTreeValue AG_SWIFT_STRUCT AG_SWIFT_NAME(TreeValue); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeID AGTreeValueGetType(AGTreeValue tree_value) AG_SWIFT_NAME(getter:AGTreeValue.type(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGTreeValueGetValue(AGTreeValue tree_value) AG_SWIFT_NAME(getter:AGTreeValue.value(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const char *AGTreeValueGetKey(AGTreeValue tree_value) AG_SWIFT_NAME(getter:AGTreeValue.key(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGTreeValueGetFlags(AGTreeValue tree_value) AG_SWIFT_NAME(getter:AGTreeValue.flags(self:)); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTuple.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTuple.h new file mode 100644 index 0000000..12b43c3 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTuple.h @@ -0,0 +1,89 @@ +#pragma once + +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +typedef AG_ENUM(uint32_t, AGTupleCopyOptions) { + AGTupleCopyOptionsAssignCopy = 0, + AGTupleCopyOptionsInitCopy = 1, + AGTupleCopyOptionsAssignTake = 2, + AGTupleCopyOptionsInitTake = 3, +} AG_SWIFT_NAME(TupleType.CopyOptions); + +typedef const struct AGSwiftMetadata *AGTupleType AG_SWIFT_STRUCT AG_SWIFT_NAME(TupleType); + +typedef struct AGUnsafeTuple { + AGTupleType type; + const void *value; +} AG_SWIFT_NAME(UnsafeTuple) AGUnsafeTuple; + +typedef struct AGUnsafeMutableTuple { + AGTupleType type; + void *value; +} AG_SWIFT_NAME(UnsafeMutableTuple) AGUnsafeMutableTuple; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTupleType AGNewTupleType(size_t count, const AGTypeID _Nonnull *_Nonnull elements) + AG_SWIFT_NAME(TupleType.init(count:elements:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleCount(AGTupleType tuple_type) AG_SWIFT_NAME(getter:AGTupleType.count(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleSize(AGTupleType tuple_type) AG_SWIFT_NAME(getter:AGTupleType.size(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeID AGTupleElementType(AGTupleType tuple_type, size_t index) AG_SWIFT_NAME(TupleType.elementType(self:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleElementSize(AGTupleType tuple_type, size_t index) AG_SWIFT_NAME(TupleType.elementSize(self:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleElementOffset(AGTupleType tuple_type, size_t index) AG_SWIFT_NAME(TupleType.elementOffset(self:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleElementOffsetChecked(AGTupleType tuple_type, size_t index, AGTypeID element_type) + AG_SWIFT_NAME(TupleType.elementOffset(self:at:type:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void *AGTupleGetElement(AGTupleType tuple_type, void *tuple_value, size_t index, void *element_value, + AGTypeID element_type, AGTupleCopyOptions options); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void *AGTupleSetElement(AGTupleType tuple_type, void *tuple_value, size_t index, const void *element_value, + AGTypeID element_type, AGTupleCopyOptions options); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTupleDestroy(AGTupleType tuple_type, void *tuple_value) AG_SWIFT_NAME(TupleType.destroy(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTupleDestroyElement(AGTupleType tuple_type, void *tuple_value, size_t index) + AG_SWIFT_NAME(TupleType.destroy(self:_:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTupleWithBuffer(AGTupleType tuple_type, size_t count, + void (*function)(const AGUnsafeMutableTuple mutable_tuple, void *context AG_SWIFT_CONTEXT) + AG_SWIFT_CC(swift), + void *context); + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGType.h new file mode 100644 index 0000000..6572a08 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGType.h @@ -0,0 +1,129 @@ +#pragma once + +#include + +#if TARGET_OS_MAC +#include +#else +#include +#endif + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wextern-c-compat" +typedef struct AG_SWIFT_NAME(_Metadata) AGSwiftMetadata { +} AGSwiftMetadata; +#pragma GCC diagnostic pop + +typedef const AGSwiftMetadata *AGTypeID AG_SWIFT_STRUCT AG_SWIFT_NAME(Metadata); + +typedef struct AGTypeSignature { + uint8_t bytes[20]; +} AG_SWIFT_NAME(Signature) AGTypeSignature; + +typedef AG_CLOSED_ENUM(uint32_t, AGTypeKind) { + AGTypeKindNone, + AGTypeKindClass, + AGTypeKindStruct, + AGTypeKindEnum, + AGTypeKindOptional, + AGTypeKindTuple, + AGTypeKindFunction, + AGTypeKindExistential, + AGTypeKindMetatype, +} AG_SWIFT_NAME(Metadata.Kind); + +#if TARGET_OS_MAC +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFStringRef AGTypeDescription(AGTypeID typeID); +#else +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFStringRef AGTypeCopyDescription(AGTypeID typeID); +#endif + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeKind AGTypeGetKind(AGTypeID typeID) AG_SWIFT_NAME(getter:Metadata.kind(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const AGTypeSignature AGTypeGetSignature(AGTypeID typeID) AG_SWIFT_NAME(getter:Metadata.signature(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *_Nullable AGTypeGetDescriptor(AGTypeID typeID) AG_SWIFT_NAME(getter:Metadata.descriptor(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *_Nullable AGTypeNominalDescriptor(AGTypeID typeID) AG_SWIFT_NAME(getter:Metadata.nominalDescriptor(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const char *_Nullable AGTypeNominalDescriptorName(AGTypeID typeID) + AG_SWIFT_NAME(getter:Metadata.nominalDescriptorName(self:)); + +typedef AG_OPTIONS(uint32_t, AGTypeApplyOptions) { + AGTypeApplyOptionsEnumerateStructFields = 0, + AGTypeApplyOptionsEnumerateClassFields = 1 << 0, + AGTypeApplyOptionsContinueAfterUnknownField = 1 << 1, + AGTypeApplyOptionsEnumerateEnumCases = 1 << 2, +} AG_SWIFT_NAME(Metadata.ApplyOptions); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTypeApplyFields(AGTypeID typeID, + void (*apply)(const char *field_name, + size_t field_offset, + AGTypeID field_type, + const void *_Nullable context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *apply_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGTypeApplyFields2(AGTypeID typeID, AGTypeApplyOptions options, + bool (*_Nonnull apply)(const char *field_name, + size_t field_offset, + AGTypeID field_type, + const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *apply_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGTypeApplyEnumData(AGTypeID typeID, void *value, + void (*body)(uint32_t tag, + AGTypeID field_type, + const void *field_value, + void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + void *context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGTypeApplyMutableEnumData(AGTypeID typeID, void *value, + void (*body)(uint32_t tag, + AGTypeID field_type, + void *field_value, + void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + void *context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGTypeGetEnumTag(AGTypeID typeID, const void *value) AG_SWIFT_NAME(AGTypeID.enumTag(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTypeProjectEnumData(AGTypeID typeID, void *value) AG_SWIFT_NAME(AGTypeID.projectEnumData(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTypeInjectEnumTag(AGTypeID typeID, uint32_t tag, void *value) AG_SWIFT_NAME(AGTypeID.injectEnumTag(self:tag:_:)); + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGUniqueID.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGUniqueID.h new file mode 100644 index 0000000..cee9699 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGUniqueID.h @@ -0,0 +1,15 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef long AGUniqueID; + +AGUniqueID AGMakeUniqueID(void) AG_SWIFT_NAME(makeUniqueID()); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGValue.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGValue.h new file mode 100644 index 0000000..2a05460 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGValue.h @@ -0,0 +1,32 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint32_t, AGValueOptions) { + AGValueOptionsNone = 0, + AGValueOptionsInputOptionsUnprefetched = 1 << 0, + AGValueOptionsInputOptionsSyncMainRef = 1 << 1, + AGValueOptionsInputOptionsMask = 3, + + AGValueOptionsIncrementGraphVersion = 1 << 2, // AsTopLevelOutput +}; + +typedef AG_OPTIONS(uint8_t, AGValueState) { + AGValueStateNone = 0, + AGValueStateDirty = 1 << 0, + AGValueStatePending = 1 << 1, + AGValueStateUpdating = 1 << 2, + AGValueStateValueExists = 1 << 3, + AGValueStateMainThread = 1 << 4, + AGValueStateMainRef = 1 << 5, + AGValueStateRequiresMainThread = 1 << 6, + AGValueStateSelfModified = 1 << 7, +}; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGWeakAttribute.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGWeakAttribute.h new file mode 100644 index 0000000..d12b43d --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGWeakAttribute.h @@ -0,0 +1,27 @@ +#pragma once + +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct AGWeakAttribute { + struct { + AGAttribute identifier; + uint32_t seed; + } _details; +} AG_SWIFT_NAME(AnyWeakAttribute) AGWeakAttribute; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGWeakAttribute AGCreateWeakAttribute(AGAttribute attribute); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGWeakAttributeGetAttribute(AGWeakAttribute attribute); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AttributeGraph.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AttributeGraph.h new file mode 100644 index 0000000..e53ccf9 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AttributeGraph.h @@ -0,0 +1,26 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Info.plist b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Info.plist new file mode 100644 index 0000000..87bbacf --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Info.plist @@ -0,0 +1,16 @@ + + + + + CFBundleExecutable + AttributeGraph + CFBundleIdentifier + com.apple.AttributeGraph + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..2d0ba25 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,712 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.3.2 (swift-6.3.2-RELEASE) +// swift-module-flags: -target arm64-apple-ios26.5-macabi -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature Extern -module-name AttributeGraph +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +@_exported import AttributeGraph +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +extension AttributeGraph.AnyAttribute { + public static var current: AttributeGraph.AnyAttribute? { + get + } + public init(_ attribute: AttributeGraph.Attribute) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.Attribute + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute + public var indirectDependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public var _bodyType: any Any.Type { + get + } + public var _bodyPointer: Swift.UnsafeRawPointer { + get + } + public var valueType: any Any.Type { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Equatable { +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { +} +extension AttributeGraph.AnyAttribute { + public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue +} +@propertyWrapper @dynamicMemberLookup public struct Attribute { + public var identifier: AttributeGraph.AnyAttribute + public init(identifier: AttributeGraph.AnyAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(value: Value) + public init(type: Value.Type) + public init(body: Swift.UnsafePointer, value: Swift.UnsafePointer?, flags: AttributeGraph._AttributeType.Flags, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) where Body : AttributeGraph._AttributeBody + public var graph: AttributeGraph.Graph { + get + } + public var subgraph: AttributeGraph.Subgraph { + get + } + public var subgraphOrNil: AttributeGraph.Subgraph? { + get + } + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public var flags: AttributeGraph.Subgraph.Flags { + get + nonmutating set + } + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute + public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public func validate() + public var value: Value { + unsafeAddress + nonmutating set + } + public func setValue(_ value: Value) -> Swift.Bool + public var hasValue: Swift.Bool { + get + } + public var valueState: AttributeGraph.IAGValueState { + get + } + public func prefetchValue() + public func updateValue() + public func invalidateValue() + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public var wrappedValue: Value { + unsafeAddress + nonmutating set + } + public var projectedValue: AttributeGraph.Attribute { + get + set + } + public subscript(offset body: (inout Value) -> AttributeGraph.PointerOffset) -> AttributeGraph.Attribute { + get + } + public subscript(keyPath keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public func unsafeCast(to type: T.Type) -> AttributeGraph.Attribute + public func unsafeOffset(at offset: Swift.Int, as type: Member.Type) -> AttributeGraph.Attribute +} +extension AttributeGraph.Attribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Attribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool +} +extension AttributeGraph.Attribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension AttributeGraph.Attribute { + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.StatefulRule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.StatefulRule +} +public protocol _AttributeBody { + static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + static var _hasDestroySelf: Swift.Bool { get } + static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + static var comparisonMode: AttributeGraph.ComparisonMode { get } + static var flags: AttributeGraph._AttributeType.Flags { get } +} +extension AttributeGraph._AttributeBody { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph._AttributeBody { + public var updateWasCancelled: Swift.Bool { + get + } +} +public protocol AttributeBodyVisitor { + mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody +} +public struct _External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph._External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph._External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +public struct External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { + public var identifier: AttributeGraph.AnyAttribute + public init(source: AttributeGraph.Attribute) + public var source: AttributeGraph.Attribute { + get + nonmutating set + } + public var attribute: AttributeGraph.Attribute { + get + } + public func resetSource() + public var dependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public var value: Value { + get + nonmutating set + nonmutating _modify + } + public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public var wrappedValue: Value { + get + nonmutating set + nonmutating _modify + } + public var projectedValue: AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } +} +extension AttributeGraph.IndirectAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.IndirectAttribute, rhs: AttributeGraph.IndirectAttribute) -> Swift.Bool +} +extension AttributeGraph.IndirectAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol ObservedAttribute : AttributeGraph._AttributeBody { + mutating func destroy() +} +extension AttributeGraph.ObservedAttribute { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } +} +public struct AnyOptionalAttribute { + public static var current: AttributeGraph.AnyOptionalAttribute { + get + } + public var identifier: AttributeGraph.AnyAttribute + public init() + public init(_ weakAttribute: AttributeGraph.AnyWeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public init(_ attribute: AttributeGraph.AnyAttribute) + public init(_ optionalAttribute: AttributeGraph.OptionalAttribute) + public func unsafeCast(to _: Value.Type) -> AttributeGraph.OptionalAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } + public func map(_ transform: (AttributeGraph.AnyAttribute) -> T) -> T? +} +extension AttributeGraph.AnyOptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyOptionalAttribute, rhs: AttributeGraph.AnyOptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { + public var base: AttributeGraph.AnyOptionalAttribute + public init(base: AttributeGraph.AnyOptionalAttribute) + public init() + public init(_ weakAttribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var value: Value? { + get + } + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.OptionalAttribute, rhs: AttributeGraph.OptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.OptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct PointerOffset { + public var byteOffset: Swift.Int + public init(byteOffset: Swift.Int) + public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset + public static func offset(_ body: (inout Base) -> AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset + public static func invalidScenePointer() -> Swift.UnsafeMutablePointer +} +extension AttributeGraph.PointerOffset where Base == Member { + public init() +} +extension AttributeGraph.PointerOffset { + public static func + (lhs: AttributeGraph.PointerOffset, rhs: AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset +} +extension Swift.UnsafePointer { + public static func + (lhs: Swift.UnsafePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafePointer + public subscript(offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + } +} +extension Swift.UnsafeMutablePointer { + public static func + (lhs: Swift.UnsafeMutablePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafeMutablePointer + public subscript(offset offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + unsafeMutableAddress + } +} +public struct Focus { + public var root: AttributeGraph.Attribute + public var keyPath: Swift.KeyPath + public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) +} +extension AttributeGraph.Focus : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Focus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public struct Map { + public var arg: AttributeGraph.Attribute + public var body: (Arg) -> Value + public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) +} +extension AttributeGraph.Map : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Map : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public protocol Rule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + var value: Self.Value { get } +} +extension AttributeGraph.Rule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ self: Swift.UnsafeMutableRawPointer) + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.Rule { + public var bodyChanged: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +extension AttributeGraph.Rule where Self : Swift.Hashable { + public func cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value + public func cachedValueIfExists(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value? + public static func _cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?, hashValue: Swift.Int, bodyPtr: Swift.UnsafeRawPointer, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) -> Swift.UnsafePointer +} +public protocol StatefulRule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + mutating func updateValue() +} +extension AttributeGraph.StatefulRule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) +} +extension AttributeGraph.StatefulRule { + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) + public var bodyChanged: Swift.Bool { + get + } + public var value: Self.Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +public struct AnyRuleContext { + public var attribute: AttributeGraph.AnyAttribute + public init(attribute: AttributeGraph.AnyAttribute) + public init(_ ruleContext: AttributeGraph.RuleContext) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext + public func update(body: () -> Swift.Void) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(attribute: AttributeGraph.Attribute) -> Value { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> Value? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> Value? { + get + } +} +extension AttributeGraph.AnyRuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool +} +public struct RuleContext { + public var attribute: AttributeGraph.Attribute + public init(attribute: AttributeGraph.Attribute) + public func update(body: () -> Swift.Void) + public var value: Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(input: AttributeGraph.Attribute) -> InputValue { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> T? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> T? { + get + } +} +extension AttributeGraph.RuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.RuleContext, rhs: AttributeGraph.RuleContext) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute { + public init(_ attribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.WeakAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyWeakAttribute, rhs: AttributeGraph.AnyWeakAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { + public var base: AttributeGraph.AnyWeakAttribute + public init(base: AttributeGraph.AnyWeakAttribute) + public init() + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public var value: Value? { + get + } + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.WeakAttribute, rhs: AttributeGraph.WeakAttribute) -> Swift.Bool +} +extension AttributeGraph.WeakAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_silgen_name("IAGGraphSetOutputValue") +@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +extension AttributeGraph.Graph { + @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { + IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + } + @_transparent @inline(__always) public var mainUpdates: Swift.Int { + @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } + } +} +extension AttributeGraph.Graph { + @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { + return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + } +} +extension AttributeGraph.Graph { + public func onUpdate(_ handler: @escaping () -> Swift.Void) + public func onInvalidation(_ handler: @escaping (AttributeGraph.AnyAttribute) -> Swift.Void) + public func withDeadline(_ deadline: Swift.UInt64, _ body: () -> T) -> T + public static func withoutUpdate(_ body: () -> T) -> T + public func withoutSubgraphInvalidation(_ body: () -> T) -> T + public func withMainThreadHandler(_ mainThreadHandler: (() -> Swift.Void) -> Swift.Void, do body: () -> Swift.Void) +} +extension AttributeGraph.Graph { + public static func startProfiling(_ graph: AttributeGraph.Graph?) + public static func stopProfiling(_ graph: AttributeGraph.Graph?) + public static func markProfile(name: Swift.UnsafePointer) + public static func resetProfile() +} +extension AttributeGraph.Graph { + public func addTraceEvent(_ event: Swift.UnsafePointer, value: T) + public func addTraceEvent(_ event: Swift.UnsafePointer, context: Swift.UnsafePointer) +} +extension AttributeGraph.Graph { + public func print(includeValues: Swift.Bool) + public func archiveJSON(name: Swift.String?) + public func graphvizDescription(includeValues: Swift.Bool) -> Swift.String + public static func printStack(maxFrames: Swift.Int) + public static func stackDescription(maxFrames: Swift.Int) -> Swift.String +} +extension AttributeGraph.Graph : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool +} +extension AttributeGraph.Subgraph { + public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int +} +extension AttributeGraph.Subgraph { + public func apply(_ body: () -> T) -> T + public func forEach(_ flags: AttributeGraph.Subgraph.Flags, _ body: (AttributeGraph.AnyAttribute) -> Swift.Void) +} +extension AttributeGraph.Subgraph { + public static func beginTreeElement(value: AttributeGraph.Attribute, flags: Swift.UInt32) + public static func endTreeElement(value: AttributeGraph.Attribute) + public static func addTreeValue(_ value: AttributeGraph.Attribute, forKey key: Swift.UnsafePointer, flags: Swift.UInt32) +} +extension AttributeGraph.TreeElement { + public var value: AttributeGraph.AnyAttribute? { + get + } +} +extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.AnyAttribute + @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + let result = __IAGTreeElementGetNextNode(&self) + return result == .nil ? nil : result + } +} +extension AttributeGraph.Children : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeElement +} +extension AttributeGraph.Values : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeValue +} +extension AttributeGraph.ComparisonOptions { + public init(mode: AttributeGraph.ComparisonMode) +} +public func compareValues(_ lhs: Value, _ rhs: Value, mode: AttributeGraph.ComparisonMode = .equatableAlways) -> Swift.Bool +public func compareValues(_ lhs: Value, _ rhs: Value, options: AttributeGraph.ComparisonOptions) -> Swift.Bool +public func withUnsafePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeRawPointer) -> Swift.Void) -> Swift.Bool +public func withUnsafeMutablePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeMutableRawPointer) -> Swift.Void) -> Swift.Bool +public func forEachField(of type: any Any.Type, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Void) +extension AttributeGraph.Metadata { + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public func forEachField(options: AttributeGraph.Metadata.ApplyOptions, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Bool) -> Swift.Bool +} +extension AttributeGraph.Metadata : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Metadata : @retroactive Swift.Equatable { +} +extension AttributeGraph.Metadata : @retroactive Swift.Hashable { +} +extension AttributeGraph.Signature : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Signature, rhs: AttributeGraph.Signature) -> Swift.Bool +} +public func withUnsafeTuple(of type: AttributeGraph.TupleType, count: Swift.Int, body: (AttributeGraph.UnsafeMutableTuple) -> Swift.Void) +extension AttributeGraph.TupleType { + public init(_ types: [any Any.Type]) + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func type(at index: Swift.Int) -> any Any.Type + public func offset(at index: Swift.Int, as type: T.Type) -> Swift.Int + public func getElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, to destinationValue: Swift.UnsafeMutablePointer, options: AttributeGraph.TupleType.CopyOptions) + public func setElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, from sourceValue: Swift.UnsafePointer, options: AttributeGraph.TupleType.CopyOptions) +} +extension AttributeGraph.UnsafeTuple { + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafePointer + public subscript() -> T { + unsafeAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + } +} +extension AttributeGraph.UnsafeMutableTuple { + public init(with tupleType: AttributeGraph.TupleType) + public func deallocate(initialized: Swift.Bool) + public func initialize(at index: Swift.Int, to element: T) + public func deinitialize() + public func deinitialize(at index: Swift.Int) + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafeMutablePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafeMutablePointer + public subscript() -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } +} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..bb5df90 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface @@ -0,0 +1,712 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.3.2 (swift-6.3.2-RELEASE) +// swift-module-flags: -target arm64e-apple-ios26.5-macabi -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature Extern -module-name AttributeGraph +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +@_exported import AttributeGraph +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +extension AttributeGraph.AnyAttribute { + public static var current: AttributeGraph.AnyAttribute? { + get + } + public init(_ attribute: AttributeGraph.Attribute) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.Attribute + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute + public var indirectDependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public var _bodyType: any Any.Type { + get + } + public var _bodyPointer: Swift.UnsafeRawPointer { + get + } + public var valueType: any Any.Type { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Equatable { +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { +} +extension AttributeGraph.AnyAttribute { + public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue +} +@propertyWrapper @dynamicMemberLookup public struct Attribute { + public var identifier: AttributeGraph.AnyAttribute + public init(identifier: AttributeGraph.AnyAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(value: Value) + public init(type: Value.Type) + public init(body: Swift.UnsafePointer, value: Swift.UnsafePointer?, flags: AttributeGraph._AttributeType.Flags, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) where Body : AttributeGraph._AttributeBody + public var graph: AttributeGraph.Graph { + get + } + public var subgraph: AttributeGraph.Subgraph { + get + } + public var subgraphOrNil: AttributeGraph.Subgraph? { + get + } + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public var flags: AttributeGraph.Subgraph.Flags { + get + nonmutating set + } + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute + public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public func validate() + public var value: Value { + unsafeAddress + nonmutating set + } + public func setValue(_ value: Value) -> Swift.Bool + public var hasValue: Swift.Bool { + get + } + public var valueState: AttributeGraph.IAGValueState { + get + } + public func prefetchValue() + public func updateValue() + public func invalidateValue() + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public var wrappedValue: Value { + unsafeAddress + nonmutating set + } + public var projectedValue: AttributeGraph.Attribute { + get + set + } + public subscript(offset body: (inout Value) -> AttributeGraph.PointerOffset) -> AttributeGraph.Attribute { + get + } + public subscript(keyPath keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public func unsafeCast(to type: T.Type) -> AttributeGraph.Attribute + public func unsafeOffset(at offset: Swift.Int, as type: Member.Type) -> AttributeGraph.Attribute +} +extension AttributeGraph.Attribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Attribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool +} +extension AttributeGraph.Attribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension AttributeGraph.Attribute { + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.StatefulRule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.StatefulRule +} +public protocol _AttributeBody { + static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + static var _hasDestroySelf: Swift.Bool { get } + static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + static var comparisonMode: AttributeGraph.ComparisonMode { get } + static var flags: AttributeGraph._AttributeType.Flags { get } +} +extension AttributeGraph._AttributeBody { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph._AttributeBody { + public var updateWasCancelled: Swift.Bool { + get + } +} +public protocol AttributeBodyVisitor { + mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody +} +public struct _External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph._External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph._External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +public struct External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { + public var identifier: AttributeGraph.AnyAttribute + public init(source: AttributeGraph.Attribute) + public var source: AttributeGraph.Attribute { + get + nonmutating set + } + public var attribute: AttributeGraph.Attribute { + get + } + public func resetSource() + public var dependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public var value: Value { + get + nonmutating set + nonmutating _modify + } + public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public var wrappedValue: Value { + get + nonmutating set + nonmutating _modify + } + public var projectedValue: AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } +} +extension AttributeGraph.IndirectAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.IndirectAttribute, rhs: AttributeGraph.IndirectAttribute) -> Swift.Bool +} +extension AttributeGraph.IndirectAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol ObservedAttribute : AttributeGraph._AttributeBody { + mutating func destroy() +} +extension AttributeGraph.ObservedAttribute { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } +} +public struct AnyOptionalAttribute { + public static var current: AttributeGraph.AnyOptionalAttribute { + get + } + public var identifier: AttributeGraph.AnyAttribute + public init() + public init(_ weakAttribute: AttributeGraph.AnyWeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public init(_ attribute: AttributeGraph.AnyAttribute) + public init(_ optionalAttribute: AttributeGraph.OptionalAttribute) + public func unsafeCast(to _: Value.Type) -> AttributeGraph.OptionalAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } + public func map(_ transform: (AttributeGraph.AnyAttribute) -> T) -> T? +} +extension AttributeGraph.AnyOptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyOptionalAttribute, rhs: AttributeGraph.AnyOptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { + public var base: AttributeGraph.AnyOptionalAttribute + public init(base: AttributeGraph.AnyOptionalAttribute) + public init() + public init(_ weakAttribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var value: Value? { + get + } + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.OptionalAttribute, rhs: AttributeGraph.OptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.OptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct PointerOffset { + public var byteOffset: Swift.Int + public init(byteOffset: Swift.Int) + public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset + public static func offset(_ body: (inout Base) -> AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset + public static func invalidScenePointer() -> Swift.UnsafeMutablePointer +} +extension AttributeGraph.PointerOffset where Base == Member { + public init() +} +extension AttributeGraph.PointerOffset { + public static func + (lhs: AttributeGraph.PointerOffset, rhs: AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset +} +extension Swift.UnsafePointer { + public static func + (lhs: Swift.UnsafePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafePointer + public subscript(offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + } +} +extension Swift.UnsafeMutablePointer { + public static func + (lhs: Swift.UnsafeMutablePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafeMutablePointer + public subscript(offset offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + unsafeMutableAddress + } +} +public struct Focus { + public var root: AttributeGraph.Attribute + public var keyPath: Swift.KeyPath + public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) +} +extension AttributeGraph.Focus : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Focus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public struct Map { + public var arg: AttributeGraph.Attribute + public var body: (Arg) -> Value + public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) +} +extension AttributeGraph.Map : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Map : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public protocol Rule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + var value: Self.Value { get } +} +extension AttributeGraph.Rule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ self: Swift.UnsafeMutableRawPointer) + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.Rule { + public var bodyChanged: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +extension AttributeGraph.Rule where Self : Swift.Hashable { + public func cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value + public func cachedValueIfExists(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value? + public static func _cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?, hashValue: Swift.Int, bodyPtr: Swift.UnsafeRawPointer, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) -> Swift.UnsafePointer +} +public protocol StatefulRule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + mutating func updateValue() +} +extension AttributeGraph.StatefulRule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) +} +extension AttributeGraph.StatefulRule { + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) + public var bodyChanged: Swift.Bool { + get + } + public var value: Self.Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +public struct AnyRuleContext { + public var attribute: AttributeGraph.AnyAttribute + public init(attribute: AttributeGraph.AnyAttribute) + public init(_ ruleContext: AttributeGraph.RuleContext) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext + public func update(body: () -> Swift.Void) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(attribute: AttributeGraph.Attribute) -> Value { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> Value? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> Value? { + get + } +} +extension AttributeGraph.AnyRuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool +} +public struct RuleContext { + public var attribute: AttributeGraph.Attribute + public init(attribute: AttributeGraph.Attribute) + public func update(body: () -> Swift.Void) + public var value: Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(input: AttributeGraph.Attribute) -> InputValue { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> T? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> T? { + get + } +} +extension AttributeGraph.RuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.RuleContext, rhs: AttributeGraph.RuleContext) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute { + public init(_ attribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.WeakAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyWeakAttribute, rhs: AttributeGraph.AnyWeakAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { + public var base: AttributeGraph.AnyWeakAttribute + public init(base: AttributeGraph.AnyWeakAttribute) + public init() + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public var value: Value? { + get + } + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.WeakAttribute, rhs: AttributeGraph.WeakAttribute) -> Swift.Bool +} +extension AttributeGraph.WeakAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_silgen_name("IAGGraphSetOutputValue") +@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +extension AttributeGraph.Graph { + @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { + IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + } + @_transparent @inline(__always) public var mainUpdates: Swift.Int { + @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } + } +} +extension AttributeGraph.Graph { + @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { + return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + } +} +extension AttributeGraph.Graph { + public func onUpdate(_ handler: @escaping () -> Swift.Void) + public func onInvalidation(_ handler: @escaping (AttributeGraph.AnyAttribute) -> Swift.Void) + public func withDeadline(_ deadline: Swift.UInt64, _ body: () -> T) -> T + public static func withoutUpdate(_ body: () -> T) -> T + public func withoutSubgraphInvalidation(_ body: () -> T) -> T + public func withMainThreadHandler(_ mainThreadHandler: (() -> Swift.Void) -> Swift.Void, do body: () -> Swift.Void) +} +extension AttributeGraph.Graph { + public static func startProfiling(_ graph: AttributeGraph.Graph?) + public static func stopProfiling(_ graph: AttributeGraph.Graph?) + public static func markProfile(name: Swift.UnsafePointer) + public static func resetProfile() +} +extension AttributeGraph.Graph { + public func addTraceEvent(_ event: Swift.UnsafePointer, value: T) + public func addTraceEvent(_ event: Swift.UnsafePointer, context: Swift.UnsafePointer) +} +extension AttributeGraph.Graph { + public func print(includeValues: Swift.Bool) + public func archiveJSON(name: Swift.String?) + public func graphvizDescription(includeValues: Swift.Bool) -> Swift.String + public static func printStack(maxFrames: Swift.Int) + public static func stackDescription(maxFrames: Swift.Int) -> Swift.String +} +extension AttributeGraph.Graph : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool +} +extension AttributeGraph.Subgraph { + public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int +} +extension AttributeGraph.Subgraph { + public func apply(_ body: () -> T) -> T + public func forEach(_ flags: AttributeGraph.Subgraph.Flags, _ body: (AttributeGraph.AnyAttribute) -> Swift.Void) +} +extension AttributeGraph.Subgraph { + public static func beginTreeElement(value: AttributeGraph.Attribute, flags: Swift.UInt32) + public static func endTreeElement(value: AttributeGraph.Attribute) + public static func addTreeValue(_ value: AttributeGraph.Attribute, forKey key: Swift.UnsafePointer, flags: Swift.UInt32) +} +extension AttributeGraph.TreeElement { + public var value: AttributeGraph.AnyAttribute? { + get + } +} +extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.AnyAttribute + @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + let result = __IAGTreeElementGetNextNode(&self) + return result == .nil ? nil : result + } +} +extension AttributeGraph.Children : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeElement +} +extension AttributeGraph.Values : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeValue +} +extension AttributeGraph.ComparisonOptions { + public init(mode: AttributeGraph.ComparisonMode) +} +public func compareValues(_ lhs: Value, _ rhs: Value, mode: AttributeGraph.ComparisonMode = .equatableAlways) -> Swift.Bool +public func compareValues(_ lhs: Value, _ rhs: Value, options: AttributeGraph.ComparisonOptions) -> Swift.Bool +public func withUnsafePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeRawPointer) -> Swift.Void) -> Swift.Bool +public func withUnsafeMutablePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeMutableRawPointer) -> Swift.Void) -> Swift.Bool +public func forEachField(of type: any Any.Type, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Void) +extension AttributeGraph.Metadata { + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public func forEachField(options: AttributeGraph.Metadata.ApplyOptions, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Bool) -> Swift.Bool +} +extension AttributeGraph.Metadata : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Metadata : @retroactive Swift.Equatable { +} +extension AttributeGraph.Metadata : @retroactive Swift.Hashable { +} +extension AttributeGraph.Signature : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Signature, rhs: AttributeGraph.Signature) -> Swift.Bool +} +public func withUnsafeTuple(of type: AttributeGraph.TupleType, count: Swift.Int, body: (AttributeGraph.UnsafeMutableTuple) -> Swift.Void) +extension AttributeGraph.TupleType { + public init(_ types: [any Any.Type]) + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func type(at index: Swift.Int) -> any Any.Type + public func offset(at index: Swift.Int, as type: T.Type) -> Swift.Int + public func getElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, to destinationValue: Swift.UnsafeMutablePointer, options: AttributeGraph.TupleType.CopyOptions) + public func setElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, from sourceValue: Swift.UnsafePointer, options: AttributeGraph.TupleType.CopyOptions) +} +extension AttributeGraph.UnsafeTuple { + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafePointer + public subscript() -> T { + unsafeAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + } +} +extension AttributeGraph.UnsafeMutableTuple { + public init(with tupleType: AttributeGraph.TupleType) + public func deallocate(initialized: Swift.Bool) + public func initialize(at index: Swift.Int, to element: T) + public func deinitialize() + public func deinitialize(at index: Swift.Int) + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafeMutablePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafeMutablePointer + public subscript() -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } +} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..572d050 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,712 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.3.2 (swift-6.3.2-RELEASE) +// swift-module-flags: -target x86_64-apple-ios26.5-macabi -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature Extern -module-name AttributeGraph +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +@_exported import AttributeGraph +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +extension AttributeGraph.AnyAttribute { + public static var current: AttributeGraph.AnyAttribute? { + get + } + public init(_ attribute: AttributeGraph.Attribute) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.Attribute + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute + public var indirectDependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public var _bodyType: any Any.Type { + get + } + public var _bodyPointer: Swift.UnsafeRawPointer { + get + } + public var valueType: any Any.Type { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Equatable { +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { +} +extension AttributeGraph.AnyAttribute { + public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue +} +@propertyWrapper @dynamicMemberLookup public struct Attribute { + public var identifier: AttributeGraph.AnyAttribute + public init(identifier: AttributeGraph.AnyAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(value: Value) + public init(type: Value.Type) + public init(body: Swift.UnsafePointer, value: Swift.UnsafePointer?, flags: AttributeGraph._AttributeType.Flags, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) where Body : AttributeGraph._AttributeBody + public var graph: AttributeGraph.Graph { + get + } + public var subgraph: AttributeGraph.Subgraph { + get + } + public var subgraphOrNil: AttributeGraph.Subgraph? { + get + } + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public var flags: AttributeGraph.Subgraph.Flags { + get + nonmutating set + } + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute + public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public func validate() + public var value: Value { + unsafeAddress + nonmutating set + } + public func setValue(_ value: Value) -> Swift.Bool + public var hasValue: Swift.Bool { + get + } + public var valueState: AttributeGraph.IAGValueState { + get + } + public func prefetchValue() + public func updateValue() + public func invalidateValue() + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public var wrappedValue: Value { + unsafeAddress + nonmutating set + } + public var projectedValue: AttributeGraph.Attribute { + get + set + } + public subscript(offset body: (inout Value) -> AttributeGraph.PointerOffset) -> AttributeGraph.Attribute { + get + } + public subscript(keyPath keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public func unsafeCast(to type: T.Type) -> AttributeGraph.Attribute + public func unsafeOffset(at offset: Swift.Int, as type: Member.Type) -> AttributeGraph.Attribute +} +extension AttributeGraph.Attribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Attribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool +} +extension AttributeGraph.Attribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension AttributeGraph.Attribute { + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.StatefulRule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.StatefulRule +} +public protocol _AttributeBody { + static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + static var _hasDestroySelf: Swift.Bool { get } + static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + static var comparisonMode: AttributeGraph.ComparisonMode { get } + static var flags: AttributeGraph._AttributeType.Flags { get } +} +extension AttributeGraph._AttributeBody { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph._AttributeBody { + public var updateWasCancelled: Swift.Bool { + get + } +} +public protocol AttributeBodyVisitor { + mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody +} +public struct _External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph._External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph._External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +public struct External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { + public var identifier: AttributeGraph.AnyAttribute + public init(source: AttributeGraph.Attribute) + public var source: AttributeGraph.Attribute { + get + nonmutating set + } + public var attribute: AttributeGraph.Attribute { + get + } + public func resetSource() + public var dependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public var value: Value { + get + nonmutating set + nonmutating _modify + } + public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public var wrappedValue: Value { + get + nonmutating set + nonmutating _modify + } + public var projectedValue: AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } +} +extension AttributeGraph.IndirectAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.IndirectAttribute, rhs: AttributeGraph.IndirectAttribute) -> Swift.Bool +} +extension AttributeGraph.IndirectAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol ObservedAttribute : AttributeGraph._AttributeBody { + mutating func destroy() +} +extension AttributeGraph.ObservedAttribute { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } +} +public struct AnyOptionalAttribute { + public static var current: AttributeGraph.AnyOptionalAttribute { + get + } + public var identifier: AttributeGraph.AnyAttribute + public init() + public init(_ weakAttribute: AttributeGraph.AnyWeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public init(_ attribute: AttributeGraph.AnyAttribute) + public init(_ optionalAttribute: AttributeGraph.OptionalAttribute) + public func unsafeCast(to _: Value.Type) -> AttributeGraph.OptionalAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } + public func map(_ transform: (AttributeGraph.AnyAttribute) -> T) -> T? +} +extension AttributeGraph.AnyOptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyOptionalAttribute, rhs: AttributeGraph.AnyOptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { + public var base: AttributeGraph.AnyOptionalAttribute + public init(base: AttributeGraph.AnyOptionalAttribute) + public init() + public init(_ weakAttribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var value: Value? { + get + } + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.OptionalAttribute, rhs: AttributeGraph.OptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.OptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct PointerOffset { + public var byteOffset: Swift.Int + public init(byteOffset: Swift.Int) + public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset + public static func offset(_ body: (inout Base) -> AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset + public static func invalidScenePointer() -> Swift.UnsafeMutablePointer +} +extension AttributeGraph.PointerOffset where Base == Member { + public init() +} +extension AttributeGraph.PointerOffset { + public static func + (lhs: AttributeGraph.PointerOffset, rhs: AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset +} +extension Swift.UnsafePointer { + public static func + (lhs: Swift.UnsafePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafePointer + public subscript(offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + } +} +extension Swift.UnsafeMutablePointer { + public static func + (lhs: Swift.UnsafeMutablePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafeMutablePointer + public subscript(offset offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + unsafeMutableAddress + } +} +public struct Focus { + public var root: AttributeGraph.Attribute + public var keyPath: Swift.KeyPath + public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) +} +extension AttributeGraph.Focus : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Focus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public struct Map { + public var arg: AttributeGraph.Attribute + public var body: (Arg) -> Value + public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) +} +extension AttributeGraph.Map : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Map : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public protocol Rule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + var value: Self.Value { get } +} +extension AttributeGraph.Rule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ self: Swift.UnsafeMutableRawPointer) + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.Rule { + public var bodyChanged: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +extension AttributeGraph.Rule where Self : Swift.Hashable { + public func cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value + public func cachedValueIfExists(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value? + public static func _cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?, hashValue: Swift.Int, bodyPtr: Swift.UnsafeRawPointer, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) -> Swift.UnsafePointer +} +public protocol StatefulRule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + mutating func updateValue() +} +extension AttributeGraph.StatefulRule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) +} +extension AttributeGraph.StatefulRule { + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) + public var bodyChanged: Swift.Bool { + get + } + public var value: Self.Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +public struct AnyRuleContext { + public var attribute: AttributeGraph.AnyAttribute + public init(attribute: AttributeGraph.AnyAttribute) + public init(_ ruleContext: AttributeGraph.RuleContext) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext + public func update(body: () -> Swift.Void) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(attribute: AttributeGraph.Attribute) -> Value { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> Value? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> Value? { + get + } +} +extension AttributeGraph.AnyRuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool +} +public struct RuleContext { + public var attribute: AttributeGraph.Attribute + public init(attribute: AttributeGraph.Attribute) + public func update(body: () -> Swift.Void) + public var value: Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(input: AttributeGraph.Attribute) -> InputValue { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> T? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> T? { + get + } +} +extension AttributeGraph.RuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.RuleContext, rhs: AttributeGraph.RuleContext) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute { + public init(_ attribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.WeakAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyWeakAttribute, rhs: AttributeGraph.AnyWeakAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { + public var base: AttributeGraph.AnyWeakAttribute + public init(base: AttributeGraph.AnyWeakAttribute) + public init() + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public var value: Value? { + get + } + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.WeakAttribute, rhs: AttributeGraph.WeakAttribute) -> Swift.Bool +} +extension AttributeGraph.WeakAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_silgen_name("IAGGraphSetOutputValue") +@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +extension AttributeGraph.Graph { + @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { + IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + } + @_transparent @inline(__always) public var mainUpdates: Swift.Int { + @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } + } +} +extension AttributeGraph.Graph { + @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { + return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + } +} +extension AttributeGraph.Graph { + public func onUpdate(_ handler: @escaping () -> Swift.Void) + public func onInvalidation(_ handler: @escaping (AttributeGraph.AnyAttribute) -> Swift.Void) + public func withDeadline(_ deadline: Swift.UInt64, _ body: () -> T) -> T + public static func withoutUpdate(_ body: () -> T) -> T + public func withoutSubgraphInvalidation(_ body: () -> T) -> T + public func withMainThreadHandler(_ mainThreadHandler: (() -> Swift.Void) -> Swift.Void, do body: () -> Swift.Void) +} +extension AttributeGraph.Graph { + public static func startProfiling(_ graph: AttributeGraph.Graph?) + public static func stopProfiling(_ graph: AttributeGraph.Graph?) + public static func markProfile(name: Swift.UnsafePointer) + public static func resetProfile() +} +extension AttributeGraph.Graph { + public func addTraceEvent(_ event: Swift.UnsafePointer, value: T) + public func addTraceEvent(_ event: Swift.UnsafePointer, context: Swift.UnsafePointer) +} +extension AttributeGraph.Graph { + public func print(includeValues: Swift.Bool) + public func archiveJSON(name: Swift.String?) + public func graphvizDescription(includeValues: Swift.Bool) -> Swift.String + public static func printStack(maxFrames: Swift.Int) + public static func stackDescription(maxFrames: Swift.Int) -> Swift.String +} +extension AttributeGraph.Graph : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool +} +extension AttributeGraph.Subgraph { + public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int +} +extension AttributeGraph.Subgraph { + public func apply(_ body: () -> T) -> T + public func forEach(_ flags: AttributeGraph.Subgraph.Flags, _ body: (AttributeGraph.AnyAttribute) -> Swift.Void) +} +extension AttributeGraph.Subgraph { + public static func beginTreeElement(value: AttributeGraph.Attribute, flags: Swift.UInt32) + public static func endTreeElement(value: AttributeGraph.Attribute) + public static func addTreeValue(_ value: AttributeGraph.Attribute, forKey key: Swift.UnsafePointer, flags: Swift.UInt32) +} +extension AttributeGraph.TreeElement { + public var value: AttributeGraph.AnyAttribute? { + get + } +} +extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.AnyAttribute + @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + let result = __IAGTreeElementGetNextNode(&self) + return result == .nil ? nil : result + } +} +extension AttributeGraph.Children : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeElement +} +extension AttributeGraph.Values : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeValue +} +extension AttributeGraph.ComparisonOptions { + public init(mode: AttributeGraph.ComparisonMode) +} +public func compareValues(_ lhs: Value, _ rhs: Value, mode: AttributeGraph.ComparisonMode = .equatableAlways) -> Swift.Bool +public func compareValues(_ lhs: Value, _ rhs: Value, options: AttributeGraph.ComparisonOptions) -> Swift.Bool +public func withUnsafePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeRawPointer) -> Swift.Void) -> Swift.Bool +public func withUnsafeMutablePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeMutableRawPointer) -> Swift.Void) -> Swift.Bool +public func forEachField(of type: any Any.Type, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Void) +extension AttributeGraph.Metadata { + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public func forEachField(options: AttributeGraph.Metadata.ApplyOptions, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Bool) -> Swift.Bool +} +extension AttributeGraph.Metadata : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Metadata : @retroactive Swift.Equatable { +} +extension AttributeGraph.Metadata : @retroactive Swift.Hashable { +} +extension AttributeGraph.Signature : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Signature, rhs: AttributeGraph.Signature) -> Swift.Bool +} +public func withUnsafeTuple(of type: AttributeGraph.TupleType, count: Swift.Int, body: (AttributeGraph.UnsafeMutableTuple) -> Swift.Void) +extension AttributeGraph.TupleType { + public init(_ types: [any Any.Type]) + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func type(at index: Swift.Int) -> any Any.Type + public func offset(at index: Swift.Int, as type: T.Type) -> Swift.Int + public func getElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, to destinationValue: Swift.UnsafeMutablePointer, options: AttributeGraph.TupleType.CopyOptions) + public func setElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, from sourceValue: Swift.UnsafePointer, options: AttributeGraph.TupleType.CopyOptions) +} +extension AttributeGraph.UnsafeTuple { + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafePointer + public subscript() -> T { + unsafeAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + } +} +extension AttributeGraph.UnsafeMutableTuple { + public init(with tupleType: AttributeGraph.TupleType) + public func deallocate(initialized: Swift.Bool) + public func initialize(at index: Swift.Int, to element: T) + public func deinitialize() + public func deinitialize(at index: Swift.Int) + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafeMutablePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafeMutablePointer + public subscript() -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } +} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/module.modulemap b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/module.modulemap new file mode 100644 index 0000000..d03d607 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module AttributeGraph [system] { + umbrella header "AttributeGraph.h" + + export * + module * { + export * + } +} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/AttributeGraph.tbd b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/AttributeGraph.tbd new file mode 120000 index 0000000..ae7efa7 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/AttributeGraph.tbd @@ -0,0 +1 @@ +Versions/Current/AttributeGraph.tbd \ No newline at end of file diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Headers b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Modules b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Resources b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/AttributeGraph.tbd b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/AttributeGraph.tbd new file mode 100644 index 0000000..b6ca59f --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/AttributeGraph.tbd @@ -0,0 +1,779 @@ +--- !tapi-tbd +tbd-version: 4 +targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos, arm64-maccatalyst, arm64e-maccatalyst ] +install-name: '/System/Library/PrivateFrameworks/AttributeGraph.framework/Versions/A/AttributeGraph' +current-version: 7 +exports: + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos, arm64-maccatalyst, arm64e-maccatalyst ] + symbols: [ _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavM, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavs, + _$s14AttributeGraph011AnyOptionalA0V10unsafeCast2toAA0dA0VyxGxm_tlF, + _$s14AttributeGraph011AnyOptionalA0V11descriptionSSvg, + _$s14AttributeGraph011AnyOptionalA0V11descriptionSSvpMV, + _$s14AttributeGraph011AnyOptionalA0V2eeoiySbAC_ACtFZ, + _$s14AttributeGraph011AnyOptionalA0V3mapyxSgxSo11AGAttributeaXElF, + _$s14AttributeGraph011AnyOptionalA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph011AnyOptionalA0V7currentACvgZ, + _$s14AttributeGraph011AnyOptionalA0V7currentACvpZMV, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvM, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvg, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvpMV, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvs, + _$s14AttributeGraph011AnyOptionalA0V9hashValueSivg, + _$s14AttributeGraph011AnyOptionalA0V9hashValueSivpMV, + _$s14AttributeGraph011AnyOptionalA0VACycfC, + _$s14AttributeGraph011AnyOptionalA0VMa, + _$s14AttributeGraph011AnyOptionalA0VMn, + _$s14AttributeGraph011AnyOptionalA0VN, + _$s14AttributeGraph011AnyOptionalA0VSHAAMc, + _$s14AttributeGraph011AnyOptionalA0VSQAAMc, + _$s14AttributeGraph011AnyOptionalA0Vs23CustomStringConvertibleAAMc, + _$s14AttributeGraph011AnyOptionalA0VyACSo06AGWeakA0acfC, + _$s14AttributeGraph011AnyOptionalA0VyACSo11AGAttributeaSgcfC, + _$s14AttributeGraph011AnyOptionalA0VyACSo11AGAttributeacfC, + _$s14AttributeGraph011AnyOptionalA0VyAcA0dA0VyxGclufC, + _$s14AttributeGraph01_A4BodyMp, + _$s14AttributeGraph01_A4BodyP12_destroySelfyySvFZTj, + _$s14AttributeGraph01_A4BodyP12_destroySelfyySvFZTq, + _$s14AttributeGraph01_A4BodyP14_updateDefaultyySvFZTj, + _$s14AttributeGraph01_A4BodyP14_updateDefaultyySvFZTq, + _$s14AttributeGraph01_A4BodyP14comparisonModeSo012AGComparisonE0VvgZTj, + _$s14AttributeGraph01_A4BodyP14comparisonModeSo012AGComparisonE0VvgZTq, + _$s14AttributeGraph01_A4BodyP15_hasDestroySelfSbvgZTj, + _$s14AttributeGraph01_A4BodyP15_hasDestroySelfSbvgZTq, + _$s14AttributeGraph01_A4BodyP5flagsSo20AGAttributeTypeFlagsVvgZTj, + _$s14AttributeGraph01_A4BodyP5flagsSo20AGAttributeTypeFlagsVvgZTq, + _$s14AttributeGraph01_A4BodyPAAE12_destroySelfyySvFZ, + _$s14AttributeGraph01_A4BodyPAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph01_A4BodyPAAE14comparisonModeSo012AGComparisonE0VvgZ, + _$s14AttributeGraph01_A4BodyPAAE14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph01_A4BodyPAAE15_hasDestroySelfSbvgZ, + _$s14AttributeGraph01_A4BodyPAAE15_hasDestroySelfSbvpZMV, + _$s14AttributeGraph01_A4BodyPAAE18updateWasCancelledSbvpMV, + _$s14AttributeGraph01_A4BodyPAAE5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph01_A4BodyPAAE5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph01_A4BodyTL, + _$s14AttributeGraph04WeakA0V11descriptionSSvg, + _$s14AttributeGraph04WeakA0V11descriptionSSvpMV, + _$s14AttributeGraph04WeakA0V12changedValue7optionsx5value_Sb0D0tSgSo14AGValueOptionsV_tF, + _$s14AttributeGraph04WeakA0V12wrappedValuexSgvg, + _$s14AttributeGraph04WeakA0V12wrappedValuexSgvpMV, + _$s14AttributeGraph04WeakA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph04WeakA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvM, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvg, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvpMV, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvs, + _$s14AttributeGraph04WeakA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph04WeakA0V4baseACyxGSo06AGWeakA0a_tcfC, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avM, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avg, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avpMV, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avs, + _$s14AttributeGraph04WeakA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph04WeakA0V5valuexSgvg, + _$s14AttributeGraph04WeakA0V5valuexSgvpMV, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvM, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvg, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvpMV, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvs, + _$s14AttributeGraph04WeakA0V9hashValueSivg, + _$s14AttributeGraph04WeakA0V9hashValueSivpMV, + _$s14AttributeGraph04WeakA0VACyxGycfC, + _$s14AttributeGraph04WeakA0VMa, + _$s14AttributeGraph04WeakA0VMn, + _$s14AttributeGraph04WeakA0VyACyxGAA0A0VyxGSgcfC, + _$s14AttributeGraph04WeakA0VyACyxGAA0A0VyxGcfC, + _$s14AttributeGraph04WeakA0VyxGSHAAMc, + _$s14AttributeGraph04WeakA0VyxGSQAAMc, + _$s14AttributeGraph04WeakA0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvM, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvg, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvpMV, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvs, + _$s14AttributeGraph08IndirectA0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph08IndirectA0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph08IndirectA0V11resetSourceyyF, + _$s14AttributeGraph08IndirectA0V12changedValue7optionsx5value_Sb0D0tSo14AGValueOptionsV_tF, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvM, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvg, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvpMV, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvs, + _$s14AttributeGraph08IndirectA0V13dynamicMemberAA0A0Vyqd__Gs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph08IndirectA0V13dynamicMemberAA0A0Vyqd__Gs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph08IndirectA0V14projectedValueAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V14projectedValueAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph08IndirectA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph08IndirectA0V5valuexvM, + _$s14AttributeGraph08IndirectA0V5valuexvg, + _$s14AttributeGraph08IndirectA0V5valuexvpMV, + _$s14AttributeGraph08IndirectA0V5valuexvs, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvM, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvs, + _$s14AttributeGraph08IndirectA0V6sourceACyxGAA0A0VyxG_tcfC, + _$s14AttributeGraph08IndirectA0V9attributeAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V9attributeAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V9hashValueSivg, + _$s14AttributeGraph08IndirectA0V9hashValueSivpMV, + _$s14AttributeGraph08IndirectA0VMa, + _$s14AttributeGraph08IndirectA0VMn, + _$s14AttributeGraph08IndirectA0VyxGSHAAMc, + _$s14AttributeGraph08IndirectA0VyxGSQAAMc, + _$s14AttributeGraph08ObservedA0Mp, + _$s14AttributeGraph08ObservedA0P7destroyyyFTj, + _$s14AttributeGraph08ObservedA0P7destroyyyFTq, + _$s14AttributeGraph08ObservedA0PAA01_A4BodyTb, + _$s14AttributeGraph08ObservedA0PAAE12_destroySelfyySvFZ, + _$s14AttributeGraph08ObservedA0PAAE15_hasDestroySelfSbvgZ, + _$s14AttributeGraph08ObservedA0PAAE15_hasDestroySelfSbvpZMV, + _$s14AttributeGraph08ObservedA0TL, + _$s14AttributeGraph08OptionalA0V11descriptionSSvg, + _$s14AttributeGraph08OptionalA0V11descriptionSSvpMV, + _$s14AttributeGraph08OptionalA0V12changedValue7optionsx5value_Sb0D0tSgSo14AGValueOptionsV_tF, + _$s14AttributeGraph08OptionalA0V12wrappedValuexSgvg, + _$s14AttributeGraph08OptionalA0V12wrappedValuexSgvpMV, + _$s14AttributeGraph08OptionalA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph08OptionalA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvM, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvg, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvpMV, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvs, + _$s14AttributeGraph08OptionalA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph08OptionalA0V3mapyqd__Sgqd__AA0A0VyxGXElF, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0VvM, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0Vvg, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0VvpMV, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0Vvs, + _$s14AttributeGraph08OptionalA0V4baseACyxGAA03AnycA0V_tcfC, + _$s14AttributeGraph08OptionalA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph08OptionalA0V5valuexSgvg, + _$s14AttributeGraph08OptionalA0V5valuexSgvpMV, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvM, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvg, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvpMV, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvs, + _$s14AttributeGraph08OptionalA0V9hashValueSivg, + _$s14AttributeGraph08OptionalA0V9hashValueSivpMV, + _$s14AttributeGraph08OptionalA0VACyxGycfC, + _$s14AttributeGraph08OptionalA0VMa, + _$s14AttributeGraph08OptionalA0VMn, + _$s14AttributeGraph08OptionalA0VyACyxGAA04WeakA0VyxGcfC, + _$s14AttributeGraph08OptionalA0VyACyxGAA0A0VyxGSgcfC, + _$s14AttributeGraph08OptionalA0VyACyxGAA0A0VyxGcfC, + _$s14AttributeGraph08OptionalA0VyxGSHAAMc, + _$s14AttributeGraph08OptionalA0VyxGSQAAMc, + _$s14AttributeGraph08OptionalA0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph0A0V10identifierACyxGSo11AGAttributea_tcfC, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavM, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavs, + _$s14AttributeGraph0A0V10mutateBody2as12invalidating_yqd__m_Sbyqd__zXEtlF, + _$s14AttributeGraph0A0V10unsafeCast2toACyqd__Gqd__m_tlF, + _$s14AttributeGraph0A0V10valueStateSo07AGValueD0Vvg, + _$s14AttributeGraph0A0V10valueStateSo07AGValueD0VvpMV, + _$s14AttributeGraph0A0V11descriptionSSvg, + _$s14AttributeGraph0A0V11descriptionSSvpMV, + _$s14AttributeGraph0A0V11updateValueyyF, + _$s14AttributeGraph0A0V12changedValue7optionsx5value_Sb0C0tSo14AGValueOptionsV_tF, + _$s14AttributeGraph0A0V12unsafeOffset2at2asACyqd__GSi_qd__mtlF, + _$s14AttributeGraph0A0V12wrappedValuexvM, + _$s14AttributeGraph0A0V12wrappedValuexvg, + _$s14AttributeGraph0A0V12wrappedValuexvlu, + _$s14AttributeGraph0A0V12wrappedValuexvpMV, + _$s14AttributeGraph0A0V12wrappedValuexvs, + _$s14AttributeGraph0A0V13dynamicMemberACyqd__Gs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph0A0V13dynamicMemberACyqd__Gs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph0A0V13prefetchValueyyF, + _$s14AttributeGraph0A0V13subgraphOrNilSo13AGSubgraphRefaSgvpMV, + _$s14AttributeGraph0A0V13valueAndFlags7optionsx0C0_So014AGChangedValueE0V5flagstSo14AGValueOptionsV_tF, + _$s14AttributeGraph0A0V14projectedValueACyxGvM, + _$s14AttributeGraph0A0V14projectedValueACyxGvg, + _$s14AttributeGraph0A0V14projectedValueACyxGvpMV, + _$s14AttributeGraph0A0V14projectedValueACyxGvs, + _$s14AttributeGraph0A0V15invalidateValueyyF, + _$s14AttributeGraph0A0V18breadthFirstSearch7options_SbSo15AGSearchOptionsV_SbSo11AGAttributeaXEtF, + _$s14AttributeGraph0A0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph0A0V4body5value5flags6updateACyxGSPyqd__G_SPyxGSgSo20AGAttributeTypeFlagsVySv_So0G0atcyXEtcAA01_A4BodyRd__lufC, + _$s14AttributeGraph0A0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph0A0V4typeACyxGxm_tcfC, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvM, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvg, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvpMV, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvs, + _$s14AttributeGraph0A0V5graphSo10AGGraphRefavg, + _$s14AttributeGraph0A0V5graphSo10AGGraphRefavpMV, + _$s14AttributeGraph0A0V5valueACyxGx_tcfC, + _$s14AttributeGraph0A0V5valuexvM, + _$s14AttributeGraph0A0V5valuexvg, + _$s14AttributeGraph0A0V5valuexvlu, + _$s14AttributeGraph0A0V5valuexvpMV, + _$s14AttributeGraph0A0V5valuexvs, + _$s14AttributeGraph0A0V6offsetACyqd__GAA13PointerOffsetVyxqd__GxzXE_tcluig, + _$s14AttributeGraph0A0V7keyPathACyqd__Gs03KeyD0Cyxqd__G_tcluig, + _$s14AttributeGraph0A0V7keyPathACyqd__Gs03KeyD0Cyxqd__G_tcluipMV, + _$s14AttributeGraph0A0V8addInput_7options5tokenyACyqd__G_So14AGInputOptionsVSitlF, + _$s14AttributeGraph0A0V8addInput_7options5tokenySo11AGAttributea_So14AGInputOptionsVSitF, + _$s14AttributeGraph0A0V8applying6offsetACyqd__GAA13PointerOffsetVyxqd__G_tlF, + _$s14AttributeGraph0A0V8hasValueSbvg, + _$s14AttributeGraph0A0V8hasValueSbvpMV, + _$s14AttributeGraph0A0V8setFlags_4maskySo011AGAttributeD0V_AGtF, + _$s14AttributeGraph0A0V8setValueySbxF, + _$s14AttributeGraph0A0V8subgraphSo13AGSubgraphRefavg, + _$s14AttributeGraph0A0V8subgraphSo13AGSubgraphRefavpMV, + _$s14AttributeGraph0A0V8validateyyF, + _$s14AttributeGraph0A0V9hashValueSivg, + _$s14AttributeGraph0A0V9hashValueSivpMV, + _$s14AttributeGraph0A0V9visitBodyyyqd__zAA0aD7VisitorRd__lF, + _$s14AttributeGraph0A0VMa, + _$s14AttributeGraph0A0VMn, + _$s14AttributeGraph0A0V_12initialValueACyxGqd___xtc0D0Qyd__RszAA12StatefulRuleRd__lufC, + _$s14AttributeGraph0A0V_12initialValueACyxGqd___xtc0D0Qyd__RszAA4RuleRd__lufC, + _$s14AttributeGraph0A0VyACyxGADcfC, + _$s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufC, + _$s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA4RuleRd__lufC, + _$s14AttributeGraph0A0VyxGSHAAMc, + _$s14AttributeGraph0A0VyxGSQAAMc, + _$s14AttributeGraph0A0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph0A11BodyVisitorMp, + _$s14AttributeGraph0A11BodyVisitorP5visit4bodyySPyqd__G_tAA01_aC0Rd__lFTj, + _$s14AttributeGraph0A11BodyVisitorP5visit4bodyySPyqd__G_tAA01_aC0Rd__lFTq, + _$s14AttributeGraph0A11BodyVisitorTL, + _$s14AttributeGraph11RuleContextV12changedValue2of7optionsqd__5value_Sb0E0tAA0A0Vyqd__G_So14AGValueOptionsVtlF, + _$s14AttributeGraph11RuleContextV13valueAndFlags2of7optionsqd__0E0_So014AGChangedValueG0V5flagstAA0A0Vyqd__G_So14AGValueOptionsVtlF, + _$s14AttributeGraph11RuleContextV2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph11RuleContextV5valuexvM, + _$s14AttributeGraph11RuleContextV5valuexvg, + _$s14AttributeGraph11RuleContextV5valuexvlu, + _$s14AttributeGraph11RuleContextV5valuexvpMV, + _$s14AttributeGraph11RuleContextV5valuexvs, + _$s14AttributeGraph11RuleContextV6update4bodyyyyXE_tF, + _$s14AttributeGraph11RuleContextV8hasValueSbvg, + _$s14AttributeGraph11RuleContextV8hasValueSbvpMV, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvM, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvg, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvpMV, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvs, + _$s14AttributeGraph11RuleContextV9attributeACyxGAA0A0VyxG_tcfC, + _$s14AttributeGraph11RuleContextVMa, + _$s14AttributeGraph11RuleContextVMn, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__Gcluilu, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyqd__SgAA04WeakA0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__SgAA04WeakA0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyqd__SgAA08OptionalA0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__SgAA08OptionalA0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyxGSQAAMc, + _$s14AttributeGraph12StatefulRuleMp, + _$s14AttributeGraph12StatefulRuleP11updateValueyyFTj, + _$s14AttributeGraph12StatefulRuleP11updateValueyyFTq, + _$s14AttributeGraph12StatefulRuleP12initialValue0F0QzSgvgZTj, + _$s14AttributeGraph12StatefulRuleP12initialValue0F0QzSgvgZTq, + _$s14AttributeGraph12StatefulRulePAA01_A4BodyTb, + _$s14AttributeGraph12StatefulRulePAAE11bodyChangedSbvpMV, + _$s14AttributeGraph12StatefulRulePAAE12initialValue0F0QzSgvgZ, + _$s14AttributeGraph12StatefulRulePAAE12initialValue0F0QzSgvpZMV, + _$s14AttributeGraph12StatefulRulePAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvM, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvg, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvlu, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvpMV, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvs, + _$s14AttributeGraph12StatefulRulePAAE7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph12StatefulRulePAAE7contextAA0D7ContextVy5ValueQzGvg, + _$s14AttributeGraph12StatefulRulePAAE7contextAA0D7ContextVy5ValueQzGvpMV, + _$s14AttributeGraph12StatefulRulePAAE8hasValueSbvg, + _$s14AttributeGraph12StatefulRulePAAE8hasValueSbvpMV, + _$s14AttributeGraph12StatefulRulePAAE9attributeAA0A0Vy5ValueQzGvg, + _$s14AttributeGraph12StatefulRulePAAE9attributeAA0A0Vy5ValueQzGvpMV, + _$s14AttributeGraph12StatefulRuleTL, + _$s14AttributeGraph12forEachField2of2doyypXp_ySPys4Int8VG_SiypXptXEtF, + _$s14AttributeGraph13PointerOffsetV012invalidSceneC0SpyxGyFZ, + _$s14AttributeGraph13PointerOffsetV04byteD0ACyxq_GSi_tcfC, + _$s14AttributeGraph13PointerOffsetV04byteD0SivM, + _$s14AttributeGraph13PointerOffsetV04byteD0Sivg, + _$s14AttributeGraph13PointerOffsetV04byteD0SivpMV, + _$s14AttributeGraph13PointerOffsetV04byteD0Sivs, + _$s14AttributeGraph13PointerOffsetV1poiyACyxq_GACyxqd__G_ACyqd__q_GtlFZ, + _$s14AttributeGraph13PointerOffsetV2ofyACyxq_Gq_zFZ, + _$s14AttributeGraph13PointerOffsetV6offsetyACyxq_GAExzXEFZ, + _$s14AttributeGraph13PointerOffsetVAAq_RszrlEACyxxGycfC, + _$s14AttributeGraph13PointerOffsetVMa, + _$s14AttributeGraph13PointerOffsetVMn, + _$s14AttributeGraph13compareValues__4modeSbx_xSo16AGComparisonModeVtlF, + _$s14AttributeGraph13compareValues__7optionsSbx_xSo19AGComparisonOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV10unsafeCast2toAA0dE0VyxGxm_tlF, + _$s14AttributeGraph14AnyRuleContextV12changedValue2of7optionsx5value_Sb0F0tAA0A0VyxG_So14AGValueOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV13valueAndFlags2of7optionsx0F0_So014AGChangedValueH0V5flagstAA0A0VyxG_So14AGValueOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV2eeoiySbAC_ACtFZ, + _$s14AttributeGraph14AnyRuleContextV6update4bodyyyyXE_tF, + _$s14AttributeGraph14AnyRuleContextV9attributeACSo11AGAttributea_tcfC, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavM, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavg, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavpMV, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavs, + _$s14AttributeGraph14AnyRuleContextVMa, + _$s14AttributeGraph14AnyRuleContextVMn, + _$s14AttributeGraph14AnyRuleContextVN, + _$s14AttributeGraph14AnyRuleContextVSQAAMc, + _$s14AttributeGraph14AnyRuleContextVyAcA0dE0VyxGclufC, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluilu, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluipMV, + _$s14AttributeGraph14AnyRuleContextVyxSgAA04WeakA0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxSgAA04WeakA0VyxGcluipMV, + _$s14AttributeGraph14AnyRuleContextVyxSgAA08OptionalA0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxSgAA08OptionalA0VyxGcluipMV, + _$s14AttributeGraph15withUnsafeTuple2of5count_ySo11AGTupleTypea_SiySo015AGUnsafeMutableE0aXEtF, + _$s14AttributeGraph27withUnsafePointerToEnumCase2of2doSbSpyxG_ySi_ypXpSVtXEtlF, + _$s14AttributeGraph34withUnsafeMutablePointerToEnumCase2of2doSbSpyxG_ySi_ypXpSvtXEtlF, + _$s14AttributeGraph3MapV11descriptionSSvg, + _$s14AttributeGraph3MapV11descriptionSSvpMV, + _$s14AttributeGraph3MapV3argAA0A0VyxGvM, + _$s14AttributeGraph3MapV3argAA0A0VyxGvg, + _$s14AttributeGraph3MapV3argAA0A0VyxGvpMV, + _$s14AttributeGraph3MapV3argAA0A0VyxGvs, + _$s14AttributeGraph3MapV4bodyyq_xcvg, + _$s14AttributeGraph3MapV4bodyyq_xcvpMV, + _$s14AttributeGraph3MapV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph3MapV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph3MapV5valueq_vg, + _$s14AttributeGraph3MapV5valueq_vpMV, + _$s14AttributeGraph3MapVMa, + _$s14AttributeGraph3MapVMn, + _$s14AttributeGraph3MapVyACyxq_GAA0A0VyxG_q_xctcfC, + _$s14AttributeGraph3MapVyxq_GAA01_A4BodyAAMc, + _$s14AttributeGraph3MapVyxq_GAA01_A4BodyAAWP, + _$s14AttributeGraph3MapVyxq_GAA4RuleAAMc, + _$s14AttributeGraph3MapVyxq_Gs23CustomStringConvertibleAAMc, + _$s14AttributeGraph4RuleMp, + _$s14AttributeGraph4RuleP12initialValue0E0QzSgvgZTj, + _$s14AttributeGraph4RuleP12initialValue0E0QzSgvgZTq, + _$s14AttributeGraph4RuleP5value5ValueQzvgTj, + _$s14AttributeGraph4RuleP5value5ValueQzvgTq, + _$s14AttributeGraph4RulePAA01_A4BodyTb, + _$s14AttributeGraph4RulePAAE11bodyChangedSbvpMV, + _$s14AttributeGraph4RulePAAE12initialValue0E0QzSgvgZ, + _$s14AttributeGraph4RulePAAE12initialValue0E0QzSgvpZMV, + _$s14AttributeGraph4RulePAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph4RulePAAE7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph4RulePAAE7contextAA0C7ContextVy5ValueQzGvg, + _$s14AttributeGraph4RulePAAE7contextAA0C7ContextVy5ValueQzGvpMV, + _$s14AttributeGraph4RulePAAE9attributeAA0A0Vy5ValueQzGvg, + _$s14AttributeGraph4RulePAAE9attributeAA0A0Vy5ValueQzGvpMV, + _$s14AttributeGraph4RulePAASHRzrlE11cachedValue7options5owner0E0ACQzSo08AGCachedE7OptionsV_So11AGAttributeaSgtF, + _$s14AttributeGraph4RulePAASHRzrlE12_cachedValue7options5owner04hashE07bodyPtr6updateSPy0E0ACQzGSo08AGCachedE7OptionsV_So11AGAttributeaSgSiSVySv_APtcyXEtFZ, + _$s14AttributeGraph4RulePAASHRzrlE19cachedValueIfExists7options5owner0E0ACQzSgSo08AGCachedE7OptionsV_So11AGAttributeaSgtF, + _$s14AttributeGraph4RuleTL, + _$s14AttributeGraph5FocusV11descriptionSSvg, + _$s14AttributeGraph5FocusV11descriptionSSvpMV, + _$s14AttributeGraph5FocusV4root7keyPathACyxq_GAA0A0VyxG_s03KeyF0Cyxq_GtcfC, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvM, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvg, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvpMV, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvs, + _$s14AttributeGraph5FocusV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph5FocusV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph5FocusV5valueq_vg, + _$s14AttributeGraph5FocusV5valueq_vpMV, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_GvM, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_Gvg, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_GvpMV, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_Gvs, + _$s14AttributeGraph5FocusVMa, + _$s14AttributeGraph5FocusVMn, + _$s14AttributeGraph5FocusVyxq_GAA01_A4BodyAAMc, + _$s14AttributeGraph5FocusVyxq_GAA01_A4BodyAAWP, + _$s14AttributeGraph5FocusVyxq_GAA4RuleAAMc, + _$s14AttributeGraph5FocusVyxq_Gs23CustomStringConvertibleAAMc, + _$s14AttributeGraph8ExternalV11descriptionSSvg, + _$s14AttributeGraph8ExternalV11descriptionSSvpMV, + _$s14AttributeGraph8ExternalV14comparisonModeSo012AGComparisonE0VvgZ, + _$s14AttributeGraph8ExternalV14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph8ExternalV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph8ExternalV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph8ExternalV7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph8ExternalVACyxGycfC, + _$s14AttributeGraph8ExternalVMa, + _$s14AttributeGraph8ExternalVMn, + _$s14AttributeGraph8ExternalVyxGAA01_A4BodyAAMc, + _$s14AttributeGraph8ExternalVyxGAA01_A4BodyAAWP, + _$s14AttributeGraph8ExternalVyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph9_ExternalV11descriptionSSvg, + _$s14AttributeGraph9_ExternalV11descriptionSSvpMV, + _$s14AttributeGraph9_ExternalV14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph9_ExternalV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph9_ExternalVAA01_A4BodyAAMc, + _$s14AttributeGraph9_ExternalVAA01_A4BodyAAWP, + _$s14AttributeGraph9_ExternalVMa, + _$s14AttributeGraph9_ExternalVMn, + _$s14AttributeGraph9_ExternalVN, + _$s14AttributeGraph9_ExternalVs23CustomStringConvertibleAAMc, + _$s5Value14AttributeGraph12StatefulRulePTl, + _$s5Value14AttributeGraph4RulePTl, + _$sSP14AttributeGraphE1poiySPyqd__GSPyxG_AA13PointerOffsetVyxqd__GtlFZ, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluig, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluilu, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluipMV, + _$sSo10AGGraphRefa14AttributeGraphE10printStack9maxFramesySi_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE11archiveJSON4nameySSSg_tF, + _$sSo10AGGraphRefa14AttributeGraphE11markProfile4nameySPys4Int8VG_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE12resetProfileyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE12withDeadlineyxs6UInt64V_xyXEtlF, + _$sSo10AGGraphRefa14AttributeGraphE13addTraceEvent_5valueySPys4Int8VG_xtlF, + _$sSo10AGGraphRefa14AttributeGraphE13addTraceEvent_7contextySPys4Int8VG_SPyxGtlF, + _$sSo10AGGraphRefa14AttributeGraphE13stopProfilingyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE13withoutUpdateyxxyXElFZ, + _$sSo10AGGraphRefa14AttributeGraphE14onInvalidationyyySo11AGAttributeacF, + _$sSo10AGGraphRefa14AttributeGraphE14startProfilingyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE16stackDescription9maxFramesSSSi_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE19graphvizDescription13includeValuesSSSb_tF, + _$sSo10AGGraphRefa14AttributeGraphE21withMainThreadHandler_2doyyyyXEXE_yyXEtF, + _$sSo10AGGraphRefa14AttributeGraphE27withoutSubgraphInvalidationyxxyXElF, + _$sSo10AGGraphRefa14AttributeGraphE5print13includeValuesySb_tF, + _$sSo10AGGraphRefa14AttributeGraphE8onUpdateyyyycF, + _$sSo10AGGraphRefa14AttributeGraphE9tracePathSSSgvpZMV, + _$sSo10AGGraphRefaSQ14AttributeGraphMc, + _$sSo11AGAttributea14AttributeGraphE10mutateBody2as12invalidating_yxm_SbyxzXEtlF, + _$sSo11AGAttributea14AttributeGraphE10unsafeCast2toAC0B0VyxGxm_tlF, + _$sSo11AGAttributea14AttributeGraphE11descriptionSSvg, + _$sSo11AGAttributea14AttributeGraphE11descriptionSSvpMV, + _$sSo11AGAttributea14AttributeGraphE12_bodyPointerSVvg, + _$sSo11AGAttributea14AttributeGraphE12_bodyPointerSVvpMV, + _$sSo11AGAttributea14AttributeGraphE12unsafeOffset2atABSi_tF, + _$sSo11AGAttributea14AttributeGraphE18breadthFirstSearch7options_SbSo15AGSearchOptionsV_SbABXEtF, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvM, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvg, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvpMV, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvs, + _$sSo11AGAttributea14AttributeGraphE2eeoiySbAB_ABtFZ, + _$sSo11AGAttributea14AttributeGraphE4hash4intoys6HasherVz_tF, + _$sSo11AGAttributea14AttributeGraphE7currentABSgvgZ, + _$sSo11AGAttributea14AttributeGraphE7currentABSgvpZMV, + _$sSo11AGAttributea14AttributeGraphE8addInput_7options5tokenyAB_So14AGInputOptionsVSitF, + _$sSo11AGAttributea14AttributeGraphE8addInput_7options5tokenyAC0B0VyxG_So14AGInputOptionsVSitlF, + _$sSo11AGAttributea14AttributeGraphE8setFlags_4maskySo0aE0V_AGtF, + _$sSo11AGAttributea14AttributeGraphE9_bodyTypeypXpvg, + _$sSo11AGAttributea14AttributeGraphE9_bodyTypeypXpvpMV, + _$sSo11AGAttributea14AttributeGraphE9valueTypeypXpvg, + _$sSo11AGAttributea14AttributeGraphE9valueTypeypXpvpMV, + _$sSo11AGAttributea14AttributeGraphE9visitBodyyyxzAC0bE7VisitorRzlF, + _$sSo11AGAttributea14AttributeGraphEyAbC0B0VyxGclufC, + _$sSo11AGAttributeaSH14AttributeGraphMc, + _$sSo11AGAttributeas23CustomStringConvertible14AttributeGraphMc, + _$sSo11AGTupleTypea14AttributeGraphE10getElement2in2at2to7optionsySv_SiSpyxGSo0A11CopyOptionsVtlF, + _$sSo11AGTupleTypea14AttributeGraphE10setElement2in2at4from7optionsySv_SiSPyxGSo0A11CopyOptionsVtlF, + _$sSo11AGTupleTypea14AttributeGraphE4type2atypXpSi_tF, + _$sSo11AGTupleTypea14AttributeGraphE4typeypXpvg, + _$sSo11AGTupleTypea14AttributeGraphE4typeypXpvpMV, + _$sSo11AGTupleTypea14AttributeGraphE6offset2at2asS2i_xmtlF, + _$sSo11AGTupleTypea14AttributeGraphE7indicesSnySiGvg, + _$sSo11AGTupleTypea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo11AGTupleTypea14AttributeGraphE7isEmptySbvg, + _$sSo11AGTupleTypea14AttributeGraphE7isEmptySbvpMV, + _$sSo11AGTupleTypea14AttributeGraphEyABSayypXpGcfC, + _$sSo11AGTupleTypea14AttributeGraphEyABypXpcfC, + _$sSo13AGSubgraphRefa14AttributeGraphE11addObserverySiyycF, + _$sSo13AGSubgraphRefa14AttributeGraphE12addTreeValue_6forKey5flagsyAC0C0VyxG_SPys4Int8VGs6UInt32VtlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE14endTreeElement5valueyAC0C0VyxG_tlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE16beginTreeElement5value5flagsyAC0C0VyxG_s6UInt32VtlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE5applyyxxyXElF, + _$sSo13AGSubgraphRefa14AttributeGraphE7forEachyySo16AGAttributeFlagsV_ySo0G0aXEtF, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravM, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravg, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravpMV, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravs, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVMa, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVMn, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVN, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVSTACMc, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVStACMc, + _$sSo13AGTreeElementa14AttributeGraphE13localChildrenAbCE05LocalF0VvpMV, + _$sSo13AGTreeElementa14AttributeGraphE5valueSo11AGAttributeaSgvg, + _$sSo13AGTreeElementa14AttributeGraphE5valueSo11AGAttributeaSgvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE5countSivg, + _$sSo13AGUnsafeTuplea14AttributeGraphE5countSivpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE7address2asSPyxGxm_tlF, + _$sSo13AGUnsafeTuplea14AttributeGraphE7address2of2asSPyxGSi_xmtlF, + _$sSo13AGUnsafeTuplea14AttributeGraphE7indicesSnySiGvg, + _$sSo13AGUnsafeTuplea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE7isEmptySbvg, + _$sSo13AGUnsafeTuplea14AttributeGraphE7isEmptySbvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluig, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluilu, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluipMV, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluig, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluilu, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluipMV, + _$sSo15AGTypeSignatureV14AttributeGraphE2eeoiySbAB_ABtFZ, + _$sSo15AGTypeSignatureVSQ14AttributeGraphMc, + _$sSo15AGWeakAttributea0B5GraphE10unsafeCast2toAC04WeakB0VyxGxm_tlF, + _$sSo15AGWeakAttributea0B5GraphE11descriptionSSvg, + _$sSo15AGWeakAttributea0B5GraphE11descriptionSSvpMV, + _$sSo15AGWeakAttributea0B5GraphE2eeoiySbAB_ABtFZ, + _$sSo15AGWeakAttributea0B5GraphE4hash4intoys6HasherVz_tF, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvM, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvg, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvpMV, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvs, + _$sSo15AGWeakAttributea0B5GraphE9hashValueSivg, + _$sSo15AGWeakAttributea0B5GraphE9hashValueSivpMV, + _$sSo15AGWeakAttributea0B5GraphEyABSo11AGAttributeaSgcfC, + _$sSo15AGWeakAttributea0B5GraphEyAbC04WeakB0VyxGclufC, + _$sSo15AGWeakAttributeaSH0B5GraphMc, + _$sSo15AGWeakAttributeaSQ0B5GraphMc, + _$sSo15AGWeakAttributeas23CustomStringConvertible0B5GraphMc, + _$sSo19AGComparisonOptionsV14AttributeGraphE4modeABSo0A4ModeV_tcfC, + _$sSo20AGComparisonPrioritya14AttributeGraphE3lowABvpZMV, + _$sSo20AGComparisonPrioritya14AttributeGraphE4highABvpZMV, + _$sSo20AGComparisonPrioritya14AttributeGraphE7defaultABvpZMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE10deallocate11initializedySb_tF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE10initialize2at2toySi_xtlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE12deinitialize2atySi_tF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE12deinitializeyyF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE4withABSo11AGTupleTypea_tcfC, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE5countSivg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE5countSivpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7address2asSpyxGxm_tlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7address2of2asSpyxGSi_xmtlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7indicesSnySiGvg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7isEmptySbvg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7isEmptySbvpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluiM, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluiau, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluig, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluilu, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluipMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluis, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluiM, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluiau, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluig, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluilu, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluipMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluis, + _$sSo25AGTreeElementNodeIteratora14AttributeGraphE4nextSo11AGAttributeaSgyF, + _$sSo25AGTreeElementNodeIteratoraST14AttributeGraphMc, + _$sSo25AGTreeElementNodeIteratoraSt14AttributeGraphMc, + _$sSo26AGTreeElementChildIteratoraST14AttributeGraphMc, + _$sSo26AGTreeElementChildIteratoraSt14AttributeGraphMc, + _$sSo26AGTreeElementValueIteratoraST14AttributeGraphMc, + _$sSo26AGTreeElementValueIteratoraSt14AttributeGraphMc, + _$sSo8AGTypeIDa14AttributeGraphE11descriptionSSvg, + _$sSo8AGTypeIDa14AttributeGraphE11descriptionSSvpMV, + _$sSo8AGTypeIDa14AttributeGraphE12forEachField7options2doSbSo0A12ApplyOptionsV_SbSPys4Int8VG_SiypXptXEtF, + _$sSo8AGTypeIDa14AttributeGraphE4typeypXpvg, + _$sSo8AGTypeIDa14AttributeGraphE4typeypXpvpMV, + _$sSo8AGTypeIDa14AttributeGraphEyABypXpcfC, + _$sSo8AGTypeIDaSH14AttributeGraphMc, + _$sSo8AGTypeIDas23CustomStringConvertible14AttributeGraphMc, + _$sSp14AttributeGraphE1poiySpyqd__GSpyxG_AA13PointerOffsetVyxqd__GtlFZ, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluiM, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluiau, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluig, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluilu, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluipMV, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluis, + _AGAttributeNil, + _AGAttributeNullType, + _AGAttributeNullVTable, + _AGCompareValues, + _AGComparisonStateGetDestination, + _AGComparisonStateGetFieldRange, + _AGComparisonStateGetFieldType, + _AGComparisonStateGetSource, + _AGCreateWeakAttribute, + _AGDebugServerCopyURL, + _AGDebugServerRun, + _AGDebugServerStart, + _AGDebugServerStop, + _AGDescriptionFormat, + _AGDescriptionIncludeValues, + _AGDescriptionMaxFrames, + _AGDescriptionTruncationLimit, + _AGGraphAddInput, + _AGGraphAddNamedTraceEvent, + _AGGraphAddTrace, + _AGGraphAddTraceEvent, + _AGGraphAnyInputsChanged, + _AGGraphArchiveJSON, + _AGGraphArchiveJSON2, + _AGGraphBeginDeferringSubgraphInvalidation, + _AGGraphBeginProfileEvent, + _AGGraphCancelUpdate, + _AGGraphCancelUpdateIfNeeded, + _AGGraphClearUpdate, + _AGGraphContextGetGraph, + _AGGraphCopyTracePath, + _AGGraphCreate, + _AGGraphCreateAttribute, + _AGGraphCreateIndirectAttribute, + _AGGraphCreateIndirectAttribute2, + _AGGraphCreateIndirectAttribute3, + _AGGraphCreateOffsetAttribute, + _AGGraphCreateOffsetAttribute2, + _AGGraphCreateShared, + _AGGraphCurrentAttributeWasModified, + _AGGraphDescription, + _AGGraphEndDeferringSubgraphInvalidation, + _AGGraphEndProfileEvent, + _AGGraphExternalMallocZone, + _AGGraphGetAttributeGraph, + _AGGraphGetAttributeInfo, + _AGGraphGetAttributeSubgraph, + _AGGraphGetAttributeSubgraph2, + _AGGraphGetContext, + _AGGraphGetCounter, + _AGGraphGetCurrentAttribute, + _AGGraphGetDeadline, + _AGGraphGetFlags, + _AGGraphGetGraphContext, + _AGGraphGetIndirectAttribute, + _AGGraphGetIndirectDependency, + _AGGraphGetInputValue, + _AGGraphGetOutputValue, + _AGGraphGetTraceEventName, + _AGGraphGetTraceEventSubsystem, + _AGGraphGetTypeID, + _AGGraphGetValue, + _AGGraphGetValueState, + _AGGraphGetWeakValue, + _AGGraphHasDeadlinePassed, + _AGGraphHasValue, + _AGGraphInternAttributeType, + _AGGraphInvalidate, + _AGGraphInvalidateAllValues, + _AGGraphInvalidateValue, + _AGGraphIsProfilingEnabled, + _AGGraphIsTracingActive, + _AGGraphMarkProfile, + _AGGraphMutateAttribute, + _AGGraphPrefetchValue, + _AGGraphPrepareTrace, + _AGGraphReadCachedAttribute, + _AGGraphReadCachedAttributeIfExists, + _AGGraphRegisterDependency, + _AGGraphRegisterNamedTraceEvent, + _AGGraphRemoveTrace, + _AGGraphResetIndirectAttribute, + _AGGraphResetProfile, + _AGGraphResetTrace, + _AGGraphSearch, + _AGGraphSetContext, + _AGGraphSetDeadline, + _AGGraphSetFlags, + _AGGraphSetIndirectAttribute, + _AGGraphSetIndirectAttribute2, + _AGGraphSetIndirectDependency, + _AGGraphSetInvalidationCallback, + _AGGraphSetNeedsUpdate, + _AGGraphSetOutputValue, + _AGGraphSetTrace, + _AGGraphSetUpdate, + _AGGraphSetUpdateCallback, + _AGGraphSetValue, + _AGGraphStartProfiling, + _AGGraphStartTracing, + _AGGraphStartTracing2, + _AGGraphStopProfiling, + _AGGraphStopTracing, + _AGGraphSyncTracing, + _AGGraphTraceEventEnabled, + _AGGraphUpdateValue, + _AGGraphUpdateWasCancelled, + _AGGraphVMRegionBaseAddress, + _AGGraphVMRegionMallocZone, + _AGGraphVerifyType, + _AGGraphWithMainThreadHandler, + _AGGraphWithUpdate, + _AGGraphWithoutUpdate, + _AGMakeUniqueID, + _AGMallocZoneGetCurrentSwiftMetadata, + _AGNewTupleType, + _AGOverrideComparisonForTypeDescriptor, + _AGOverrideEqualityForTypeDescriptor, + _AGPrefetchCompareValues, + _AGReleaseClosure, + _AGRetainClosure, + _AGSubgraphAddChild, + _AGSubgraphAddChild2, + _AGSubgraphAddObserver, + _AGSubgraphAddTreeValue, + _AGSubgraphApply, + _AGSubgraphBeginTreeElement, + _AGSubgraphCreate, + _AGSubgraphCreate2, + _AGSubgraphEndTreeElement, + _AGSubgraphGetChild, + _AGSubgraphGetChildCount, + _AGSubgraphGetCurrent, + _AGSubgraphGetCurrentGraphContext, + _AGSubgraphGetGraph, + _AGSubgraphGetIndex, + _AGSubgraphGetParent, + _AGSubgraphGetParentCount, + _AGSubgraphGetTreeRoot, + _AGSubgraphGetTypeID, + _AGSubgraphIntersects, + _AGSubgraphInvalidate, + _AGSubgraphIsAncestor, + _AGSubgraphIsDirty, + _AGSubgraphIsValid, + _AGSubgraphMove, + _AGSubgraphRemoveChild, + _AGSubgraphRemoveObserver, + _AGSubgraphSetCurrent, + _AGSubgraphSetIndex, + _AGSubgraphSetShouldRecordTree, + _AGSubgraphSetTreeOwner, + _AGSubgraphShouldRecordTree, + _AGSubgraphUpdate, + _AGTreeElementGetFlags, + _AGTreeElementGetNextChild, + _AGTreeElementGetNextChild2, + _AGTreeElementGetNextNode, + _AGTreeElementGetNextValue, + _AGTreeElementGetParent, + _AGTreeElementGetType, + _AGTreeElementGetValue, + _AGTreeElementMakeChildIterator, + _AGTreeElementMakeNodeIterator, + _AGTreeElementMakeValueIterator, + _AGTreeValueGetFlags, + _AGTreeValueGetKey, + _AGTreeValueGetType, + _AGTreeValueGetValue, + _AGTupleCount, + _AGTupleDestroy, + _AGTupleDestroyElement, + _AGTupleElementOffset, + _AGTupleElementOffsetChecked, + _AGTupleElementSize, + _AGTupleElementType, + _AGTupleGetElement, + _AGTupleSetElement, + _AGTupleSize, + _AGTupleWithBuffer, + _AGTypeApplyEnumData, + _AGTypeApplyFields, + _AGTypeApplyFields2, + _AGTypeApplyMutableEnumData, + _AGTypeDescription, + _AGTypeGetDescriptor, + _AGTypeGetEnumTag, + _AGTypeGetKind, + _AGTypeGetSignature, + _AGTypeInjectEnumTag, + _AGTypeNominalDescriptor, + _AGTypeNominalDescriptorName, + _AGTypeProjectEnumData, + _AGVersion, + _AGWeakAttributeGetAttribute ] + objc-classes: [ AGAppObserver ] +... diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttribute.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttribute.h new file mode 100644 index 0000000..b4e7c3e --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttribute.h @@ -0,0 +1,21 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef uint32_t AGAttribute AG_SWIFT_STRUCT AG_SWIFT_NAME(AnyAttribute); + +AG_EXPORT +const AGAttribute AGAttributeNil; + +typedef AG_OPTIONS(uint8_t, AGAttributeFlags) { + AGAttributeFlagsNone = 0, + AGAttributeFlagsAll = 0xFF, +} AG_SWIFT_NAME(AGSubgraphRef.Flags); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttributeInfo.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttributeInfo.h new file mode 100644 index 0000000..8fefc02 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttributeInfo.h @@ -0,0 +1,17 @@ +#pragma once + +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct AGAttributeInfo { + const AGAttributeType *type; + const void *body; +} AGAttributeInfo; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttributeType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttributeType.h new file mode 100644 index 0000000..d242692 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGAttributeType.h @@ -0,0 +1,67 @@ +#pragma once + +#include + +#if TARGET_OS_MAC +#include +#else +#include +#endif + +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +typedef struct AGAttributeType AGAttributeType; + +typedef struct AG_SWIFT_NAME(_AttributeVTable) AGAttributeVTable { + unsigned long version; + void (*_Nullable type_destroy)(AGAttributeType *); + void (*_Nullable self_destroy)(const AGAttributeType *, void *); +#if TARGET_OS_MAC + CFStringRef _Nullable (*_Nullable self_description)(const AGAttributeType *, const void *); + CFStringRef _Nullable (*_Nullable value_description)(const AGAttributeType *, const void *); +#else + CFStringRef _Nullable (*_Nullable copy_self_description)(const AGAttributeType *, const void *); + CFStringRef _Nullable (*_Nullable copy_value_description)(const AGAttributeType *, const void *); +#endif + void (*_Nullable update_default)(const AGAttributeType *, void *); +} AGAttributeVTable; + +typedef AG_OPTIONS(uint32_t, AGAttributeTypeFlags) { + AGAttributeTypeFlagsComparisonModeBitwise = 0, + AGAttributeTypeFlagsComparisonModeIndirect = 1, + AGAttributeTypeFlagsComparisonModeEquatableUnlessPOD = 2, + AGAttributeTypeFlagsComparisonModeEquatableAlways = 3, + AGAttributeTypeFlagsComparisonModeMask = 0x03, + + AGAttributeTypeFlagsHasDestroySelf = 1 << 2, + AGAttributeTypeFlagsMainThread = 1 << 3, + AGAttributeTypeFlagsExternal = 1 << 4, + AGAttributeTypeFlagsAsyncThread = 1 << 5, +} AG_SWIFT_NAME(_AttributeType.Flags); + +typedef struct AG_SWIFT_NAME(_AttributeType) AGAttributeType { + AGTypeID self_id; + AGTypeID value_id; + AGClosureStorage update; + const AGAttributeVTable *vtable; + AGAttributeTypeFlags flags; + + uint32_t internal_offset; + const unsigned char *_Nullable value_layout; + + struct { + AGTypeID type_id; + const void *witness_table; + } body_conformance; +} AGAttributeType; + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGBase.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGBase.h new file mode 100644 index 0000000..b443556 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGBase.h @@ -0,0 +1,215 @@ +#pragma once + +#include +#include +#include + +#include + +#ifndef __has_include +#define __has_include(x) 0 +#endif +#ifndef __has_feature +#define __has_feature(x) 0 +#endif +#ifndef __has_attribute +#define __has_attribute(x) 0 +#endif +#ifndef __has_extension +#define __has_extension(x) 0 +#endif + +#define _AG_STRINGIFY(_x) #_x + +#if !defined(AG_EXTERN_C_BEGIN) +#if defined(__cplusplus) +#define AG_EXTERN_C_BEGIN extern "C" { +#define AG_EXTERN_C_END } +#else +#define AG_EXTERN_C_BEGIN +#define AG_EXTERN_C_END +#endif +#endif + +#if __GNUC__ +#define AG_EXPORT extern __attribute__((__visibility__("default"))) +#else +#define AG_EXPORT extern +#endif + +#if __GNUC__ +#define AG_INLINE static __inline__ +#else +#define AG_INLINE static inline +#endif + +#ifndef AG_RETURNS_RETAINED +#if __has_feature(attribute_cf_returns_retained) +#define AG_RETURNS_RETAINED __attribute__((cf_returns_retained)) +#else +#define AG_RETURNS_RETAINED +#endif +#endif + +#ifndef AG_IMPLICIT_BRIDGING_ENABLED +#if __has_feature(arc_cf_code_audited) +#define AG_IMPLICIT_BRIDGING_ENABLED _Pragma("clang arc_cf_code_audited begin") +#else +#define AG_IMPLICIT_BRIDGING_ENABLED +#endif +#endif + +#ifndef AG_IMPLICIT_BRIDGING_DISABLED +#if __has_feature(arc_cf_code_audited) +#define AG_IMPLICIT_BRIDGING_DISABLED _Pragma("clang arc_cf_code_audited end") +#else +#define AG_IMPLICIT_BRIDGING_DISABLED +#endif +#endif + +#if __has_attribute(objc_bridge) && __has_feature(objc_bridge_id) && __has_feature(objc_bridge_id_on_typedefs) + +#ifdef __OBJC__ +@class NSArray; +@class NSAttributedString; +@class NSString; +@class NSNull; +@class NSCharacterSet; +@class NSData; +@class NSDate; +@class NSTimeZone; +@class NSDictionary; +@class NSError; +@class NSLocale; +@class NSNumber; +@class NSSet; +@class NSURL; +#endif + +#define AG_BRIDGED_TYPE(T) __attribute__((objc_bridge(T))) +#define AG_BRIDGED_MUTABLE_TYPE(T) __attribute__((objc_bridge_mutable(T))) +#define AG_RELATED_TYPE(T,C,I) __attribute__((objc_bridge_related(T,C,I))) +#else +#define AG_BRIDGED_TYPE(T) +#define AG_BRIDGED_MUTABLE_TYPE(T) +#define AG_RELATED_TYPE(T,C,I) +#endif + +#if __has_feature(assume_nonnull) +#define AG_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin") +#define AG_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end") +#else +#define AG_ASSUME_NONNULL_BEGIN +#define AG_ASSUME_NONNULL_END +#endif + +#if !__has_feature(nullability) +#ifndef _Nullable +#define _Nullable +#endif +#ifndef _Nonnull +#define _Nonnull +#endif +#ifndef _Null_unspecified +#define _Null_unspecified +#endif +#endif + +#if __has_attribute(enum_extensibility) +#define __AG_ENUM_ATTRIBUTES __attribute__((enum_extensibility(open))) +#define __AG_CLOSED_ENUM_ATTRIBUTES __attribute__((enum_extensibility(closed))) +#define __AG_OPTIONS_ATTRIBUTES __attribute__((flag_enum,enum_extensibility(open))) +#else +#define __AG_ENUM_ATTRIBUTES +#define __AG_CLOSED_ENUM_ATTRIBUTES +#define __AG_OPTIONS_ATTRIBUTES +#endif + +#define __AG_ENUM_FIXED_IS_AVAILABLE (__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && (__has_feature(objc_fixed_enum) || __has_extension(cxx_fixed_enum))) + +#if __AG_ENUM_FIXED_IS_AVAILABLE +#define AG_ENUM(_type, _name) \ + _Pragma("clang diagnostic push") \ + _Pragma("clang diagnostic ignored \"-Welaborated-enum-base\"") \ + enum __AG_ENUM_ATTRIBUTES _name : _type _name; \ + enum _name : _type \ + _Pragma("clang diagnostic pop") +#define AG_CLOSED_ENUM(_type, _name) \ + _Pragma("clang diagnostic push") \ + _Pragma("clang diagnostic ignored \"-Welaborated-enum-base\"") \ + enum __AG_CLOSED_ENUM_ATTRIBUTES _name : _type _name; \ + enum _name : _type \ + _Pragma("clang diagnostic pop") +#if (__cplusplus) +#define AG_OPTIONS(_type, _name) __attribute__((availability(swift,unavailable))) _type _name; enum __AG_OPTIONS_ATTRIBUTES : _name +#else +#define AG_OPTIONS(_type, _name) \ + _Pragma("clang diagnostic push") \ + _Pragma("clang diagnostic ignored \"-Welaborated-enum-base\"") \ + enum __AG_OPTIONS_ATTRIBUTES _name : _type _name; \ + enum _name : _type \ + _Pragma("clang diagnostic pop") +#endif +#else +#define AG_ENUM(_type, _name) _type _name; enum +#define AG_CLOSED_ENUM(_type, _name) _type _name; enum +#define AG_OPTIONS(_type, _name) _type _name; enum +#endif + +#if __has_attribute(swift_private) +#define AG_REFINED_FOR_SWIFT __attribute__((swift_private)) +#else +#define AG_REFINED_FOR_SWIFT +#endif + +#if __has_attribute(swift_name) +#define AG_SWIFT_NAME(_name) __attribute__((swift_name(#_name))) +#else +#define AG_SWIFT_NAME(_name) +#endif + +#if __has_attribute(swift_wrapper) +#define AG_SWIFT_STRUCT __attribute__((swift_wrapper(struct))) +#else +#define AG_SWIFT_STRUCT +#endif + +// Define mappings for calling conventions. + +// Annotation for specifying a calling convention of +// a runtime function. It should be used with declarations +// of runtime functions like this: +// void runtime_function_name() AG_SWIFT_CC(swift) +#define AG_SWIFT_CC(CC) AG_SWIFT_CC_##CC + +// AG_SWIFT_CC(c) is the C calling convention. +#define AG_SWIFT_CC_c + +// AG_SWIFT_CC(swift) is the Swift calling convention. +#if __has_attribute(swiftcall) +#define AG_SWIFT_CC_swift __attribute__((swiftcall)) +#define AG_SWIFT_CONTEXT __attribute__((swift_context)) +#define AG_SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#define AG_SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#else +#define AG_SWIFT_CC_swift +#define AG_SWIFT_CONTEXT +#define AG_SWIFT_ERROR_RESULT +#define AG_SWIFT_INDIRECT_RESULT +#endif + +#if __has_attribute(swift_attr) +#define AG_SWIFT_SHARED_REFERENCE(_retain, _release) \ + __attribute__((swift_attr("import_reference"))) \ + __attribute__((swift_attr(_AG_STRINGIFY(retain:_retain)))) \ + __attribute__((swift_attr(_AG_STRINGIFY(release:_release)))) +#else +#define AG_SWIFT_SHARED_REFERENCE(_retain, _release) +#endif + +#if __has_include() +#include +#define AG_COUNTED_BY(N) __counted_by(N) +#else +#define AG_COUNTED_BY(N) +#endif diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGCachedValueOptions.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGCachedValueOptions.h new file mode 100644 index 0000000..3430ba5 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGCachedValueOptions.h @@ -0,0 +1,16 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint32_t, AGCachedValueOptions) { + AGCachedValueOptionsNone = 0, + AGCachedValueOptionsUnprefetched = 1, +} AG_SWIFT_NAME(CachedValueOptions); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGChangedValue.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGChangedValue.h new file mode 100644 index 0000000..972a3a3 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGChangedValue.h @@ -0,0 +1,26 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint8_t, AGChangedValueFlags) { + AGChangedValueFlagsChanged = 1 << 0, + AGChangedValueFlagsRequiresMainThread = 1 << 1, +}; + +typedef struct AGChangedValue { + const void *value; + AGChangedValueFlags flags; +} AGChangedValue; + +typedef struct AGWeakChangedValue { + const void *_Nullable value; + AGChangedValueFlags flags; +} AGWeakChangedValue; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGClosure.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGClosure.h new file mode 100644 index 0000000..3ee1c8c --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGClosure.h @@ -0,0 +1,24 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct AG_SWIFT_NAME(_AGClosureStorage) AGClosureStorage { + const void *thunk; + const void *_Nullable context; +} AGClosureStorage; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGClosureStorage AGRetainClosure(const void *thunk, const void *_Nullable context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGReleaseClosure(AGClosureStorage closure); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGComparison.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGComparison.h new file mode 100644 index 0000000..b4469dd --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGComparison.h @@ -0,0 +1,70 @@ +#pragma once + +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +typedef struct AGFieldRange { + size_t offset; + size_t size; +} AGFieldRange AG_SWIFT_STRUCT AG_SWIFT_NAME(FieldRange); + +typedef struct AGComparisonStateStorage *AGComparisonState AG_SWIFT_STRUCT AG_SWIFT_NAME(ComparisonState); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *AGComparisonStateGetDestination(AGComparisonState state); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *AGComparisonStateGetSource(AGComparisonState state); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGFieldRange AGComparisonStateGetFieldRange(AGComparisonState state); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeID AGComparisonStateGetFieldType(AGComparisonState state); + +typedef AG_ENUM(uint8_t, AGComparisonMode) { + AGComparisonModeBitwise = 0, + AGComparisonModeIndirect = 1, + AGComparisonModeEquatableUnlessPOD = 2, + AGComparisonModeEquatableAlways = 3, +} AG_SWIFT_NAME(ComparisonMode); + +typedef AG_OPTIONS(uint32_t, AGComparisonOptions) { + AGComparisonOptionsComparisonModeBitwise = 0, + AGComparisonOptionsComparisonModeIndirect = 1, + AGComparisonOptionsComparisonModeEquatableUnlessPOD = 2, + AGComparisonOptionsComparisonModeEquatableAlways = 3, + AGComparisonOptionsComparisonModeMask = 0xff, + + AGComparisonOptionsCopyOnWrite = 1 << 8, + AGComparisonOptionsFetchLayoutsSynchronously = 1 << 9, + AGComparisonOptionsTraceCompareFailed = 1ul << 31, // -1 signed int +} AG_SWIFT_NAME(ComparisonOptions); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGCompareValues(const void *_Nonnull destination, const void *_Nonnull source, AGTypeID type_id, + AGComparisonOptions options); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const unsigned char *_Nullable AGPrefetchCompareValues(AGTypeID type_id, AGComparisonOptions options, + uint32_t priority); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGOverrideComparisonForTypeDescriptor(void *descriptor, AGComparisonMode mode); + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGDescription.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGDescription.h new file mode 100644 index 0000000..d9d1b27 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGDescription.h @@ -0,0 +1,37 @@ +#pragma once + +#include + +#if TARGET_OS_MAC +#include +#else +#include +#endif + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +#if TARGET_OS_MAC + +typedef CFStringRef AGDescriptionOption AG_SWIFT_STRUCT AG_SWIFT_NAME(DescriptionOption); + +AG_EXPORT +const AGDescriptionOption AGDescriptionFormat AG_SWIFT_NAME(AGDescriptionOption.format); + +AG_EXPORT +const AGDescriptionOption AGDescriptionMaxFrames AG_SWIFT_NAME(AGDescriptionOption.maxFrames); + +AG_EXPORT +const AGDescriptionOption AGDescriptionIncludeValues AG_SWIFT_NAME(AGDescriptionOption.includeValues); + +AG_EXPORT +const AGDescriptionOption AGDescriptionTruncationLimit AG_SWIFT_NAME(AGDescriptionOption.truncationLimit); + +#endif + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraph.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraph.h new file mode 100644 index 0000000..f558fba --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraph.h @@ -0,0 +1,382 @@ +#pragma once + +#include + +#if TARGET_OS_MAC +#include +#include +#include +#else +#include +#include +#include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +// MARK: CFType + +typedef struct AG_BRIDGED_TYPE(id) AGGraphStorage *AGGraphRef AG_SWIFT_NAME(Graph); +typedef void *AGUnownedGraphContextRef AG_SWIFT_STRUCT; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFTypeID AGGraphGetTypeID(void) AG_SWIFT_NAME(getter:AGGraphRef.typeID()); + +// MARK: Graph Context + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGGraphCreate(void) AG_SWIFT_NAME(AGGraphRef.init()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGGraphCreateShared(AGGraphRef _Nullable graph) AG_SWIFT_NAME(AGGraphRef.init(shared:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGUnownedGraphContextRef AGGraphGetGraphContext(AGGraphRef graph) + AG_SWIFT_NAME(getter:AGGraphRef.graphContext(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGGraphContextGetGraph(void *context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphInvalidate(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.invalidate(self:)); + +// MARK: User context + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *_Nullable AGGraphGetContext(AGGraphRef graph) AG_SWIFT_NAME(getter:AGGraphRef.context(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetContext(AGGraphRef graph, const void *_Nullable context) + AG_SWIFT_NAME(setter:AGGraphRef.context(self:_:)); + +// MARK: Counter + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGGraphGetCounter(AGGraphRef graph, AGGraphCounterQueryType query) + AG_SWIFT_NAME(AGGraphRef.counter(self:for:)); + +// MARK: Main handler + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphWithMainThreadHandler(AGGraphRef graph, + void (*body)(const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *body_context, + void (*main_thread_handler)(void (*trampoline_thunk)(const void *), + const void *trampoline, + const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *main_thread_handler_context); + +// MARK: Subgraphs + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphBeginDeferringSubgraphInvalidation(AGGraphRef graph) + AG_SWIFT_NAME(AGGraphRef.beginDeferringSubgraphInvalidation(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphEndDeferringSubgraphInvalidation(AGGraphRef graph, bool was_deferring) + AG_SWIFT_NAME(AGGraphRef.endDeferringSubgraphInvalidation(self:wasDeferring:)); + +// MARK: Attribute types + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGGraphInternAttributeType(AGUnownedGraphContextRef graph, AGTypeID type, + const AGAttributeType *_Nonnull (*_Nonnull make_attribute_type)( + const void *_Nullable context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *_Nullable make_attribute_type_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphVerifyType(AGAttribute attribute, AGTypeID type) AG_SWIFT_NAME(AGAttribute.verifyType(self:type:)); + +// MARK: Attributes + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateAttribute(uint32_t type_id, const void *body, const void *_Nullable value) + AG_SWIFT_NAME(AGAttribute.init(type:body:value:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGGraphGetAttributeGraph(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.graph(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttributeInfo AGGraphGetAttributeInfo(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.info(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttributeFlags AGGraphGetFlags(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.flags(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetFlags(AGAttribute attribute, AGAttributeFlags flags) AG_SWIFT_NAME(setter:AGAttribute.flags(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGGraphAddInput(AGAttribute attribute, AGAttribute input, AGInputOptions options) + AG_SWIFT_NAME(AGAttribute.addInput(self:_:options:)); + +// MARK: Offset attributes + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateOffsetAttribute(AGAttribute attribute, uint32_t offset); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateOffsetAttribute2(AGAttribute attribute, uint32_t offset, size_t size); + +// MARK: Indirect attributes + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateIndirectAttribute(AGAttribute attribute) AG_SWIFT_NAME(AGAttribute.createIndirect(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphCreateIndirectAttribute2(AGAttribute attribute, size_t size); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphGetIndirectAttribute(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.source(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetIndirectAttribute(AGAttribute attribute, AGAttribute source) + AG_SWIFT_NAME(setter:AGAttribute.source(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphResetIndirectAttribute(AGAttribute attribute, bool non_nil); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphGetIndirectDependency(AGAttribute attribute); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetIndirectDependency(AGAttribute attribute, AGAttribute dependency); + +// MARK: Search + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphSearch(AGAttribute attribute, AGSearchOptions options, + bool (*predicate)(AGAttribute attribute, const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *predicate_context); + +// MARK: Body + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphMutateAttribute(AGAttribute attribute, AGTypeID type, bool invalidating, + void (*modify)(void *body, const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *modify_context); + +// MARK: Value + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGChangedValue AGGraphGetValue(AGAttribute attribute, AGValueOptions options, AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGWeakChangedValue AGGraphGetWeakValue(AGWeakAttribute attribute, AGValueOptions options, AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGChangedValue AGGraphGetInputValue(AGAttribute attribute, AGAttribute input, AGValueOptions options, AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphSetValue(AGAttribute attribute, const void *value, AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphHasValue(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.hasValue(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGValueState AGGraphGetValueState(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.valueState(self:)); + +typedef AG_OPTIONS(uint32_t, AGGraphUpdateOptions) { + AGGraphUpdateOptionsNone = 0, + AGGraphUpdateOptionsInTransaction = 1 << 0, + AGGraphUpdateOptionsAbortIfCancelled = 1 << 1, + AGGraphUpdateOptionsCancelIfPassedDeadline = 1 << 2, + AGGraphUpdateOptionsInitializeCleared = 1 << 3, + AGGraphUpdateOptionsEndDeferringSubgraphInvalidationOnExit = 1 << 4, +}; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphUpdateValue(AGAttribute attribute, AGGraphUpdateOptions options) + AG_SWIFT_NAME(AGAttribute.updateValue(self:options:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGGraphPrefetchValue(AGAttribute attribute) AG_SWIFT_NAME(AGAttribute.prefetchValue(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphInvalidateValue(AGAttribute attribute) AG_SWIFT_NAME(AGAttribute.invalidateValue(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphInvalidateAllValues(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.invalidateAllValues(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetInvalidationCallback(AGGraphRef graph, + void (*callback)(AGAttribute, const void *context AG_SWIFT_CONTEXT) + AG_SWIFT_CC(swift), + const void *callback_context); + +// MARK: Cached value + +CF_EXPORT +CF_REFINED_FOR_SWIFT +void *AGGraphReadCachedAttribute(size_t hash, AGTypeID type, const void *body, AGTypeID value_type, + AGCachedValueOptions options, AGAttribute owner, bool *_Nullable changed_out, + uint32_t (*closure)(AGUnownedGraphContextRef graph_context, + const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *closure_context); + +CF_EXPORT +CF_REFINED_FOR_SWIFT +void *_Nullable AGGraphReadCachedAttributeIfExists(size_t hash, AGTypeID type, const void *body, AGTypeID value_type, + AGCachedValueOptions options, AGAttribute owner, + bool *_Nullable changed_out); + +// MARK: Update + +typedef AG_ENUM(uint32_t, AGGraphUpdateStatus) { + AGGraphUpdateStatusNoChange = 0, + AGGraphUpdateStatusChanged = 1, + AGGraphUpdateStatusAborted = 2, + AGGraphUpdateStatusNeedsCallMainHandler = 3, +}; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetUpdate(const void *update) AG_SWIFT_NAME(AGGraphRef.setUpdate(_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *AGGraphClearUpdate(void) AG_SWIFT_NAME(AGGraphRef.clearUpdate()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphCancelUpdate(void) AG_SWIFT_NAME(AGGraphRef.cancelUpdate()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphCancelUpdateIfNeeded(void) AG_SWIFT_NAME(AGGraphRef.cancelUpdateIfNeeded()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphUpdateWasCancelled(void) AG_SWIFT_NAME(getter:AGGraphRef.updateWasCancelled()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGGraphGetDeadline(AGGraphRef graph) AG_SWIFT_NAME(getter:AGGraphRef.deadline(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetDeadline(AGGraphRef graph, uint64_t deadline) AG_SWIFT_NAME(setter:AGGraphRef.deadline(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphHasDeadlinePassed(void) AG_SWIFT_NAME(getter:AGGraphRef.hasDeadlinePassed()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetNeedsUpdate(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.setNeedsUpdate(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphWithUpdate(AGAttribute attribute, void (*body)(const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *body_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphWithoutUpdate(void (*body)(const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *body_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetUpdateCallback(AGGraphRef graph, + void (*callback)(const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *callback_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGGraphGetCurrentAttribute(void); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphCurrentAttributeWasModified(void) AG_SWIFT_NAME(getter:AGAttribute.currentWasModified()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphAnyInputsChanged(const AGAttribute *AG_COUNTED_BY(count) exclude_attributes, size_t count); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void *_Nullable AGGraphGetOutputValue(AGTypeID type); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetOutputValue(const void *value, AGTypeID type); + +// MARK: Description + +#if TARGET_OS_MAC +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFTypeRef _Nullable AGGraphDescription(AGGraphRef _Nullable graph, CFDictionaryRef options) + AG_SWIFT_NAME(AGGraphRef.description(_:options:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphArchiveJSON(const char *_Nullable filename) AG_SWIFT_NAME(AGGraphRef.archiveJSON(name:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphArchiveJSON2(const char *filename, bool exclude_values) + AG_SWIFT_NAME(AGGraphRef.archiveJSON(name:excludeValues:)); +#endif + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraphCounterQueryType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraphCounterQueryType.h new file mode 100644 index 0000000..3d3d437 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraphCounterQueryType.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +typedef AG_ENUM(uint32_t, AGGraphCounterQueryType) { + AGGraphCounterQueryTypeNodes, + AGGraphCounterQueryTypeTransactions, + AGGraphCounterQueryTypeUpdates, + AGGraphCounterQueryTypeChanges, + AGGraphCounterQueryTypeContextID, + AGGraphCounterQueryTypeGraphID, + AGGraphCounterQueryTypeContextThreadUpdating, + AGGraphCounterQueryTypeThreadUpdating, + AGGraphCounterQueryTypeContextNeedsUpdate, + AGGraphCounterQueryTypeNeedsUpdate, + AGGraphCounterQueryTypeMainThreadUpdates, + AGGraphCounterQueryTypeCreatedNodes, + AGGraphCounterQueryTypeSubgraphs, + AGGraphCounterQueryTypeCreatedSubgraphs, +} AG_SWIFT_NAME(AGGraphRef.CounterQueryType); diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraphTracing.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraphTracing.h new file mode 100644 index 0000000..314d6b4 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraphTracing.h @@ -0,0 +1,102 @@ +#pragma once + +#include +#include + +typedef AG_OPTIONS(uint32_t, AGGraphTraceOptions) { + AGGraphTraceOptionsEnabled = 1 << 0, + AGGraphTraceOptionsFull = 1 << 1, + AGGraphTraceOptionsBacktrace = 1 << 2, + AGGraphTraceOptionsPrepare = 1 << 3, + AGGraphTraceOptionsCustom = 1 << 4, + AGGraphTraceOptionsAll = 1 << 5, +} AG_SWIFT_NAME(AGGraphRef.TraceOptions); + +typedef struct AGTraceType *AGTraceTypeRef; + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphStartTracing(AGGraphRef _Nullable graph, AGGraphTraceOptions trace_options) + AG_SWIFT_NAME(AGGraphRef.startTracing(_:options:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphStartTracing2(AGGraphRef _Nullable graph, AGGraphTraceOptions trace_options, + CFArrayRef _Nullable subsystems) + AG_SWIFT_NAME(AGGraphRef.startTracing(_:options:subsystems:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphStopTracing(AGGraphRef _Nullable graph) AG_SWIFT_NAME(AGGraphRef.stopTracing(_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSyncTracing(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.syncTracing(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFStringRef AGGraphCopyTracePath(AGGraphRef graph) AG_SWIFT_NAME(getter:AGGraphRef.tracePath(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGGraphAddTrace(AGGraphRef graph, const AGTraceTypeRef trace, void *_Nullable context) + AG_SWIFT_NAME(AGGraphRef.addTrace(self:_:context:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphRemoveTrace(AGGraphRef graph, uint64_t trace_id) AG_SWIFT_NAME(AGGraphRef.removeTrace(self:traceID:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphSetTrace(AGGraphRef graph, const AGTraceTypeRef trace, void *_Nullable context) + AG_SWIFT_NAME(AGGraphRef.setTrace(self:_:context:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphResetTrace(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.resetTrace(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphIsTracingActive(AGGraphRef graph) AG_SWIFT_NAME(getter:AGGraphRef.isTracingActive(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphPrepareTrace(AGGraphRef graph, const AGTraceTypeRef trace, void *_Nullable context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGGraphTraceEventEnabled(AGGraphRef graph, uint32_t event_id) + AG_SWIFT_NAME(AGGraphRef.traceEventEnabled(self:for:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphAddTraceEvent(AGGraphRef graph, const char *event_name, const void *value, AGTypeID type) + AG_SWIFT_NAME(AGGraphRef.addTraceEvent(self:name:value:type:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGGraphAddNamedTraceEvent(AGGraphRef graph, uint32_t event_id, uint32_t event_arg_count, const void *event_args, + CFDataRef data, uint32_t arg6) + AG_SWIFT_NAME(AGGraphRef.addNamedTraceEvent(self:eventID:eventArgCount:eventArgs:data:arg6:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const char *_Nullable AGGraphGetTraceEventName(uint32_t event_id) AG_SWIFT_NAME(AGGraphRef.traceEventName(for:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const char *_Nullable AGGraphGetTraceEventSubsystem(uint32_t event_id) + AG_SWIFT_NAME(AGGraphRef.traceEventSubsystem(for:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGGraphRegisterNamedTraceEvent(const char *event_name, const char *event_subsystem) + AG_SWIFT_NAME(AGGraphRef.registerNamedTraceEvent(name:subsystem:)); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGInputOptions.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGInputOptions.h new file mode 100644 index 0000000..04f7490 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGInputOptions.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint8_t, AGInputOptions) { + AGInputOptionsNone = 0, + AGInputOptionsUnprefetched = 1 << 0, + AGInputOptionsSyncMainRef = 1 << 1, + AGInputOptionsAlwaysEnabled = 1 << 2, + AGInputOptionsChanged = 1 << 3, + AGInputOptionsEnabled = 1 << 4, +}; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGSearchOptions.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGSearchOptions.h new file mode 100644 index 0000000..49e9c7a --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGSearchOptions.h @@ -0,0 +1,17 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint32_t, AGSearchOptions) { + AGSearchOptionsSearchInputs = 1 << 0, + AGSearchOptionsSearchOutputs = 1 << 1, + AGSearchOptionsTraverseGraphContexts = 1 << 2, +} AG_SWIFT_NAME(SearchOptions); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGSubgraph.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGSubgraph.h new file mode 100644 index 0000000..50bab71 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGSubgraph.h @@ -0,0 +1,186 @@ +#pragma once + +#include +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +// MARK: CFType + +typedef struct AG_BRIDGED_TYPE(id) AGSubgraphStorage *AGSubgraphRef AG_SWIFT_NAME(Subgraph); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFTypeID AGSubgraphGetTypeID(void) AG_SWIFT_NAME(getter:AGSubgraphRef.typeID()); + +// MARK: Current subgraph + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef _Nullable AGSubgraphGetCurrent(void) AG_SWIFT_NAME(getter:AGSubgraphRef.current()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphSetCurrent(AGSubgraphRef _Nullable subgraph) AG_SWIFT_NAME(setter:AGSubgraphRef.current(_:)); + +// MARK: Graph Context + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGSubgraphCreate(AGGraphRef graph) AG_SWIFT_NAME(AGSubgraphRef.init(graph:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGSubgraphCreate2(AGGraphRef graph, AGAttribute attribute) + AG_SWIFT_NAME(AGSubgraphRef.init(graph:attribute:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGUnownedGraphContextRef _Nullable AGSubgraphGetCurrentGraphContext(void) + AG_SWIFT_NAME(getter:AGSubgraphRef.currentGraphContext()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGGraphRef AGSubgraphGetGraph(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.graph(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphIsValid(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.isValid(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphInvalidate(AGSubgraphRef subgraph) AG_SWIFT_NAME(AGSubgraphRef.invalidate(self:)); + +// MARK: Index + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGSubgraphGetIndex(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.index(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphSetIndex(AGSubgraphRef subgraph, uint32_t index) AG_SWIFT_NAME(setter:AGSubgraphRef.index(self:_:)); + +// MARK: Observers + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGUniqueID AGSubgraphAddObserver(AGSubgraphRef subgraph, + void (*observer)(const void *_Nullable context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *_Nullable observer_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphRemoveObserver(AGSubgraphRef subgraph, AGUniqueID observer_id) + AG_SWIFT_NAME(AGSubgraphRef.removeObserver(self:_:)); + +// MARK: Children + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphAddChild(AGSubgraphRef subgraph, AGSubgraphRef child) AG_SWIFT_NAME(AGSubgraphRef.addChild(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphAddChild2(AGSubgraphRef subgraph, AGSubgraphRef child, uint8_t tag) + AG_SWIFT_NAME(AGSubgraphRef.addChild(self:_:tag:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphRemoveChild(AGSubgraphRef subgraph, AGSubgraphRef child) + AG_SWIFT_NAME(AGSubgraphRef.removeChild(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGSubgraphGetChild(AGSubgraphRef subgraph, uint32_t index, uint8_t *_Nullable tag_out) + AG_SWIFT_NAME(AGSubgraphRef.child(self:at:tag:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGSubgraphGetChildCount(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.childCount(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGSubgraphGetParent(AGSubgraphRef subgraph, int64_t index) AG_SWIFT_NAME(AGSubgraphRef.parent(self:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGSubgraphGetParentCount(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.parentCount(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphIsAncestor(AGSubgraphRef subgraph, AGSubgraphRef other) + AG_SWIFT_NAME(AGSubgraphRef.isAncestor(self:of:)); + +// MARK: Flags + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphIntersects(AGSubgraphRef subgraph, AGAttributeFlags flags) + AG_SWIFT_NAME(AGSubgraphRef.intersects(self:flags:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphIsDirty(AGSubgraphRef subgraph, AGAttributeFlags flags) AG_SWIFT_NAME(AGSubgraphRef.isDirty(self:flags:)); + +// MARK: Attributes + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef AGGraphGetAttributeSubgraph(AGAttribute attribute) AG_SWIFT_NAME(getter:AGAttribute.subgraph(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGSubgraphRef _Nullable AGGraphGetAttributeSubgraph2(AGAttribute attribute) + AG_SWIFT_NAME(getter:AGAttribute.subgraphOrNil(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphApply(AGSubgraphRef subgraph, uint32_t options, + void (*body)(AGAttribute, const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *body_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphUpdate(AGSubgraphRef subgraph, AGAttributeFlags flags) AG_SWIFT_NAME(AGSubgraphRef.update(self:flags:)); + +// MARK: Tree + +AG_EXPORT +AG_REFINED_FOR_SWIFT +_Nullable AGTreeElement AGSubgraphGetTreeRoot(AGSubgraphRef subgraph) AG_SWIFT_NAME(getter:AGSubgraphRef.treeRoot(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphBeginTreeElement(AGAttribute value, AGTypeID type, uint32_t flags); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphEndTreeElement(AGAttribute value); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphSetTreeOwner(AGSubgraphRef subgraph, AGAttribute owner) + AG_SWIFT_NAME(AGSubgraphRef.setTreeOwner(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphAddTreeValue(AGAttribute value, AGTypeID type, const char *key, uint32_t flags); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGSubgraphShouldRecordTree(void) AG_SWIFT_NAME(getter:AGSubgraphRef.shouldRecordTree()); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGSubgraphSetShouldRecordTree(void) AG_SWIFT_NAME(AGSubgraphRef.setShouldRecordTree()); + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTargetConditionals.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTargetConditionals.h new file mode 100644 index 0000000..4714be2 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTargetConditionals.h @@ -0,0 +1,283 @@ +// This source file is part of the Swift.org open source project +// +// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +// Licensed under Apache License v2.0 with Runtime Library Exception +// +// See http://swift.org/LICENSE.txt for license information +// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors +// + +/* + File: TargetConditionals.h + + Contains: Autoconfiguration of TARGET_ conditionals for Mac OS X and iPhone + + Note: TargetConditionals.h in 3.4 Universal Interfaces works + with all compilers. This header only recognizes compilers + known to run on Mac OS X. + +*/ + +#if __has_include() +#include +#else + +#ifndef __TARGETCONDITIONALS__ +#define __TARGETCONDITIONALS__ +/**************************************************************************************************** + + TARGET_CPU_* + These conditionals specify which microprocessor instruction set is being + generated. At most one of these is true, the rest are false. + + TARGET_CPU_PPC - Compiler is generating PowerPC instructions for 32-bit mode + TARGET_CPU_PPC64 - Compiler is generating PowerPC instructions for 64-bit mode + TARGET_CPU_68K - Compiler is generating 680x0 instructions + TARGET_CPU_X86 - Compiler is generating x86 instructions + TARGET_CPU_ARM - Compiler is generating ARM instructions + TARGET_CPU_MIPS - Compiler is generating MIPS instructions + TARGET_CPU_SPARC - Compiler is generating Sparc instructions + TARGET_CPU_ALPHA - Compiler is generating Dec Alpha instructions + TARGET_CPU_WASM32 - Compiler is generating WebAssembly instructions for 32-bit mode + + + TARGET_OS_* + These conditionals specify in which Operating System the generated code will + run. Indention is used to show which conditionals are evolutionary subclasses. + + The MAC/WIN32/UNIX conditionals are mutually exclusive. + The IOS/TV/WATCH conditionals are mutually exclusive. + + + TARGET_OS_WIN32 - Generated code will run under 32-bit Windows + TARGET_OS_UNIX - Generated code will run under some Unix (not OSX) + TARGET_OS_CYGWIN - Generated code will run under 64-bit Cygwin + TARGET_OS_WASI - Generated code will run under WebAssembly System Interface + TARGET_OS_MAC - Generated code will run under Mac OS X variant + TARGET_OS_IPHONE - Generated code for firmware, devices, or simulator + TARGET_OS_IOS - Generated code will run under iOS + TARGET_OS_TV - Generated code will run under Apple TV OS + TARGET_OS_WATCH - Generated code will run under Apple Watch OS + TARGET_OS_SIMULATOR - Generated code will run under a simulator + TARGET_OS_EMBEDDED - Generated code for firmware + + TARGET_IPHONE_SIMULATOR - DEPRECATED: Same as TARGET_OS_SIMULATOR + TARGET_OS_NANO - DEPRECATED: Same as TARGET_OS_WATCH + + TARGET_RT_* + These conditionals specify in which runtime the generated code will + run. This is needed when the OS and CPU support more than one runtime + (e.g. Mac OS X supports CFM and mach-o). + + TARGET_RT_LITTLE_ENDIAN - Generated code uses little endian format for integers + TARGET_RT_BIG_ENDIAN - Generated code uses big endian format for integers + TARGET_RT_64_BIT - Generated code uses 64-bit pointers + TARGET_RT_MAC_CFM - TARGET_OS_MAC is true and CFM68K or PowerPC CFM (TVectors) are used + TARGET_RT_MAC_MACHO - TARGET_OS_MAC is true and Mach-O/dlyd runtime is used + + +****************************************************************************************************/ + +#if __APPLE__ +#define TARGET_OS_DARWIN 1 +#define TARGET_OS_LINUX 0 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __ANDROID__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 1 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 1 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __linux__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 1 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __CYGWIN__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 1 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 1 +#define TARGET_OS_WASI 0 +#elif _WIN32 || _WIN64 +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 0 +#define TARGET_OS_WINDOWS 1 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __unix__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 0 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 1 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 0 +#elif __wasi__ +#define TARGET_OS_DARWIN 0 +#define TARGET_OS_LINUX 0 +#define TARGET_OS_WINDOWS 0 +#define TARGET_OS_BSD 0 +#define TARGET_OS_ANDROID 0 +#define TARGET_OS_CYGWIN 0 +#define TARGET_OS_WASI 1 +#else +#error unknown operating system +#endif + +#define TARGET_OS_WIN32 TARGET_OS_WINDOWS +#define TARGET_OS_MAC TARGET_OS_DARWIN +#define TARGET_OS_OSX TARGET_OS_DARWIN + +// iOS, watchOS, and tvOS are not supported +#define TARGET_OS_IPHONE 0 +#define TARGET_OS_IOS 0 +#define TARGET_OS_WATCH 0 +#define TARGET_OS_TV 0 + +#if __x86_64__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 1 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __arm64__ || __aarch64__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 1 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __mips64__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 1 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __powerpc64__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 1 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __i386__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 1 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __arm__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 1 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __mips__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 1 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __powerpc__ +#define TARGET_CPU_PPC 1 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 0 +#elif __s390x__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 1 +#define TARGET_CPU_WASM32 0 +#elif __wasm32__ +#define TARGET_CPU_PPC 0 +#define TARGET_CPU_PPC64 0 +#define TARGET_CPU_X86 0 +#define TARGET_CPU_X86_64 0 +#define TARGET_CPU_ARM 0 +#define TARGET_CPU_ARM64 0 +#define TARGET_CPU_MIPS 0 +#define TARGET_CPU_MIPS64 0 +#define TARGET_CPU_S390X 0 +#define TARGET_CPU_WASM32 1 +#else +#error unknown architecture +#endif + +#if __LITTLE_ENDIAN__ +#define TARGET_RT_LITTLE_ENDIAN 1 +#define TARGET_RT_BIG_ENDIAN 0 +#elif __BIG_ENDIAN__ +#define TARGET_RT_LITTLE_ENDIAN 0 +#define TARGET_RT_BIG_ENDIAN 1 +#else +#error unknown endian +#endif + +#if __LP64__ || __LLP64__ || __POINTER_WIDTH__-0 == 64 +#define TARGET_RT_64_BIT 1 +#else +#define TARGET_RT_64_BIT 0 +#endif + +#endif /* __TARGETCONDITIONALS__ */ + +#endif // __has_include diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTraceType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTraceType.h new file mode 100644 index 0000000..ecae4e5 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTraceType.h @@ -0,0 +1,82 @@ +#pragma once + +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_ENUM(uint64_t, AGTraceTypeVersion) { + AGTraceTypeVersionInitial = 0, + AGTraceTypeVersionCustom = 1, + AGTraceTypeVersionNamed = 2, + AGTraceTypeVersionDeadline = 3, + AGTraceTypeVersionCompareFailed = 4, +}; + +typedef struct AGTraceType { + AGTraceTypeVersion version; + + void (*_Nullable begin_trace)(void *_Nullable context, AGGraphRef graph); + void (*_Nullable end_trace)(void *_Nullable context, AGGraphRef graph); + + void (*_Nullable begin_subgraph_update)(void *_Nullable context, AGSubgraphRef subgraph, uint32_t options); + void (*_Nullable end_subgraph_update)(void *_Nullable context, AGSubgraphRef subgraph); + void (*_Nullable begin_node_update)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable end_node_update)(void *_Nullable context, bool changed); + void (*_Nullable begin_value_update)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable end_value_update)(void *_Nullable context, AGAttribute attribute, bool changed); + void (*_Nullable begin_graph_update)(void *_Nullable context, AGGraphRef graph); + void (*_Nullable end_graph_update)(void *_Nullable context, AGGraphRef graph); + + void (*_Nullable begin_graph_invalidation)(void *_Nullable context, AGGraphRef graph, AGAttribute attribute); + void (*_Nullable end_graph_invalidation)(void *_Nullable context, AGGraphRef graph, AGAttribute attribute); + + void (*_Nullable begin_modify_node)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable end_modify_node)(void *_Nullable context, AGAttribute attribute); + + void (*_Nullable begin_event)(void *_Nullable context, AGAttribute attribute, const char *event_name); + void (*_Nullable end_event)(void *_Nullable context, AGAttribute attribute, const char *event_name); + + void (*_Nullable graph_created)(void *_Nullable context, AGGraphRef graph); + void (*_Nullable graph_destroy)(void *_Nullable context, AGGraphRef graph); + void (*_Nullable graph_needs_update)(void *_Nullable context, AGGraphRef graph); + + void (*_Nullable subgraph_created)(void *_Nullable context, AGSubgraphRef subgraph); + void (*_Nullable subgraph_destroy)(void *_Nullable context, AGSubgraphRef subgraph); + void (*_Nullable subgraph_add_child)(void *_Nullable context, AGSubgraphRef subgraph, AGSubgraphRef child); + void (*_Nullable subgraph_remove_child)(void *_Nullable context, AGSubgraphRef subgraph, AGSubgraphRef child); + + void (*_Nullable node_added)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable node_add_edge)(void *_Nullable context, AGAttribute attribute, AGAttribute input, AGInputOptions input_options); + void (*_Nullable node_remove_edge)(void *_Nullable context, AGAttribute attribute, uint32_t index); + void (*_Nullable node_set_edge_pending)(void *_Nullable context, AGAttribute attribute, AGAttribute input, bool pending); + + void (*_Nullable node_set_dirty)(void *_Nullable context, AGAttribute attribute, bool dirty); + void (*_Nullable node_set_pending)(void *_Nullable context, AGAttribute attribute, bool pending); + void (*_Nullable node_set_value)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable node_mark_value)(void *_Nullable context, AGAttribute attribute); + + void (*_Nullable indirect_node_added)(void *_Nullable context, AGAttribute attribute); + void (*_Nullable indirect_node_set_source)(void *_Nullable context, AGAttribute attribute, AGAttribute source); + void (*_Nullable indirect_node_set_dependency)(void *_Nullable context, AGAttribute attribute, AGAttribute dependency); + + void (*_Nullable profile_mark)(void *_Nullable context, const char *event_name); + + void (*_Nullable custom_event)(void *_Nullable context, AGGraphRef graph, const char *event_name, const void *value, + AGTypeID type); + void (*_Nullable named_event)(void *_Nullable context, AGGraphRef graph, uint32_t eventID, uint32_t eventArgCount, + const void *eventArgs, CFDataRef data, uint32_t arg6); + bool (*_Nullable named_event_enabled)(void *_Nullable context); + + void (*_Nullable set_deadline)(void *_Nullable context); + void (*_Nullable passed_deadline)(void *_Nullable context); + + void (*_Nullable compare_failed)(void *_Nullable context, AGAttribute attribute, AGComparisonState comparisonState); +} AGTraceType; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTreeElement.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTreeElement.h new file mode 100644 index 0000000..7ee6a4c --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTreeElement.h @@ -0,0 +1,81 @@ +#pragma once + +#include +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct _AGTreeElement *AGTreeElement AG_SWIFT_STRUCT AG_SWIFT_NAME(TreeElement); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeID AGTreeElementGetType(AGTreeElement tree_element) AG_SWIFT_NAME(getter:AGTreeElement.type(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGTreeElementGetValue(AGTreeElement tree_element); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGTreeElementGetFlags(AGTreeElement tree_element) AG_SWIFT_NAME(getter:AGTreeElement.flags(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElement _Nullable AGTreeElementGetParent(AGTreeElement tree_element) AG_SWIFT_NAME(getter:AGTreeElement.parent(self:)); + +// MARK: Iterating values + +typedef struct AGTreeElementValueIterator { + uintptr_t parent_elt; + uintptr_t next_elt; +} AG_SWIFT_NAME(Values) AGTreeElementValueIterator; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElementValueIterator AGTreeElementMakeValueIterator(AGTreeElement tree_element) + AG_SWIFT_NAME(getter:AGTreeElement.values(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeValue _Nullable AGTreeElementGetNextValue(AGTreeElementValueIterator *iter) AG_SWIFT_NAME(AGTreeElementValueIterator.next(self:)); + +// MARK: Iterating nodes + +typedef struct AGTreeElementNodeIterator { + uintptr_t elt; + unsigned long node_index; +} AG_SWIFT_NAME(Nodes) AGTreeElementNodeIterator; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElementNodeIterator AGTreeElementMakeNodeIterator(AGTreeElement tree_element) + AG_SWIFT_NAME(getter:AGTreeElement.nodes(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGTreeElementGetNextNode(AGTreeElementNodeIterator *iter); + +// MARK: Iterating children + +typedef struct AGTreeElementChildIterator { + uintptr_t parent_elt; + uintptr_t next_elt; + size_t subgraph_index; +} AG_SWIFT_NAME(Children) AGTreeElementChildIterator; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElementChildIterator AGTreeElementMakeChildIterator(AGTreeElement tree_element) + AG_SWIFT_NAME(getter:AGTreeElement.children(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTreeElement _Nullable AGTreeElementGetNextChild(AGTreeElementChildIterator *iter) AG_SWIFT_NAME(AGTreeElementChildIterator.next(self:)); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTreeValue.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTreeValue.h new file mode 100644 index 0000000..8ea995b --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTreeValue.h @@ -0,0 +1,31 @@ +#pragma once + +#include +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct _AGTreeValue *AGTreeValue AG_SWIFT_STRUCT AG_SWIFT_NAME(TreeValue); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeID AGTreeValueGetType(AGTreeValue tree_value) AG_SWIFT_NAME(getter:AGTreeValue.type(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGTreeValueGetValue(AGTreeValue tree_value) AG_SWIFT_NAME(getter:AGTreeValue.value(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const char *AGTreeValueGetKey(AGTreeValue tree_value) AG_SWIFT_NAME(getter:AGTreeValue.key(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint32_t AGTreeValueGetFlags(AGTreeValue tree_value) AG_SWIFT_NAME(getter:AGTreeValue.flags(self:)); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTuple.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTuple.h new file mode 100644 index 0000000..12b43c3 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTuple.h @@ -0,0 +1,89 @@ +#pragma once + +#include +#include + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +typedef AG_ENUM(uint32_t, AGTupleCopyOptions) { + AGTupleCopyOptionsAssignCopy = 0, + AGTupleCopyOptionsInitCopy = 1, + AGTupleCopyOptionsAssignTake = 2, + AGTupleCopyOptionsInitTake = 3, +} AG_SWIFT_NAME(TupleType.CopyOptions); + +typedef const struct AGSwiftMetadata *AGTupleType AG_SWIFT_STRUCT AG_SWIFT_NAME(TupleType); + +typedef struct AGUnsafeTuple { + AGTupleType type; + const void *value; +} AG_SWIFT_NAME(UnsafeTuple) AGUnsafeTuple; + +typedef struct AGUnsafeMutableTuple { + AGTupleType type; + void *value; +} AG_SWIFT_NAME(UnsafeMutableTuple) AGUnsafeMutableTuple; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTupleType AGNewTupleType(size_t count, const AGTypeID _Nonnull *_Nonnull elements) + AG_SWIFT_NAME(TupleType.init(count:elements:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleCount(AGTupleType tuple_type) AG_SWIFT_NAME(getter:AGTupleType.count(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleSize(AGTupleType tuple_type) AG_SWIFT_NAME(getter:AGTupleType.size(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeID AGTupleElementType(AGTupleType tuple_type, size_t index) AG_SWIFT_NAME(TupleType.elementType(self:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleElementSize(AGTupleType tuple_type, size_t index) AG_SWIFT_NAME(TupleType.elementSize(self:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleElementOffset(AGTupleType tuple_type, size_t index) AG_SWIFT_NAME(TupleType.elementOffset(self:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +size_t AGTupleElementOffsetChecked(AGTupleType tuple_type, size_t index, AGTypeID element_type) + AG_SWIFT_NAME(TupleType.elementOffset(self:at:type:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void *AGTupleGetElement(AGTupleType tuple_type, void *tuple_value, size_t index, void *element_value, + AGTypeID element_type, AGTupleCopyOptions options); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void *AGTupleSetElement(AGTupleType tuple_type, void *tuple_value, size_t index, const void *element_value, + AGTypeID element_type, AGTupleCopyOptions options); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTupleDestroy(AGTupleType tuple_type, void *tuple_value) AG_SWIFT_NAME(TupleType.destroy(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTupleDestroyElement(AGTupleType tuple_type, void *tuple_value, size_t index) + AG_SWIFT_NAME(TupleType.destroy(self:_:at:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTupleWithBuffer(AGTupleType tuple_type, size_t count, + void (*function)(const AGUnsafeMutableTuple mutable_tuple, void *context AG_SWIFT_CONTEXT) + AG_SWIFT_CC(swift), + void *context); + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGType.h new file mode 100644 index 0000000..6572a08 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGType.h @@ -0,0 +1,129 @@ +#pragma once + +#include + +#if TARGET_OS_MAC +#include +#else +#include +#endif + +AG_ASSUME_NONNULL_BEGIN +AG_IMPLICIT_BRIDGING_ENABLED + +AG_EXTERN_C_BEGIN + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wextern-c-compat" +typedef struct AG_SWIFT_NAME(_Metadata) AGSwiftMetadata { +} AGSwiftMetadata; +#pragma GCC diagnostic pop + +typedef const AGSwiftMetadata *AGTypeID AG_SWIFT_STRUCT AG_SWIFT_NAME(Metadata); + +typedef struct AGTypeSignature { + uint8_t bytes[20]; +} AG_SWIFT_NAME(Signature) AGTypeSignature; + +typedef AG_CLOSED_ENUM(uint32_t, AGTypeKind) { + AGTypeKindNone, + AGTypeKindClass, + AGTypeKindStruct, + AGTypeKindEnum, + AGTypeKindOptional, + AGTypeKindTuple, + AGTypeKindFunction, + AGTypeKindExistential, + AGTypeKindMetatype, +} AG_SWIFT_NAME(Metadata.Kind); + +#if TARGET_OS_MAC +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFStringRef AGTypeDescription(AGTypeID typeID); +#else +AG_EXPORT +AG_REFINED_FOR_SWIFT +CFStringRef AGTypeCopyDescription(AGTypeID typeID); +#endif + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGTypeKind AGTypeGetKind(AGTypeID typeID) AG_SWIFT_NAME(getter:Metadata.kind(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const AGTypeSignature AGTypeGetSignature(AGTypeID typeID) AG_SWIFT_NAME(getter:Metadata.signature(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *_Nullable AGTypeGetDescriptor(AGTypeID typeID) AG_SWIFT_NAME(getter:Metadata.descriptor(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const void *_Nullable AGTypeNominalDescriptor(AGTypeID typeID) AG_SWIFT_NAME(getter:Metadata.nominalDescriptor(self:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +const char *_Nullable AGTypeNominalDescriptorName(AGTypeID typeID) + AG_SWIFT_NAME(getter:Metadata.nominalDescriptorName(self:)); + +typedef AG_OPTIONS(uint32_t, AGTypeApplyOptions) { + AGTypeApplyOptionsEnumerateStructFields = 0, + AGTypeApplyOptionsEnumerateClassFields = 1 << 0, + AGTypeApplyOptionsContinueAfterUnknownField = 1 << 1, + AGTypeApplyOptionsEnumerateEnumCases = 1 << 2, +} AG_SWIFT_NAME(Metadata.ApplyOptions); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTypeApplyFields(AGTypeID typeID, + void (*apply)(const char *field_name, + size_t field_offset, + AGTypeID field_type, + const void *_Nullable context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *apply_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGTypeApplyFields2(AGTypeID typeID, AGTypeApplyOptions options, + bool (*_Nonnull apply)(const char *field_name, + size_t field_offset, + AGTypeID field_type, + const void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + const void *apply_context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGTypeApplyEnumData(AGTypeID typeID, void *value, + void (*body)(uint32_t tag, + AGTypeID field_type, + const void *field_value, + void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + void *context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +bool AGTypeApplyMutableEnumData(AGTypeID typeID, void *value, + void (*body)(uint32_t tag, + AGTypeID field_type, + void *field_value, + void *context AG_SWIFT_CONTEXT) AG_SWIFT_CC(swift), + void *context); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +uint64_t AGTypeGetEnumTag(AGTypeID typeID, const void *value) AG_SWIFT_NAME(AGTypeID.enumTag(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTypeProjectEnumData(AGTypeID typeID, void *value) AG_SWIFT_NAME(AGTypeID.projectEnumData(self:_:)); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +void AGTypeInjectEnumTag(AGTypeID typeID, uint32_t tag, void *value) AG_SWIFT_NAME(AGTypeID.injectEnumTag(self:tag:_:)); + +AG_EXTERN_C_END + +AG_IMPLICIT_BRIDGING_DISABLED +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGUniqueID.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGUniqueID.h new file mode 100644 index 0000000..cee9699 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGUniqueID.h @@ -0,0 +1,15 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef long AGUniqueID; + +AGUniqueID AGMakeUniqueID(void) AG_SWIFT_NAME(makeUniqueID()); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGValue.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGValue.h new file mode 100644 index 0000000..2a05460 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGValue.h @@ -0,0 +1,32 @@ +#pragma once + +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef AG_OPTIONS(uint32_t, AGValueOptions) { + AGValueOptionsNone = 0, + AGValueOptionsInputOptionsUnprefetched = 1 << 0, + AGValueOptionsInputOptionsSyncMainRef = 1 << 1, + AGValueOptionsInputOptionsMask = 3, + + AGValueOptionsIncrementGraphVersion = 1 << 2, // AsTopLevelOutput +}; + +typedef AG_OPTIONS(uint8_t, AGValueState) { + AGValueStateNone = 0, + AGValueStateDirty = 1 << 0, + AGValueStatePending = 1 << 1, + AGValueStateUpdating = 1 << 2, + AGValueStateValueExists = 1 << 3, + AGValueStateMainThread = 1 << 4, + AGValueStateMainRef = 1 << 5, + AGValueStateRequiresMainThread = 1 << 6, + AGValueStateSelfModified = 1 << 7, +}; + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGWeakAttribute.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGWeakAttribute.h new file mode 100644 index 0000000..d12b43d --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGWeakAttribute.h @@ -0,0 +1,27 @@ +#pragma once + +#include +#include + +AG_ASSUME_NONNULL_BEGIN + +AG_EXTERN_C_BEGIN + +typedef struct AGWeakAttribute { + struct { + AGAttribute identifier; + uint32_t seed; + } _details; +} AG_SWIFT_NAME(AnyWeakAttribute) AGWeakAttribute; + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGWeakAttribute AGCreateWeakAttribute(AGAttribute attribute); + +AG_EXPORT +AG_REFINED_FOR_SWIFT +AGAttribute AGWeakAttributeGetAttribute(AGWeakAttribute attribute); + +AG_EXTERN_C_END + +AG_ASSUME_NONNULL_END diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AttributeGraph.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AttributeGraph.h new file mode 100644 index 0000000..e53ccf9 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AttributeGraph.h @@ -0,0 +1,26 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface new file mode 100644 index 0000000..50bd6d8 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface @@ -0,0 +1,712 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.3.2 (swift-6.3.2-RELEASE) +// swift-module-flags: -target arm64-apple-macos26.5 -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature Extern -module-name AttributeGraph +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +@_exported import AttributeGraph +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +extension AttributeGraph.AnyAttribute { + public static var current: AttributeGraph.AnyAttribute? { + get + } + public init(_ attribute: AttributeGraph.Attribute) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.Attribute + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute + public var indirectDependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public var _bodyType: any Any.Type { + get + } + public var _bodyPointer: Swift.UnsafeRawPointer { + get + } + public var valueType: any Any.Type { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Equatable { +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { +} +extension AttributeGraph.AnyAttribute { + public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue +} +@propertyWrapper @dynamicMemberLookup public struct Attribute { + public var identifier: AttributeGraph.AnyAttribute + public init(identifier: AttributeGraph.AnyAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(value: Value) + public init(type: Value.Type) + public init(body: Swift.UnsafePointer, value: Swift.UnsafePointer?, flags: AttributeGraph._AttributeType.Flags, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) where Body : AttributeGraph._AttributeBody + public var graph: AttributeGraph.Graph { + get + } + public var subgraph: AttributeGraph.Subgraph { + get + } + public var subgraphOrNil: AttributeGraph.Subgraph? { + get + } + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public var flags: AttributeGraph.Subgraph.Flags { + get + nonmutating set + } + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute + public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public func validate() + public var value: Value { + unsafeAddress + nonmutating set + } + public func setValue(_ value: Value) -> Swift.Bool + public var hasValue: Swift.Bool { + get + } + public var valueState: AttributeGraph.IAGValueState { + get + } + public func prefetchValue() + public func updateValue() + public func invalidateValue() + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public var wrappedValue: Value { + unsafeAddress + nonmutating set + } + public var projectedValue: AttributeGraph.Attribute { + get + set + } + public subscript(offset body: (inout Value) -> AttributeGraph.PointerOffset) -> AttributeGraph.Attribute { + get + } + public subscript(keyPath keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public func unsafeCast(to type: T.Type) -> AttributeGraph.Attribute + public func unsafeOffset(at offset: Swift.Int, as type: Member.Type) -> AttributeGraph.Attribute +} +extension AttributeGraph.Attribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Attribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool +} +extension AttributeGraph.Attribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension AttributeGraph.Attribute { + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.StatefulRule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.StatefulRule +} +public protocol _AttributeBody { + static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + static var _hasDestroySelf: Swift.Bool { get } + static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + static var comparisonMode: AttributeGraph.ComparisonMode { get } + static var flags: AttributeGraph._AttributeType.Flags { get } +} +extension AttributeGraph._AttributeBody { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph._AttributeBody { + public var updateWasCancelled: Swift.Bool { + get + } +} +public protocol AttributeBodyVisitor { + mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody +} +public struct _External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph._External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph._External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +public struct External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { + public var identifier: AttributeGraph.AnyAttribute + public init(source: AttributeGraph.Attribute) + public var source: AttributeGraph.Attribute { + get + nonmutating set + } + public var attribute: AttributeGraph.Attribute { + get + } + public func resetSource() + public var dependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public var value: Value { + get + nonmutating set + nonmutating _modify + } + public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public var wrappedValue: Value { + get + nonmutating set + nonmutating _modify + } + public var projectedValue: AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } +} +extension AttributeGraph.IndirectAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.IndirectAttribute, rhs: AttributeGraph.IndirectAttribute) -> Swift.Bool +} +extension AttributeGraph.IndirectAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol ObservedAttribute : AttributeGraph._AttributeBody { + mutating func destroy() +} +extension AttributeGraph.ObservedAttribute { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } +} +public struct AnyOptionalAttribute { + public static var current: AttributeGraph.AnyOptionalAttribute { + get + } + public var identifier: AttributeGraph.AnyAttribute + public init() + public init(_ weakAttribute: AttributeGraph.AnyWeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public init(_ attribute: AttributeGraph.AnyAttribute) + public init(_ optionalAttribute: AttributeGraph.OptionalAttribute) + public func unsafeCast(to _: Value.Type) -> AttributeGraph.OptionalAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } + public func map(_ transform: (AttributeGraph.AnyAttribute) -> T) -> T? +} +extension AttributeGraph.AnyOptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyOptionalAttribute, rhs: AttributeGraph.AnyOptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { + public var base: AttributeGraph.AnyOptionalAttribute + public init(base: AttributeGraph.AnyOptionalAttribute) + public init() + public init(_ weakAttribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var value: Value? { + get + } + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.OptionalAttribute, rhs: AttributeGraph.OptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.OptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct PointerOffset { + public var byteOffset: Swift.Int + public init(byteOffset: Swift.Int) + public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset + public static func offset(_ body: (inout Base) -> AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset + public static func invalidScenePointer() -> Swift.UnsafeMutablePointer +} +extension AttributeGraph.PointerOffset where Base == Member { + public init() +} +extension AttributeGraph.PointerOffset { + public static func + (lhs: AttributeGraph.PointerOffset, rhs: AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset +} +extension Swift.UnsafePointer { + public static func + (lhs: Swift.UnsafePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafePointer + public subscript(offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + } +} +extension Swift.UnsafeMutablePointer { + public static func + (lhs: Swift.UnsafeMutablePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafeMutablePointer + public subscript(offset offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + unsafeMutableAddress + } +} +public struct Focus { + public var root: AttributeGraph.Attribute + public var keyPath: Swift.KeyPath + public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) +} +extension AttributeGraph.Focus : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Focus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public struct Map { + public var arg: AttributeGraph.Attribute + public var body: (Arg) -> Value + public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) +} +extension AttributeGraph.Map : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Map : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public protocol Rule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + var value: Self.Value { get } +} +extension AttributeGraph.Rule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ self: Swift.UnsafeMutableRawPointer) + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.Rule { + public var bodyChanged: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +extension AttributeGraph.Rule where Self : Swift.Hashable { + public func cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value + public func cachedValueIfExists(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value? + public static func _cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?, hashValue: Swift.Int, bodyPtr: Swift.UnsafeRawPointer, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) -> Swift.UnsafePointer +} +public protocol StatefulRule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + mutating func updateValue() +} +extension AttributeGraph.StatefulRule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) +} +extension AttributeGraph.StatefulRule { + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) + public var bodyChanged: Swift.Bool { + get + } + public var value: Self.Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +public struct AnyRuleContext { + public var attribute: AttributeGraph.AnyAttribute + public init(attribute: AttributeGraph.AnyAttribute) + public init(_ ruleContext: AttributeGraph.RuleContext) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext + public func update(body: () -> Swift.Void) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(attribute: AttributeGraph.Attribute) -> Value { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> Value? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> Value? { + get + } +} +extension AttributeGraph.AnyRuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool +} +public struct RuleContext { + public var attribute: AttributeGraph.Attribute + public init(attribute: AttributeGraph.Attribute) + public func update(body: () -> Swift.Void) + public var value: Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(input: AttributeGraph.Attribute) -> InputValue { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> T? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> T? { + get + } +} +extension AttributeGraph.RuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.RuleContext, rhs: AttributeGraph.RuleContext) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute { + public init(_ attribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.WeakAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyWeakAttribute, rhs: AttributeGraph.AnyWeakAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { + public var base: AttributeGraph.AnyWeakAttribute + public init(base: AttributeGraph.AnyWeakAttribute) + public init() + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public var value: Value? { + get + } + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.WeakAttribute, rhs: AttributeGraph.WeakAttribute) -> Swift.Bool +} +extension AttributeGraph.WeakAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_silgen_name("IAGGraphSetOutputValue") +@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +extension AttributeGraph.Graph { + @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { + IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + } + @_transparent @inline(__always) public var mainUpdates: Swift.Int { + @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } + } +} +extension AttributeGraph.Graph { + @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { + return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + } +} +extension AttributeGraph.Graph { + public func onUpdate(_ handler: @escaping () -> Swift.Void) + public func onInvalidation(_ handler: @escaping (AttributeGraph.AnyAttribute) -> Swift.Void) + public func withDeadline(_ deadline: Swift.UInt64, _ body: () -> T) -> T + public static func withoutUpdate(_ body: () -> T) -> T + public func withoutSubgraphInvalidation(_ body: () -> T) -> T + public func withMainThreadHandler(_ mainThreadHandler: (() -> Swift.Void) -> Swift.Void, do body: () -> Swift.Void) +} +extension AttributeGraph.Graph { + public static func startProfiling(_ graph: AttributeGraph.Graph?) + public static func stopProfiling(_ graph: AttributeGraph.Graph?) + public static func markProfile(name: Swift.UnsafePointer) + public static func resetProfile() +} +extension AttributeGraph.Graph { + public func addTraceEvent(_ event: Swift.UnsafePointer, value: T) + public func addTraceEvent(_ event: Swift.UnsafePointer, context: Swift.UnsafePointer) +} +extension AttributeGraph.Graph { + public func print(includeValues: Swift.Bool) + public func archiveJSON(name: Swift.String?) + public func graphvizDescription(includeValues: Swift.Bool) -> Swift.String + public static func printStack(maxFrames: Swift.Int) + public static func stackDescription(maxFrames: Swift.Int) -> Swift.String +} +extension AttributeGraph.Graph : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool +} +extension AttributeGraph.Subgraph { + public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int +} +extension AttributeGraph.Subgraph { + public func apply(_ body: () -> T) -> T + public func forEach(_ flags: AttributeGraph.Subgraph.Flags, _ body: (AttributeGraph.AnyAttribute) -> Swift.Void) +} +extension AttributeGraph.Subgraph { + public static func beginTreeElement(value: AttributeGraph.Attribute, flags: Swift.UInt32) + public static func endTreeElement(value: AttributeGraph.Attribute) + public static func addTreeValue(_ value: AttributeGraph.Attribute, forKey key: Swift.UnsafePointer, flags: Swift.UInt32) +} +extension AttributeGraph.TreeElement { + public var value: AttributeGraph.AnyAttribute? { + get + } +} +extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.AnyAttribute + @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + let result = __IAGTreeElementGetNextNode(&self) + return result == .nil ? nil : result + } +} +extension AttributeGraph.Children : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeElement +} +extension AttributeGraph.Values : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeValue +} +extension AttributeGraph.ComparisonOptions { + public init(mode: AttributeGraph.ComparisonMode) +} +public func compareValues(_ lhs: Value, _ rhs: Value, mode: AttributeGraph.ComparisonMode = .equatableAlways) -> Swift.Bool +public func compareValues(_ lhs: Value, _ rhs: Value, options: AttributeGraph.ComparisonOptions) -> Swift.Bool +public func withUnsafePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeRawPointer) -> Swift.Void) -> Swift.Bool +public func withUnsafeMutablePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeMutableRawPointer) -> Swift.Void) -> Swift.Bool +public func forEachField(of type: any Any.Type, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Void) +extension AttributeGraph.Metadata { + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public func forEachField(options: AttributeGraph.Metadata.ApplyOptions, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Bool) -> Swift.Bool +} +extension AttributeGraph.Metadata : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Metadata : @retroactive Swift.Equatable { +} +extension AttributeGraph.Metadata : @retroactive Swift.Hashable { +} +extension AttributeGraph.Signature : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Signature, rhs: AttributeGraph.Signature) -> Swift.Bool +} +public func withUnsafeTuple(of type: AttributeGraph.TupleType, count: Swift.Int, body: (AttributeGraph.UnsafeMutableTuple) -> Swift.Void) +extension AttributeGraph.TupleType { + public init(_ types: [any Any.Type]) + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func type(at index: Swift.Int) -> any Any.Type + public func offset(at index: Swift.Int, as type: T.Type) -> Swift.Int + public func getElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, to destinationValue: Swift.UnsafeMutablePointer, options: AttributeGraph.TupleType.CopyOptions) + public func setElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, from sourceValue: Swift.UnsafePointer, options: AttributeGraph.TupleType.CopyOptions) +} +extension AttributeGraph.UnsafeTuple { + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafePointer + public subscript() -> T { + unsafeAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + } +} +extension AttributeGraph.UnsafeMutableTuple { + public init(with tupleType: AttributeGraph.TupleType) + public func deallocate(initialized: Swift.Bool) + public func initialize(at index: Swift.Int, to element: T) + public func deinitialize() + public func deinitialize(at index: Swift.Int) + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafeMutablePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafeMutablePointer + public subscript() -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } +} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface new file mode 100644 index 0000000..0470ff5 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface @@ -0,0 +1,712 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.3.2 (swift-6.3.2-RELEASE) +// swift-module-flags: -target arm64e-apple-macos26.5 -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature Extern -module-name AttributeGraph +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +@_exported import AttributeGraph +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +extension AttributeGraph.AnyAttribute { + public static var current: AttributeGraph.AnyAttribute? { + get + } + public init(_ attribute: AttributeGraph.Attribute) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.Attribute + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute + public var indirectDependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public var _bodyType: any Any.Type { + get + } + public var _bodyPointer: Swift.UnsafeRawPointer { + get + } + public var valueType: any Any.Type { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Equatable { +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { +} +extension AttributeGraph.AnyAttribute { + public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue +} +@propertyWrapper @dynamicMemberLookup public struct Attribute { + public var identifier: AttributeGraph.AnyAttribute + public init(identifier: AttributeGraph.AnyAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(value: Value) + public init(type: Value.Type) + public init(body: Swift.UnsafePointer, value: Swift.UnsafePointer?, flags: AttributeGraph._AttributeType.Flags, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) where Body : AttributeGraph._AttributeBody + public var graph: AttributeGraph.Graph { + get + } + public var subgraph: AttributeGraph.Subgraph { + get + } + public var subgraphOrNil: AttributeGraph.Subgraph? { + get + } + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public var flags: AttributeGraph.Subgraph.Flags { + get + nonmutating set + } + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute + public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public func validate() + public var value: Value { + unsafeAddress + nonmutating set + } + public func setValue(_ value: Value) -> Swift.Bool + public var hasValue: Swift.Bool { + get + } + public var valueState: AttributeGraph.IAGValueState { + get + } + public func prefetchValue() + public func updateValue() + public func invalidateValue() + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public var wrappedValue: Value { + unsafeAddress + nonmutating set + } + public var projectedValue: AttributeGraph.Attribute { + get + set + } + public subscript(offset body: (inout Value) -> AttributeGraph.PointerOffset) -> AttributeGraph.Attribute { + get + } + public subscript(keyPath keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public func unsafeCast(to type: T.Type) -> AttributeGraph.Attribute + public func unsafeOffset(at offset: Swift.Int, as type: Member.Type) -> AttributeGraph.Attribute +} +extension AttributeGraph.Attribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Attribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool +} +extension AttributeGraph.Attribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension AttributeGraph.Attribute { + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.StatefulRule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.StatefulRule +} +public protocol _AttributeBody { + static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + static var _hasDestroySelf: Swift.Bool { get } + static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + static var comparisonMode: AttributeGraph.ComparisonMode { get } + static var flags: AttributeGraph._AttributeType.Flags { get } +} +extension AttributeGraph._AttributeBody { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph._AttributeBody { + public var updateWasCancelled: Swift.Bool { + get + } +} +public protocol AttributeBodyVisitor { + mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody +} +public struct _External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph._External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph._External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +public struct External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { + public var identifier: AttributeGraph.AnyAttribute + public init(source: AttributeGraph.Attribute) + public var source: AttributeGraph.Attribute { + get + nonmutating set + } + public var attribute: AttributeGraph.Attribute { + get + } + public func resetSource() + public var dependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public var value: Value { + get + nonmutating set + nonmutating _modify + } + public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public var wrappedValue: Value { + get + nonmutating set + nonmutating _modify + } + public var projectedValue: AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } +} +extension AttributeGraph.IndirectAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.IndirectAttribute, rhs: AttributeGraph.IndirectAttribute) -> Swift.Bool +} +extension AttributeGraph.IndirectAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol ObservedAttribute : AttributeGraph._AttributeBody { + mutating func destroy() +} +extension AttributeGraph.ObservedAttribute { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } +} +public struct AnyOptionalAttribute { + public static var current: AttributeGraph.AnyOptionalAttribute { + get + } + public var identifier: AttributeGraph.AnyAttribute + public init() + public init(_ weakAttribute: AttributeGraph.AnyWeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public init(_ attribute: AttributeGraph.AnyAttribute) + public init(_ optionalAttribute: AttributeGraph.OptionalAttribute) + public func unsafeCast(to _: Value.Type) -> AttributeGraph.OptionalAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } + public func map(_ transform: (AttributeGraph.AnyAttribute) -> T) -> T? +} +extension AttributeGraph.AnyOptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyOptionalAttribute, rhs: AttributeGraph.AnyOptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { + public var base: AttributeGraph.AnyOptionalAttribute + public init(base: AttributeGraph.AnyOptionalAttribute) + public init() + public init(_ weakAttribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var value: Value? { + get + } + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.OptionalAttribute, rhs: AttributeGraph.OptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.OptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct PointerOffset { + public var byteOffset: Swift.Int + public init(byteOffset: Swift.Int) + public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset + public static func offset(_ body: (inout Base) -> AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset + public static func invalidScenePointer() -> Swift.UnsafeMutablePointer +} +extension AttributeGraph.PointerOffset where Base == Member { + public init() +} +extension AttributeGraph.PointerOffset { + public static func + (lhs: AttributeGraph.PointerOffset, rhs: AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset +} +extension Swift.UnsafePointer { + public static func + (lhs: Swift.UnsafePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafePointer + public subscript(offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + } +} +extension Swift.UnsafeMutablePointer { + public static func + (lhs: Swift.UnsafeMutablePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafeMutablePointer + public subscript(offset offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + unsafeMutableAddress + } +} +public struct Focus { + public var root: AttributeGraph.Attribute + public var keyPath: Swift.KeyPath + public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) +} +extension AttributeGraph.Focus : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Focus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public struct Map { + public var arg: AttributeGraph.Attribute + public var body: (Arg) -> Value + public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) +} +extension AttributeGraph.Map : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Map : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public protocol Rule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + var value: Self.Value { get } +} +extension AttributeGraph.Rule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ self: Swift.UnsafeMutableRawPointer) + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.Rule { + public var bodyChanged: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +extension AttributeGraph.Rule where Self : Swift.Hashable { + public func cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value + public func cachedValueIfExists(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value? + public static func _cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?, hashValue: Swift.Int, bodyPtr: Swift.UnsafeRawPointer, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) -> Swift.UnsafePointer +} +public protocol StatefulRule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + mutating func updateValue() +} +extension AttributeGraph.StatefulRule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) +} +extension AttributeGraph.StatefulRule { + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) + public var bodyChanged: Swift.Bool { + get + } + public var value: Self.Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +public struct AnyRuleContext { + public var attribute: AttributeGraph.AnyAttribute + public init(attribute: AttributeGraph.AnyAttribute) + public init(_ ruleContext: AttributeGraph.RuleContext) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext + public func update(body: () -> Swift.Void) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(attribute: AttributeGraph.Attribute) -> Value { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> Value? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> Value? { + get + } +} +extension AttributeGraph.AnyRuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool +} +public struct RuleContext { + public var attribute: AttributeGraph.Attribute + public init(attribute: AttributeGraph.Attribute) + public func update(body: () -> Swift.Void) + public var value: Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(input: AttributeGraph.Attribute) -> InputValue { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> T? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> T? { + get + } +} +extension AttributeGraph.RuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.RuleContext, rhs: AttributeGraph.RuleContext) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute { + public init(_ attribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.WeakAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyWeakAttribute, rhs: AttributeGraph.AnyWeakAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { + public var base: AttributeGraph.AnyWeakAttribute + public init(base: AttributeGraph.AnyWeakAttribute) + public init() + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public var value: Value? { + get + } + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.WeakAttribute, rhs: AttributeGraph.WeakAttribute) -> Swift.Bool +} +extension AttributeGraph.WeakAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_silgen_name("IAGGraphSetOutputValue") +@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +extension AttributeGraph.Graph { + @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { + IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + } + @_transparent @inline(__always) public var mainUpdates: Swift.Int { + @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } + } +} +extension AttributeGraph.Graph { + @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { + return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + } +} +extension AttributeGraph.Graph { + public func onUpdate(_ handler: @escaping () -> Swift.Void) + public func onInvalidation(_ handler: @escaping (AttributeGraph.AnyAttribute) -> Swift.Void) + public func withDeadline(_ deadline: Swift.UInt64, _ body: () -> T) -> T + public static func withoutUpdate(_ body: () -> T) -> T + public func withoutSubgraphInvalidation(_ body: () -> T) -> T + public func withMainThreadHandler(_ mainThreadHandler: (() -> Swift.Void) -> Swift.Void, do body: () -> Swift.Void) +} +extension AttributeGraph.Graph { + public static func startProfiling(_ graph: AttributeGraph.Graph?) + public static func stopProfiling(_ graph: AttributeGraph.Graph?) + public static func markProfile(name: Swift.UnsafePointer) + public static func resetProfile() +} +extension AttributeGraph.Graph { + public func addTraceEvent(_ event: Swift.UnsafePointer, value: T) + public func addTraceEvent(_ event: Swift.UnsafePointer, context: Swift.UnsafePointer) +} +extension AttributeGraph.Graph { + public func print(includeValues: Swift.Bool) + public func archiveJSON(name: Swift.String?) + public func graphvizDescription(includeValues: Swift.Bool) -> Swift.String + public static func printStack(maxFrames: Swift.Int) + public static func stackDescription(maxFrames: Swift.Int) -> Swift.String +} +extension AttributeGraph.Graph : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool +} +extension AttributeGraph.Subgraph { + public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int +} +extension AttributeGraph.Subgraph { + public func apply(_ body: () -> T) -> T + public func forEach(_ flags: AttributeGraph.Subgraph.Flags, _ body: (AttributeGraph.AnyAttribute) -> Swift.Void) +} +extension AttributeGraph.Subgraph { + public static func beginTreeElement(value: AttributeGraph.Attribute, flags: Swift.UInt32) + public static func endTreeElement(value: AttributeGraph.Attribute) + public static func addTreeValue(_ value: AttributeGraph.Attribute, forKey key: Swift.UnsafePointer, flags: Swift.UInt32) +} +extension AttributeGraph.TreeElement { + public var value: AttributeGraph.AnyAttribute? { + get + } +} +extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.AnyAttribute + @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + let result = __IAGTreeElementGetNextNode(&self) + return result == .nil ? nil : result + } +} +extension AttributeGraph.Children : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeElement +} +extension AttributeGraph.Values : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeValue +} +extension AttributeGraph.ComparisonOptions { + public init(mode: AttributeGraph.ComparisonMode) +} +public func compareValues(_ lhs: Value, _ rhs: Value, mode: AttributeGraph.ComparisonMode = .equatableAlways) -> Swift.Bool +public func compareValues(_ lhs: Value, _ rhs: Value, options: AttributeGraph.ComparisonOptions) -> Swift.Bool +public func withUnsafePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeRawPointer) -> Swift.Void) -> Swift.Bool +public func withUnsafeMutablePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeMutableRawPointer) -> Swift.Void) -> Swift.Bool +public func forEachField(of type: any Any.Type, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Void) +extension AttributeGraph.Metadata { + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public func forEachField(options: AttributeGraph.Metadata.ApplyOptions, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Bool) -> Swift.Bool +} +extension AttributeGraph.Metadata : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Metadata : @retroactive Swift.Equatable { +} +extension AttributeGraph.Metadata : @retroactive Swift.Hashable { +} +extension AttributeGraph.Signature : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Signature, rhs: AttributeGraph.Signature) -> Swift.Bool +} +public func withUnsafeTuple(of type: AttributeGraph.TupleType, count: Swift.Int, body: (AttributeGraph.UnsafeMutableTuple) -> Swift.Void) +extension AttributeGraph.TupleType { + public init(_ types: [any Any.Type]) + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func type(at index: Swift.Int) -> any Any.Type + public func offset(at index: Swift.Int, as type: T.Type) -> Swift.Int + public func getElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, to destinationValue: Swift.UnsafeMutablePointer, options: AttributeGraph.TupleType.CopyOptions) + public func setElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, from sourceValue: Swift.UnsafePointer, options: AttributeGraph.TupleType.CopyOptions) +} +extension AttributeGraph.UnsafeTuple { + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafePointer + public subscript() -> T { + unsafeAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + } +} +extension AttributeGraph.UnsafeMutableTuple { + public init(with tupleType: AttributeGraph.TupleType) + public func deallocate(initialized: Swift.Bool) + public func initialize(at index: Swift.Int, to element: T) + public func deinitialize() + public func deinitialize(at index: Swift.Int) + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafeMutablePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafeMutablePointer + public subscript() -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } +} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface new file mode 100644 index 0000000..395846a --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface @@ -0,0 +1,712 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.3.2 (swift-6.3.2-RELEASE) +// swift-module-flags: -target x86_64-apple-macos26.5 -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature Extern -module-name AttributeGraph +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +@_exported import AttributeGraph +import Foundation +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +extension AttributeGraph.AnyAttribute { + public static var current: AttributeGraph.AnyAttribute? { + get + } + public init(_ attribute: AttributeGraph.Attribute) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.Attribute + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute + public var indirectDependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public var _bodyType: any Any.Type { + get + } + public var _bodyPointer: Swift.UnsafeRawPointer { + get + } + public var valueType: any Any.Type { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Equatable { +} +extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { +} +extension AttributeGraph.AnyAttribute { + public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue +} +@propertyWrapper @dynamicMemberLookup public struct Attribute { + public var identifier: AttributeGraph.AnyAttribute + public init(identifier: AttributeGraph.AnyAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(value: Value) + public init(type: Value.Type) + public init(body: Swift.UnsafePointer, value: Swift.UnsafePointer?, flags: AttributeGraph._AttributeType.Flags, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) where Body : AttributeGraph._AttributeBody + public var graph: AttributeGraph.Graph { + get + } + public var subgraph: AttributeGraph.Subgraph { + get + } + public var subgraphOrNil: AttributeGraph.Subgraph? { + get + } + public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor + public var flags: AttributeGraph.Subgraph.Flags { + get + nonmutating set + } + public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) + public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute + public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool + public func validate() + public var value: Value { + unsafeAddress + nonmutating set + } + public func setValue(_ value: Value) -> Swift.Bool + public var hasValue: Swift.Bool { + get + } + public var valueState: AttributeGraph.IAGValueState { + get + } + public func prefetchValue() + public func updateValue() + public func invalidateValue() + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public var wrappedValue: Value { + unsafeAddress + nonmutating set + } + public var projectedValue: AttributeGraph.Attribute { + get + set + } + public subscript(offset body: (inout Value) -> AttributeGraph.PointerOffset) -> AttributeGraph.Attribute { + get + } + public subscript(keyPath keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + public func unsafeCast(to type: T.Type) -> AttributeGraph.Attribute + public func unsafeOffset(at offset: Swift.Int, as type: Member.Type) -> AttributeGraph.Attribute +} +extension AttributeGraph.Attribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Attribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool +} +extension AttributeGraph.Attribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +extension AttributeGraph.Attribute { + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.Rule + public init(_ body: Body) where Value == Body.Value, Body : AttributeGraph.StatefulRule + public init(_ body: Body, initialValue: Value) where Value == Body.Value, Body : AttributeGraph.StatefulRule +} +public protocol _AttributeBody { + static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + static var _hasDestroySelf: Swift.Bool { get } + static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + static var comparisonMode: AttributeGraph.ComparisonMode { get } + static var flags: AttributeGraph._AttributeType.Flags { get } +} +extension AttributeGraph._AttributeBody { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph._AttributeBody { + public var updateWasCancelled: Swift.Bool { + get + } +} +public protocol AttributeBodyVisitor { + mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody +} +public struct _External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph._External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph._External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +public struct External { + public init() + public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.External : AttributeGraph._AttributeBody { + public static var comparisonMode: AttributeGraph.ComparisonMode { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.External : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { + public var identifier: AttributeGraph.AnyAttribute + public init(source: AttributeGraph.Attribute) + public var source: AttributeGraph.Attribute { + get + nonmutating set + } + public var attribute: AttributeGraph.Attribute { + get + } + public func resetSource() + public var dependency: AttributeGraph.AnyAttribute? { + get + nonmutating set + } + public var value: Value { + get + nonmutating set + nonmutating _modify + } + public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public var wrappedValue: Value { + get + nonmutating set + nonmutating _modify + } + public var projectedValue: AttributeGraph.Attribute { + get + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } +} +extension AttributeGraph.IndirectAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.IndirectAttribute, rhs: AttributeGraph.IndirectAttribute) -> Swift.Bool +} +extension AttributeGraph.IndirectAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol ObservedAttribute : AttributeGraph._AttributeBody { + mutating func destroy() +} +extension AttributeGraph.ObservedAttribute { + public static func _destroySelf(_ self: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } +} +public struct AnyOptionalAttribute { + public static var current: AttributeGraph.AnyOptionalAttribute { + get + } + public var identifier: AttributeGraph.AnyAttribute + public init() + public init(_ weakAttribute: AttributeGraph.AnyWeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public init(_ attribute: AttributeGraph.AnyAttribute) + public init(_ optionalAttribute: AttributeGraph.OptionalAttribute) + public func unsafeCast(to _: Value.Type) -> AttributeGraph.OptionalAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } + public func map(_ transform: (AttributeGraph.AnyAttribute) -> T) -> T? +} +extension AttributeGraph.AnyOptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyOptionalAttribute, rhs: AttributeGraph.AnyOptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { + public var base: AttributeGraph.AnyOptionalAttribute + public init(base: AttributeGraph.AnyOptionalAttribute) + public init() + public init(_ weakAttribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var value: Value? { + get + } + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.OptionalAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.OptionalAttribute, rhs: AttributeGraph.OptionalAttribute) -> Swift.Bool +} +extension AttributeGraph.OptionalAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct PointerOffset { + public var byteOffset: Swift.Int + public init(byteOffset: Swift.Int) + public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset + public static func offset(_ body: (inout Base) -> AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset + public static func invalidScenePointer() -> Swift.UnsafeMutablePointer +} +extension AttributeGraph.PointerOffset where Base == Member { + public init() +} +extension AttributeGraph.PointerOffset { + public static func + (lhs: AttributeGraph.PointerOffset, rhs: AttributeGraph.PointerOffset) -> AttributeGraph.PointerOffset +} +extension Swift.UnsafePointer { + public static func + (lhs: Swift.UnsafePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafePointer + public subscript(offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + } +} +extension Swift.UnsafeMutablePointer { + public static func + (lhs: Swift.UnsafeMutablePointer, rhs: AttributeGraph.PointerOffset) -> Swift.UnsafeMutablePointer + public subscript(offset offset: AttributeGraph.PointerOffset) -> Member { + unsafeAddress + unsafeMutableAddress + } +} +public struct Focus { + public var root: AttributeGraph.Attribute + public var keyPath: Swift.KeyPath + public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) +} +extension AttributeGraph.Focus : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Focus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public struct Map { + public var arg: AttributeGraph.Attribute + public var body: (Arg) -> Value + public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) +} +extension AttributeGraph.Map : AttributeGraph.Rule { + public var value: Value { + get + } + public static var flags: AttributeGraph._AttributeType.Flags { + get + } +} +extension AttributeGraph.Map : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +public protocol Rule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + var value: Self.Value { get } +} +extension AttributeGraph.Rule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ self: Swift.UnsafeMutableRawPointer) + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) +} +extension AttributeGraph.Rule { + public var bodyChanged: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +extension AttributeGraph.Rule where Self : Swift.Hashable { + public func cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value + public func cachedValueIfExists(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?) -> Self.Value? + public static func _cachedValue(options: AttributeGraph.CachedValueOptions, owner: AttributeGraph.AnyAttribute?, hashValue: Swift.Int, bodyPtr: Swift.UnsafeRawPointer, update: () -> (Swift.UnsafeMutableRawPointer, AttributeGraph.AnyAttribute) -> Swift.Void) -> Swift.UnsafePointer +} +public protocol StatefulRule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + mutating func updateValue() +} +extension AttributeGraph.StatefulRule { + public static var initialValue: Self.Value? { + get + } + public static func _updateDefault(_ default: Swift.UnsafeMutableRawPointer) +} +extension AttributeGraph.StatefulRule { + public static func _update(_ self: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) + public var bodyChanged: Swift.Bool { + get + } + public var value: Self.Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public var attribute: AttributeGraph.Attribute { + get + } + public var context: AttributeGraph.RuleContext { + get + } +} +public struct AnyRuleContext { + public var attribute: AttributeGraph.AnyAttribute + public init(attribute: AttributeGraph.AnyAttribute) + public init(_ ruleContext: AttributeGraph.RuleContext) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext + public func update(body: () -> Swift.Void) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(attribute: AttributeGraph.Attribute) -> Value { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> Value? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> Value? { + get + } +} +extension AttributeGraph.AnyRuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool +} +public struct RuleContext { + public var attribute: AttributeGraph.Attribute + public init(attribute: AttributeGraph.Attribute) + public func update(body: () -> Swift.Void) + public var value: Value { + unsafeAddress + nonmutating set + } + public var hasValue: Swift.Bool { + get + } + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public subscript(input: AttributeGraph.Attribute) -> InputValue { + unsafeAddress + } + public subscript(weakInput: AttributeGraph.WeakAttribute) -> T? { + get + } + public subscript(optionalInput: AttributeGraph.OptionalAttribute) -> T? { + get + } +} +extension AttributeGraph.RuleContext : Swift.Equatable { + public static func == (lhs: AttributeGraph.RuleContext, rhs: AttributeGraph.RuleContext) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute { + public init(_ attribute: AttributeGraph.WeakAttribute) + public init(_ attribute: AttributeGraph.AnyAttribute?) + public func unsafeCast(to type: Value.Type) -> AttributeGraph.WeakAttribute + public var attribute: AttributeGraph.AnyAttribute? { + get + set + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.AnyWeakAttribute, rhs: AttributeGraph.AnyWeakAttribute) -> Swift.Bool +} +extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { + public var base: AttributeGraph.AnyWeakAttribute + public init(base: AttributeGraph.AnyWeakAttribute) + public init() + public init(_ attribute: AttributeGraph.Attribute) + public init(_ attribute: AttributeGraph.Attribute?) + public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public var value: Value? { + get + } + public var attribute: AttributeGraph.Attribute? { + get + set + } + public var wrappedValue: Value? { + get + } + public var projectedValue: AttributeGraph.Attribute? { + get + set + _modify + } + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute? { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.WeakAttribute : Swift.Equatable { + public static func == (lhs: AttributeGraph.WeakAttribute, rhs: AttributeGraph.WeakAttribute) -> Swift.Bool +} +extension AttributeGraph.WeakAttribute : Swift.Hashable { + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_silgen_name("IAGGraphSetOutputValue") +@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +extension AttributeGraph.Graph { + @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { + IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + } + @_transparent @inline(__always) public var mainUpdates: Swift.Int { + @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } + } +} +extension AttributeGraph.Graph { + @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { + return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + } +} +extension AttributeGraph.Graph { + public func onUpdate(_ handler: @escaping () -> Swift.Void) + public func onInvalidation(_ handler: @escaping (AttributeGraph.AnyAttribute) -> Swift.Void) + public func withDeadline(_ deadline: Swift.UInt64, _ body: () -> T) -> T + public static func withoutUpdate(_ body: () -> T) -> T + public func withoutSubgraphInvalidation(_ body: () -> T) -> T + public func withMainThreadHandler(_ mainThreadHandler: (() -> Swift.Void) -> Swift.Void, do body: () -> Swift.Void) +} +extension AttributeGraph.Graph { + public static func startProfiling(_ graph: AttributeGraph.Graph?) + public static func stopProfiling(_ graph: AttributeGraph.Graph?) + public static func markProfile(name: Swift.UnsafePointer) + public static func resetProfile() +} +extension AttributeGraph.Graph { + public func addTraceEvent(_ event: Swift.UnsafePointer, value: T) + public func addTraceEvent(_ event: Swift.UnsafePointer, context: Swift.UnsafePointer) +} +extension AttributeGraph.Graph { + public func print(includeValues: Swift.Bool) + public func archiveJSON(name: Swift.String?) + public func graphvizDescription(includeValues: Swift.Bool) -> Swift.String + public static func printStack(maxFrames: Swift.Int) + public static func stackDescription(maxFrames: Swift.Int) -> Swift.String +} +extension AttributeGraph.Graph : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool +} +extension AttributeGraph.Subgraph { + public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int +} +extension AttributeGraph.Subgraph { + public func apply(_ body: () -> T) -> T + public func forEach(_ flags: AttributeGraph.Subgraph.Flags, _ body: (AttributeGraph.AnyAttribute) -> Swift.Void) +} +extension AttributeGraph.Subgraph { + public static func beginTreeElement(value: AttributeGraph.Attribute, flags: Swift.UInt32) + public static func endTreeElement(value: AttributeGraph.Attribute) + public static func addTreeValue(_ value: AttributeGraph.Attribute, forKey key: Swift.UnsafePointer, flags: Swift.UInt32) +} +extension AttributeGraph.TreeElement { + public var value: AttributeGraph.AnyAttribute? { + get + } +} +extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.AnyAttribute + @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + let result = __IAGTreeElementGetNextNode(&self) + return result == .nil ? nil : result + } +} +extension AttributeGraph.Children : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeElement +} +extension AttributeGraph.Values : @retroactive Swift.IteratorProtocol { + public typealias Element = AttributeGraph.TreeValue +} +extension AttributeGraph.ComparisonOptions { + public init(mode: AttributeGraph.ComparisonMode) +} +public func compareValues(_ lhs: Value, _ rhs: Value, mode: AttributeGraph.ComparisonMode = .equatableAlways) -> Swift.Bool +public func compareValues(_ lhs: Value, _ rhs: Value, options: AttributeGraph.ComparisonOptions) -> Swift.Bool +public func withUnsafePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeRawPointer) -> Swift.Void) -> Swift.Bool +public func withUnsafeMutablePointerToEnumCase(of enumValue: Swift.UnsafeMutablePointer, do body: (Swift.Int, any Any.Type, Swift.UnsafeMutableRawPointer) -> Swift.Void) -> Swift.Bool +public func forEachField(of type: any Any.Type, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Void) +extension AttributeGraph.Metadata { + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public func forEachField(options: AttributeGraph.Metadata.ApplyOptions, do body: (Swift.UnsafePointer, Swift.Int, any Any.Type) -> Swift.Bool) -> Swift.Bool +} +extension AttributeGraph.Metadata : @retroactive Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension AttributeGraph.Metadata : @retroactive Swift.Equatable { +} +extension AttributeGraph.Metadata : @retroactive Swift.Hashable { +} +extension AttributeGraph.Signature : @retroactive Swift.Equatable { + public static func == (lhs: AttributeGraph.Signature, rhs: AttributeGraph.Signature) -> Swift.Bool +} +public func withUnsafeTuple(of type: AttributeGraph.TupleType, count: Swift.Int, body: (AttributeGraph.UnsafeMutableTuple) -> Swift.Void) +extension AttributeGraph.TupleType { + public init(_ types: [any Any.Type]) + public init(_ type: any Any.Type) + public var type: any Any.Type { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func type(at index: Swift.Int) -> any Any.Type + public func offset(at index: Swift.Int, as type: T.Type) -> Swift.Int + public func getElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, to destinationValue: Swift.UnsafeMutablePointer, options: AttributeGraph.TupleType.CopyOptions) + public func setElement(in tupleValue: Swift.UnsafeMutableRawPointer, at index: Swift.Int, from sourceValue: Swift.UnsafePointer, options: AttributeGraph.TupleType.CopyOptions) +} +extension AttributeGraph.UnsafeTuple { + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafePointer + public subscript() -> T { + unsafeAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + } +} +extension AttributeGraph.UnsafeMutableTuple { + public init(with tupleType: AttributeGraph.TupleType) + public func deallocate(initialized: Swift.Bool) + public func initialize(at index: Swift.Int, to element: T) + public func deinitialize() + public func deinitialize(at index: Swift.Int) + public var count: Swift.Int { + get + } + public var isEmpty: Swift.Bool { + get + } + public var indices: Swift.Range { + get + } + public func address(as expectedType: T.Type) -> Swift.UnsafeMutablePointer + public func address(of index: Swift.Int, as elementType: T.Type) -> Swift.UnsafeMutablePointer + public subscript() -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } + public subscript(index: Swift.Int) -> T { + unsafeAddress + nonmutating unsafeMutableAddress + } +} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/module.modulemap b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..d03d607 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,8 @@ +framework module AttributeGraph [system] { + umbrella header "AttributeGraph.h" + + export * + module * { + export * + } +} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Resources/Info.plist b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..87bbacf --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,16 @@ + + + + + CFBundleExecutable + AttributeGraph + CFBundleIdentifier + com.apple.AttributeGraph + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/Current b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/CompatibilityTesting/Package.resolved b/CompatibilityTesting/Package.resolved index d464acd..1cc9ac0 100644 --- a/CompatibilityTesting/Package.resolved +++ b/CompatibilityTesting/Package.resolved @@ -1,15 +1,6 @@ { - "originHash" : "99b9ec1488c0b4ba695beea55b0592bae3ae146eb56306a8661f37dd36b69cad", + "originHash" : "4e6df48bd03b207257fb1b7ef8d5c2d047c8c081361e218ab02a7e681f00eea7", "pins" : [ - { - "identity" : "darwinprivateframeworks", - "kind" : "remoteSourceControl", - "location" : "https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks", - "state" : { - "revision" : "5eb0f26ea5a5bbd5068f6b3daf3a97dd3682b234", - "version" : "0.0.4" - } - }, { "identity" : "semaphore", "kind" : "remoteSourceControl", @@ -36,6 +27,15 @@ "revision" : "0c0290ff6b24942dadb83a929ffaaa1481df04a2", "version" : "1.1.1" } + }, + { + "identity" : "swift-sexp", + "kind" : "remoteSourceControl", + "location" : "https://github.com/jcmosc/swift-sexp", + "state" : { + "branch" : "main", + "revision" : "9b86036edc8ce9b870acba04941d2239d71cd3c0" + } } ], "version" : 3 diff --git a/CompatibilityTesting/Package.swift b/CompatibilityTesting/Package.swift index 34b0949..60c1a34 100644 --- a/CompatibilityTesting/Package.swift +++ b/CompatibilityTesting/Package.swift @@ -1,53 +1,28 @@ -// swift-tools-version: 6.2 +// swift-tools-version: 6.3 import PackageDescription -var dependencies: [Package.Dependency] = [ - .package(name: "Compute", path: ".."), - .package(url: "https://github.com/apple/swift-algorithms", from: "1.2.0"), - .package(url: "https://github.com/groue/Semaphore", from: "0.1.0"), -] - -if let useLocalDepsEnv = Context.environment["COMPUTE_USE_LOCAL_DEPS"], !useLocalDepsEnv.isEmpty { - let root: String - if useLocalDepsEnv == "1" { - root = ".." - } else { - root = useLocalDepsEnv - } - dependencies += - [ - .package( - name: "DarwinPrivateFrameworks", - path: "\(root)/DarwinPrivateFrameworks" - ) - ] -} else { - dependencies += - [ - .package( - url: "https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks", - from: "0.0.4" - ) - ] -} - let package = Package( name: "CompatibilityTesting", platforms: [.macOS(.v26)], - dependencies: dependencies, + dependencies: [ + .package(name: "Compute", path: ".."), + .package(url: "https://github.com/apple/swift-algorithms", from: "1.2.0"), + .package(url: "https://github.com/groue/Semaphore", from: "0.1.0"), + .package(url: "https://github.com/jcmosc/swift-sexp", branch: "main"), + ], targets: [ .target(name: "CompatibilityTesting"), .testTarget( name: "ComputeCompatibilityTests", dependencies: [ + "AttributeGraph", .product(name: "_ComputeTestSupport", package: "Compute"), - .product(name: "AttributeGraph", package: "DarwinPrivateFrameworks"), .product(name: "Algorithms", package: "swift-algorithms"), .product(name: "Semaphore", package: "Semaphore"), + .product(name: "SExp", package: "swift-sexp"), ], swiftSettings: [ - .interoperabilityMode(.Cxx), .enableExperimentalFeature("Extern"), ], linkerSettings: [.linkedLibrary("swiftDemangle")] @@ -55,12 +30,13 @@ let package = Package( .testTarget( name: "ComputeLayoutDescriptorCompatibilityTests", dependencies: [ - .product(name: "AttributeGraph", package: "DarwinPrivateFrameworks") + "AttributeGraph" ], swiftSettings: [ .enableExperimentalFeature("Extern") ], linkerSettings: [.linkedLibrary("swiftDemangle")] ), + .binaryTarget(name: "AttributeGraph", path: "Frameworks/AttributeGraph.xcframework"), ] ) diff --git a/CompatibilityTesting/Scripts/Resources/AttributeGraph.tbd b/CompatibilityTesting/Scripts/Resources/AttributeGraph.tbd new file mode 100644 index 0000000..b6ca59f --- /dev/null +++ b/CompatibilityTesting/Scripts/Resources/AttributeGraph.tbd @@ -0,0 +1,779 @@ +--- !tapi-tbd +tbd-version: 4 +targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos, arm64-maccatalyst, arm64e-maccatalyst ] +install-name: '/System/Library/PrivateFrameworks/AttributeGraph.framework/Versions/A/AttributeGraph' +current-version: 7 +exports: + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos, arm64-maccatalyst, arm64e-maccatalyst ] + symbols: [ _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavM, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph011AnyOptionalA0V10identifierSo11AGAttributeavs, + _$s14AttributeGraph011AnyOptionalA0V10unsafeCast2toAA0dA0VyxGxm_tlF, + _$s14AttributeGraph011AnyOptionalA0V11descriptionSSvg, + _$s14AttributeGraph011AnyOptionalA0V11descriptionSSvpMV, + _$s14AttributeGraph011AnyOptionalA0V2eeoiySbAC_ACtFZ, + _$s14AttributeGraph011AnyOptionalA0V3mapyxSgxSo11AGAttributeaXElF, + _$s14AttributeGraph011AnyOptionalA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph011AnyOptionalA0V7currentACvgZ, + _$s14AttributeGraph011AnyOptionalA0V7currentACvpZMV, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvM, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvg, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvpMV, + _$s14AttributeGraph011AnyOptionalA0V9attributeSo11AGAttributeaSgvs, + _$s14AttributeGraph011AnyOptionalA0V9hashValueSivg, + _$s14AttributeGraph011AnyOptionalA0V9hashValueSivpMV, + _$s14AttributeGraph011AnyOptionalA0VACycfC, + _$s14AttributeGraph011AnyOptionalA0VMa, + _$s14AttributeGraph011AnyOptionalA0VMn, + _$s14AttributeGraph011AnyOptionalA0VN, + _$s14AttributeGraph011AnyOptionalA0VSHAAMc, + _$s14AttributeGraph011AnyOptionalA0VSQAAMc, + _$s14AttributeGraph011AnyOptionalA0Vs23CustomStringConvertibleAAMc, + _$s14AttributeGraph011AnyOptionalA0VyACSo06AGWeakA0acfC, + _$s14AttributeGraph011AnyOptionalA0VyACSo11AGAttributeaSgcfC, + _$s14AttributeGraph011AnyOptionalA0VyACSo11AGAttributeacfC, + _$s14AttributeGraph011AnyOptionalA0VyAcA0dA0VyxGclufC, + _$s14AttributeGraph01_A4BodyMp, + _$s14AttributeGraph01_A4BodyP12_destroySelfyySvFZTj, + _$s14AttributeGraph01_A4BodyP12_destroySelfyySvFZTq, + _$s14AttributeGraph01_A4BodyP14_updateDefaultyySvFZTj, + _$s14AttributeGraph01_A4BodyP14_updateDefaultyySvFZTq, + _$s14AttributeGraph01_A4BodyP14comparisonModeSo012AGComparisonE0VvgZTj, + _$s14AttributeGraph01_A4BodyP14comparisonModeSo012AGComparisonE0VvgZTq, + _$s14AttributeGraph01_A4BodyP15_hasDestroySelfSbvgZTj, + _$s14AttributeGraph01_A4BodyP15_hasDestroySelfSbvgZTq, + _$s14AttributeGraph01_A4BodyP5flagsSo20AGAttributeTypeFlagsVvgZTj, + _$s14AttributeGraph01_A4BodyP5flagsSo20AGAttributeTypeFlagsVvgZTq, + _$s14AttributeGraph01_A4BodyPAAE12_destroySelfyySvFZ, + _$s14AttributeGraph01_A4BodyPAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph01_A4BodyPAAE14comparisonModeSo012AGComparisonE0VvgZ, + _$s14AttributeGraph01_A4BodyPAAE14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph01_A4BodyPAAE15_hasDestroySelfSbvgZ, + _$s14AttributeGraph01_A4BodyPAAE15_hasDestroySelfSbvpZMV, + _$s14AttributeGraph01_A4BodyPAAE18updateWasCancelledSbvpMV, + _$s14AttributeGraph01_A4BodyPAAE5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph01_A4BodyPAAE5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph01_A4BodyTL, + _$s14AttributeGraph04WeakA0V11descriptionSSvg, + _$s14AttributeGraph04WeakA0V11descriptionSSvpMV, + _$s14AttributeGraph04WeakA0V12changedValue7optionsx5value_Sb0D0tSgSo14AGValueOptionsV_tF, + _$s14AttributeGraph04WeakA0V12wrappedValuexSgvg, + _$s14AttributeGraph04WeakA0V12wrappedValuexSgvpMV, + _$s14AttributeGraph04WeakA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph04WeakA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvM, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvg, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvpMV, + _$s14AttributeGraph04WeakA0V14projectedValueAA0A0VyxGSgvs, + _$s14AttributeGraph04WeakA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph04WeakA0V4baseACyxGSo06AGWeakA0a_tcfC, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avM, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avg, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avpMV, + _$s14AttributeGraph04WeakA0V4baseSo06AGWeakA0avs, + _$s14AttributeGraph04WeakA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph04WeakA0V5valuexSgvg, + _$s14AttributeGraph04WeakA0V5valuexSgvpMV, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvM, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvg, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvpMV, + _$s14AttributeGraph04WeakA0V9attributeAA0A0VyxGSgvs, + _$s14AttributeGraph04WeakA0V9hashValueSivg, + _$s14AttributeGraph04WeakA0V9hashValueSivpMV, + _$s14AttributeGraph04WeakA0VACyxGycfC, + _$s14AttributeGraph04WeakA0VMa, + _$s14AttributeGraph04WeakA0VMn, + _$s14AttributeGraph04WeakA0VyACyxGAA0A0VyxGSgcfC, + _$s14AttributeGraph04WeakA0VyACyxGAA0A0VyxGcfC, + _$s14AttributeGraph04WeakA0VyxGSHAAMc, + _$s14AttributeGraph04WeakA0VyxGSQAAMc, + _$s14AttributeGraph04WeakA0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvM, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvg, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvpMV, + _$s14AttributeGraph08IndirectA0V10dependencySo11AGAttributeaSgvs, + _$s14AttributeGraph08IndirectA0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph08IndirectA0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph08IndirectA0V11resetSourceyyF, + _$s14AttributeGraph08IndirectA0V12changedValue7optionsx5value_Sb0D0tSo14AGValueOptionsV_tF, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvM, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvg, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvpMV, + _$s14AttributeGraph08IndirectA0V12wrappedValuexvs, + _$s14AttributeGraph08IndirectA0V13dynamicMemberAA0A0Vyqd__Gs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph08IndirectA0V13dynamicMemberAA0A0Vyqd__Gs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph08IndirectA0V14projectedValueAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V14projectedValueAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph08IndirectA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph08IndirectA0V5valuexvM, + _$s14AttributeGraph08IndirectA0V5valuexvg, + _$s14AttributeGraph08IndirectA0V5valuexvpMV, + _$s14AttributeGraph08IndirectA0V5valuexvs, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvM, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V6sourceAA0A0VyxGvs, + _$s14AttributeGraph08IndirectA0V6sourceACyxGAA0A0VyxG_tcfC, + _$s14AttributeGraph08IndirectA0V9attributeAA0A0VyxGvg, + _$s14AttributeGraph08IndirectA0V9attributeAA0A0VyxGvpMV, + _$s14AttributeGraph08IndirectA0V9hashValueSivg, + _$s14AttributeGraph08IndirectA0V9hashValueSivpMV, + _$s14AttributeGraph08IndirectA0VMa, + _$s14AttributeGraph08IndirectA0VMn, + _$s14AttributeGraph08IndirectA0VyxGSHAAMc, + _$s14AttributeGraph08IndirectA0VyxGSQAAMc, + _$s14AttributeGraph08ObservedA0Mp, + _$s14AttributeGraph08ObservedA0P7destroyyyFTj, + _$s14AttributeGraph08ObservedA0P7destroyyyFTq, + _$s14AttributeGraph08ObservedA0PAA01_A4BodyTb, + _$s14AttributeGraph08ObservedA0PAAE12_destroySelfyySvFZ, + _$s14AttributeGraph08ObservedA0PAAE15_hasDestroySelfSbvgZ, + _$s14AttributeGraph08ObservedA0PAAE15_hasDestroySelfSbvpZMV, + _$s14AttributeGraph08ObservedA0TL, + _$s14AttributeGraph08OptionalA0V11descriptionSSvg, + _$s14AttributeGraph08OptionalA0V11descriptionSSvpMV, + _$s14AttributeGraph08OptionalA0V12changedValue7optionsx5value_Sb0D0tSgSo14AGValueOptionsV_tF, + _$s14AttributeGraph08OptionalA0V12wrappedValuexSgvg, + _$s14AttributeGraph08OptionalA0V12wrappedValuexSgvpMV, + _$s14AttributeGraph08OptionalA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph08OptionalA0V13dynamicMemberAA0A0Vyqd__GSgs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvM, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvg, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvpMV, + _$s14AttributeGraph08OptionalA0V14projectedValueAA0A0VyxGSgvs, + _$s14AttributeGraph08OptionalA0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph08OptionalA0V3mapyqd__Sgqd__AA0A0VyxGXElF, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0VvM, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0Vvg, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0VvpMV, + _$s14AttributeGraph08OptionalA0V4baseAA03AnycA0Vvs, + _$s14AttributeGraph08OptionalA0V4baseACyxGAA03AnycA0V_tcfC, + _$s14AttributeGraph08OptionalA0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph08OptionalA0V5valuexSgvg, + _$s14AttributeGraph08OptionalA0V5valuexSgvpMV, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvM, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvg, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvpMV, + _$s14AttributeGraph08OptionalA0V9attributeAA0A0VyxGSgvs, + _$s14AttributeGraph08OptionalA0V9hashValueSivg, + _$s14AttributeGraph08OptionalA0V9hashValueSivpMV, + _$s14AttributeGraph08OptionalA0VACyxGycfC, + _$s14AttributeGraph08OptionalA0VMa, + _$s14AttributeGraph08OptionalA0VMn, + _$s14AttributeGraph08OptionalA0VyACyxGAA04WeakA0VyxGcfC, + _$s14AttributeGraph08OptionalA0VyACyxGAA0A0VyxGSgcfC, + _$s14AttributeGraph08OptionalA0VyACyxGAA0A0VyxGcfC, + _$s14AttributeGraph08OptionalA0VyxGSHAAMc, + _$s14AttributeGraph08OptionalA0VyxGSQAAMc, + _$s14AttributeGraph08OptionalA0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph0A0V10identifierACyxGSo11AGAttributea_tcfC, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavM, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavg, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavpMV, + _$s14AttributeGraph0A0V10identifierSo11AGAttributeavs, + _$s14AttributeGraph0A0V10mutateBody2as12invalidating_yqd__m_Sbyqd__zXEtlF, + _$s14AttributeGraph0A0V10unsafeCast2toACyqd__Gqd__m_tlF, + _$s14AttributeGraph0A0V10valueStateSo07AGValueD0Vvg, + _$s14AttributeGraph0A0V10valueStateSo07AGValueD0VvpMV, + _$s14AttributeGraph0A0V11descriptionSSvg, + _$s14AttributeGraph0A0V11descriptionSSvpMV, + _$s14AttributeGraph0A0V11updateValueyyF, + _$s14AttributeGraph0A0V12changedValue7optionsx5value_Sb0C0tSo14AGValueOptionsV_tF, + _$s14AttributeGraph0A0V12unsafeOffset2at2asACyqd__GSi_qd__mtlF, + _$s14AttributeGraph0A0V12wrappedValuexvM, + _$s14AttributeGraph0A0V12wrappedValuexvg, + _$s14AttributeGraph0A0V12wrappedValuexvlu, + _$s14AttributeGraph0A0V12wrappedValuexvpMV, + _$s14AttributeGraph0A0V12wrappedValuexvs, + _$s14AttributeGraph0A0V13dynamicMemberACyqd__Gs7KeyPathCyxqd__G_tcluig, + _$s14AttributeGraph0A0V13dynamicMemberACyqd__Gs7KeyPathCyxqd__G_tcluipMV, + _$s14AttributeGraph0A0V13prefetchValueyyF, + _$s14AttributeGraph0A0V13subgraphOrNilSo13AGSubgraphRefaSgvpMV, + _$s14AttributeGraph0A0V13valueAndFlags7optionsx0C0_So014AGChangedValueE0V5flagstSo14AGValueOptionsV_tF, + _$s14AttributeGraph0A0V14projectedValueACyxGvM, + _$s14AttributeGraph0A0V14projectedValueACyxGvg, + _$s14AttributeGraph0A0V14projectedValueACyxGvpMV, + _$s14AttributeGraph0A0V14projectedValueACyxGvs, + _$s14AttributeGraph0A0V15invalidateValueyyF, + _$s14AttributeGraph0A0V18breadthFirstSearch7options_SbSo15AGSearchOptionsV_SbSo11AGAttributeaXEtF, + _$s14AttributeGraph0A0V2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph0A0V4body5value5flags6updateACyxGSPyqd__G_SPyxGSgSo20AGAttributeTypeFlagsVySv_So0G0atcyXEtcAA01_A4BodyRd__lufC, + _$s14AttributeGraph0A0V4hash4intoys6HasherVz_tF, + _$s14AttributeGraph0A0V4typeACyxGxm_tcfC, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvM, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvg, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvpMV, + _$s14AttributeGraph0A0V5flagsSo16AGAttributeFlagsVvs, + _$s14AttributeGraph0A0V5graphSo10AGGraphRefavg, + _$s14AttributeGraph0A0V5graphSo10AGGraphRefavpMV, + _$s14AttributeGraph0A0V5valueACyxGx_tcfC, + _$s14AttributeGraph0A0V5valuexvM, + _$s14AttributeGraph0A0V5valuexvg, + _$s14AttributeGraph0A0V5valuexvlu, + _$s14AttributeGraph0A0V5valuexvpMV, + _$s14AttributeGraph0A0V5valuexvs, + _$s14AttributeGraph0A0V6offsetACyqd__GAA13PointerOffsetVyxqd__GxzXE_tcluig, + _$s14AttributeGraph0A0V7keyPathACyqd__Gs03KeyD0Cyxqd__G_tcluig, + _$s14AttributeGraph0A0V7keyPathACyqd__Gs03KeyD0Cyxqd__G_tcluipMV, + _$s14AttributeGraph0A0V8addInput_7options5tokenyACyqd__G_So14AGInputOptionsVSitlF, + _$s14AttributeGraph0A0V8addInput_7options5tokenySo11AGAttributea_So14AGInputOptionsVSitF, + _$s14AttributeGraph0A0V8applying6offsetACyqd__GAA13PointerOffsetVyxqd__G_tlF, + _$s14AttributeGraph0A0V8hasValueSbvg, + _$s14AttributeGraph0A0V8hasValueSbvpMV, + _$s14AttributeGraph0A0V8setFlags_4maskySo011AGAttributeD0V_AGtF, + _$s14AttributeGraph0A0V8setValueySbxF, + _$s14AttributeGraph0A0V8subgraphSo13AGSubgraphRefavg, + _$s14AttributeGraph0A0V8subgraphSo13AGSubgraphRefavpMV, + _$s14AttributeGraph0A0V8validateyyF, + _$s14AttributeGraph0A0V9hashValueSivg, + _$s14AttributeGraph0A0V9hashValueSivpMV, + _$s14AttributeGraph0A0V9visitBodyyyqd__zAA0aD7VisitorRd__lF, + _$s14AttributeGraph0A0VMa, + _$s14AttributeGraph0A0VMn, + _$s14AttributeGraph0A0V_12initialValueACyxGqd___xtc0D0Qyd__RszAA12StatefulRuleRd__lufC, + _$s14AttributeGraph0A0V_12initialValueACyxGqd___xtc0D0Qyd__RszAA4RuleRd__lufC, + _$s14AttributeGraph0A0VyACyxGADcfC, + _$s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA12StatefulRuleRd__lufC, + _$s14AttributeGraph0A0VyACyxGqd__c5ValueQyd__RszAA4RuleRd__lufC, + _$s14AttributeGraph0A0VyxGSHAAMc, + _$s14AttributeGraph0A0VyxGSQAAMc, + _$s14AttributeGraph0A0VyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph0A11BodyVisitorMp, + _$s14AttributeGraph0A11BodyVisitorP5visit4bodyySPyqd__G_tAA01_aC0Rd__lFTj, + _$s14AttributeGraph0A11BodyVisitorP5visit4bodyySPyqd__G_tAA01_aC0Rd__lFTq, + _$s14AttributeGraph0A11BodyVisitorTL, + _$s14AttributeGraph11RuleContextV12changedValue2of7optionsqd__5value_Sb0E0tAA0A0Vyqd__G_So14AGValueOptionsVtlF, + _$s14AttributeGraph11RuleContextV13valueAndFlags2of7optionsqd__0E0_So014AGChangedValueG0V5flagstAA0A0Vyqd__G_So14AGValueOptionsVtlF, + _$s14AttributeGraph11RuleContextV2eeoiySbACyxG_AEtFZ, + _$s14AttributeGraph11RuleContextV5valuexvM, + _$s14AttributeGraph11RuleContextV5valuexvg, + _$s14AttributeGraph11RuleContextV5valuexvlu, + _$s14AttributeGraph11RuleContextV5valuexvpMV, + _$s14AttributeGraph11RuleContextV5valuexvs, + _$s14AttributeGraph11RuleContextV6update4bodyyyyXE_tF, + _$s14AttributeGraph11RuleContextV8hasValueSbvg, + _$s14AttributeGraph11RuleContextV8hasValueSbvpMV, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvM, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvg, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvpMV, + _$s14AttributeGraph11RuleContextV9attributeAA0A0VyxGvs, + _$s14AttributeGraph11RuleContextV9attributeACyxGAA0A0VyxG_tcfC, + _$s14AttributeGraph11RuleContextVMa, + _$s14AttributeGraph11RuleContextVMn, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__Gcluilu, + _$s14AttributeGraph11RuleContextVyqd__AA0A0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyqd__SgAA04WeakA0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__SgAA04WeakA0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyqd__SgAA08OptionalA0Vyqd__Gcluig, + _$s14AttributeGraph11RuleContextVyqd__SgAA08OptionalA0Vyqd__GcluipMV, + _$s14AttributeGraph11RuleContextVyxGSQAAMc, + _$s14AttributeGraph12StatefulRuleMp, + _$s14AttributeGraph12StatefulRuleP11updateValueyyFTj, + _$s14AttributeGraph12StatefulRuleP11updateValueyyFTq, + _$s14AttributeGraph12StatefulRuleP12initialValue0F0QzSgvgZTj, + _$s14AttributeGraph12StatefulRuleP12initialValue0F0QzSgvgZTq, + _$s14AttributeGraph12StatefulRulePAA01_A4BodyTb, + _$s14AttributeGraph12StatefulRulePAAE11bodyChangedSbvpMV, + _$s14AttributeGraph12StatefulRulePAAE12initialValue0F0QzSgvgZ, + _$s14AttributeGraph12StatefulRulePAAE12initialValue0F0QzSgvpZMV, + _$s14AttributeGraph12StatefulRulePAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvM, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvg, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvlu, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvpMV, + _$s14AttributeGraph12StatefulRulePAAE5value5ValueQzvs, + _$s14AttributeGraph12StatefulRulePAAE7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph12StatefulRulePAAE7contextAA0D7ContextVy5ValueQzGvg, + _$s14AttributeGraph12StatefulRulePAAE7contextAA0D7ContextVy5ValueQzGvpMV, + _$s14AttributeGraph12StatefulRulePAAE8hasValueSbvg, + _$s14AttributeGraph12StatefulRulePAAE8hasValueSbvpMV, + _$s14AttributeGraph12StatefulRulePAAE9attributeAA0A0Vy5ValueQzGvg, + _$s14AttributeGraph12StatefulRulePAAE9attributeAA0A0Vy5ValueQzGvpMV, + _$s14AttributeGraph12StatefulRuleTL, + _$s14AttributeGraph12forEachField2of2doyypXp_ySPys4Int8VG_SiypXptXEtF, + _$s14AttributeGraph13PointerOffsetV012invalidSceneC0SpyxGyFZ, + _$s14AttributeGraph13PointerOffsetV04byteD0ACyxq_GSi_tcfC, + _$s14AttributeGraph13PointerOffsetV04byteD0SivM, + _$s14AttributeGraph13PointerOffsetV04byteD0Sivg, + _$s14AttributeGraph13PointerOffsetV04byteD0SivpMV, + _$s14AttributeGraph13PointerOffsetV04byteD0Sivs, + _$s14AttributeGraph13PointerOffsetV1poiyACyxq_GACyxqd__G_ACyqd__q_GtlFZ, + _$s14AttributeGraph13PointerOffsetV2ofyACyxq_Gq_zFZ, + _$s14AttributeGraph13PointerOffsetV6offsetyACyxq_GAExzXEFZ, + _$s14AttributeGraph13PointerOffsetVAAq_RszrlEACyxxGycfC, + _$s14AttributeGraph13PointerOffsetVMa, + _$s14AttributeGraph13PointerOffsetVMn, + _$s14AttributeGraph13compareValues__4modeSbx_xSo16AGComparisonModeVtlF, + _$s14AttributeGraph13compareValues__7optionsSbx_xSo19AGComparisonOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV10unsafeCast2toAA0dE0VyxGxm_tlF, + _$s14AttributeGraph14AnyRuleContextV12changedValue2of7optionsx5value_Sb0F0tAA0A0VyxG_So14AGValueOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV13valueAndFlags2of7optionsx0F0_So014AGChangedValueH0V5flagstAA0A0VyxG_So14AGValueOptionsVtlF, + _$s14AttributeGraph14AnyRuleContextV2eeoiySbAC_ACtFZ, + _$s14AttributeGraph14AnyRuleContextV6update4bodyyyyXE_tF, + _$s14AttributeGraph14AnyRuleContextV9attributeACSo11AGAttributea_tcfC, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavM, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavg, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavpMV, + _$s14AttributeGraph14AnyRuleContextV9attributeSo11AGAttributeavs, + _$s14AttributeGraph14AnyRuleContextVMa, + _$s14AttributeGraph14AnyRuleContextVMn, + _$s14AttributeGraph14AnyRuleContextVN, + _$s14AttributeGraph14AnyRuleContextVSQAAMc, + _$s14AttributeGraph14AnyRuleContextVyAcA0dE0VyxGclufC, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluilu, + _$s14AttributeGraph14AnyRuleContextVyxAA0A0VyxGcluipMV, + _$s14AttributeGraph14AnyRuleContextVyxSgAA04WeakA0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxSgAA04WeakA0VyxGcluipMV, + _$s14AttributeGraph14AnyRuleContextVyxSgAA08OptionalA0VyxGcluig, + _$s14AttributeGraph14AnyRuleContextVyxSgAA08OptionalA0VyxGcluipMV, + _$s14AttributeGraph15withUnsafeTuple2of5count_ySo11AGTupleTypea_SiySo015AGUnsafeMutableE0aXEtF, + _$s14AttributeGraph27withUnsafePointerToEnumCase2of2doSbSpyxG_ySi_ypXpSVtXEtlF, + _$s14AttributeGraph34withUnsafeMutablePointerToEnumCase2of2doSbSpyxG_ySi_ypXpSvtXEtlF, + _$s14AttributeGraph3MapV11descriptionSSvg, + _$s14AttributeGraph3MapV11descriptionSSvpMV, + _$s14AttributeGraph3MapV3argAA0A0VyxGvM, + _$s14AttributeGraph3MapV3argAA0A0VyxGvg, + _$s14AttributeGraph3MapV3argAA0A0VyxGvpMV, + _$s14AttributeGraph3MapV3argAA0A0VyxGvs, + _$s14AttributeGraph3MapV4bodyyq_xcvg, + _$s14AttributeGraph3MapV4bodyyq_xcvpMV, + _$s14AttributeGraph3MapV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph3MapV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph3MapV5valueq_vg, + _$s14AttributeGraph3MapV5valueq_vpMV, + _$s14AttributeGraph3MapVMa, + _$s14AttributeGraph3MapVMn, + _$s14AttributeGraph3MapVyACyxq_GAA0A0VyxG_q_xctcfC, + _$s14AttributeGraph3MapVyxq_GAA01_A4BodyAAMc, + _$s14AttributeGraph3MapVyxq_GAA01_A4BodyAAWP, + _$s14AttributeGraph3MapVyxq_GAA4RuleAAMc, + _$s14AttributeGraph3MapVyxq_Gs23CustomStringConvertibleAAMc, + _$s14AttributeGraph4RuleMp, + _$s14AttributeGraph4RuleP12initialValue0E0QzSgvgZTj, + _$s14AttributeGraph4RuleP12initialValue0E0QzSgvgZTq, + _$s14AttributeGraph4RuleP5value5ValueQzvgTj, + _$s14AttributeGraph4RuleP5value5ValueQzvgTq, + _$s14AttributeGraph4RulePAA01_A4BodyTb, + _$s14AttributeGraph4RulePAAE11bodyChangedSbvpMV, + _$s14AttributeGraph4RulePAAE12initialValue0E0QzSgvgZ, + _$s14AttributeGraph4RulePAAE12initialValue0E0QzSgvpZMV, + _$s14AttributeGraph4RulePAAE14_updateDefaultyySvFZ, + _$s14AttributeGraph4RulePAAE7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph4RulePAAE7contextAA0C7ContextVy5ValueQzGvg, + _$s14AttributeGraph4RulePAAE7contextAA0C7ContextVy5ValueQzGvpMV, + _$s14AttributeGraph4RulePAAE9attributeAA0A0Vy5ValueQzGvg, + _$s14AttributeGraph4RulePAAE9attributeAA0A0Vy5ValueQzGvpMV, + _$s14AttributeGraph4RulePAASHRzrlE11cachedValue7options5owner0E0ACQzSo08AGCachedE7OptionsV_So11AGAttributeaSgtF, + _$s14AttributeGraph4RulePAASHRzrlE12_cachedValue7options5owner04hashE07bodyPtr6updateSPy0E0ACQzGSo08AGCachedE7OptionsV_So11AGAttributeaSgSiSVySv_APtcyXEtFZ, + _$s14AttributeGraph4RulePAASHRzrlE19cachedValueIfExists7options5owner0E0ACQzSgSo08AGCachedE7OptionsV_So11AGAttributeaSgtF, + _$s14AttributeGraph4RuleTL, + _$s14AttributeGraph5FocusV11descriptionSSvg, + _$s14AttributeGraph5FocusV11descriptionSSvpMV, + _$s14AttributeGraph5FocusV4root7keyPathACyxq_GAA0A0VyxG_s03KeyF0Cyxq_GtcfC, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvM, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvg, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvpMV, + _$s14AttributeGraph5FocusV4rootAA0A0VyxGvs, + _$s14AttributeGraph5FocusV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph5FocusV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph5FocusV5valueq_vg, + _$s14AttributeGraph5FocusV5valueq_vpMV, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_GvM, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_Gvg, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_GvpMV, + _$s14AttributeGraph5FocusV7keyPaths03KeyE0Cyxq_Gvs, + _$s14AttributeGraph5FocusVMa, + _$s14AttributeGraph5FocusVMn, + _$s14AttributeGraph5FocusVyxq_GAA01_A4BodyAAMc, + _$s14AttributeGraph5FocusVyxq_GAA01_A4BodyAAWP, + _$s14AttributeGraph5FocusVyxq_GAA4RuleAAMc, + _$s14AttributeGraph5FocusVyxq_Gs23CustomStringConvertibleAAMc, + _$s14AttributeGraph8ExternalV11descriptionSSvg, + _$s14AttributeGraph8ExternalV11descriptionSSvpMV, + _$s14AttributeGraph8ExternalV14comparisonModeSo012AGComparisonE0VvgZ, + _$s14AttributeGraph8ExternalV14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph8ExternalV5flagsSo20AGAttributeTypeFlagsVvgZ, + _$s14AttributeGraph8ExternalV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph8ExternalV7_update_9attributeySv_So11AGAttributeatFZ, + _$s14AttributeGraph8ExternalVACyxGycfC, + _$s14AttributeGraph8ExternalVMa, + _$s14AttributeGraph8ExternalVMn, + _$s14AttributeGraph8ExternalVyxGAA01_A4BodyAAMc, + _$s14AttributeGraph8ExternalVyxGAA01_A4BodyAAWP, + _$s14AttributeGraph8ExternalVyxGs23CustomStringConvertibleAAMc, + _$s14AttributeGraph9_ExternalV11descriptionSSvg, + _$s14AttributeGraph9_ExternalV11descriptionSSvpMV, + _$s14AttributeGraph9_ExternalV14comparisonModeSo012AGComparisonE0VvpZMV, + _$s14AttributeGraph9_ExternalV5flagsSo20AGAttributeTypeFlagsVvpZMV, + _$s14AttributeGraph9_ExternalVAA01_A4BodyAAMc, + _$s14AttributeGraph9_ExternalVAA01_A4BodyAAWP, + _$s14AttributeGraph9_ExternalVMa, + _$s14AttributeGraph9_ExternalVMn, + _$s14AttributeGraph9_ExternalVN, + _$s14AttributeGraph9_ExternalVs23CustomStringConvertibleAAMc, + _$s5Value14AttributeGraph12StatefulRulePTl, + _$s5Value14AttributeGraph4RulePTl, + _$sSP14AttributeGraphE1poiySPyqd__GSPyxG_AA13PointerOffsetVyxqd__GtlFZ, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluig, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluilu, + _$sSP14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluipMV, + _$sSo10AGGraphRefa14AttributeGraphE10printStack9maxFramesySi_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE11archiveJSON4nameySSSg_tF, + _$sSo10AGGraphRefa14AttributeGraphE11markProfile4nameySPys4Int8VG_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE12resetProfileyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE12withDeadlineyxs6UInt64V_xyXEtlF, + _$sSo10AGGraphRefa14AttributeGraphE13addTraceEvent_5valueySPys4Int8VG_xtlF, + _$sSo10AGGraphRefa14AttributeGraphE13addTraceEvent_7contextySPys4Int8VG_SPyxGtlF, + _$sSo10AGGraphRefa14AttributeGraphE13stopProfilingyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE13withoutUpdateyxxyXElFZ, + _$sSo10AGGraphRefa14AttributeGraphE14onInvalidationyyySo11AGAttributeacF, + _$sSo10AGGraphRefa14AttributeGraphE14startProfilingyyFZ, + _$sSo10AGGraphRefa14AttributeGraphE16stackDescription9maxFramesSSSi_tFZ, + _$sSo10AGGraphRefa14AttributeGraphE19graphvizDescription13includeValuesSSSb_tF, + _$sSo10AGGraphRefa14AttributeGraphE21withMainThreadHandler_2doyyyyXEXE_yyXEtF, + _$sSo10AGGraphRefa14AttributeGraphE27withoutSubgraphInvalidationyxxyXElF, + _$sSo10AGGraphRefa14AttributeGraphE5print13includeValuesySb_tF, + _$sSo10AGGraphRefa14AttributeGraphE8onUpdateyyyycF, + _$sSo10AGGraphRefa14AttributeGraphE9tracePathSSSgvpZMV, + _$sSo10AGGraphRefaSQ14AttributeGraphMc, + _$sSo11AGAttributea14AttributeGraphE10mutateBody2as12invalidating_yxm_SbyxzXEtlF, + _$sSo11AGAttributea14AttributeGraphE10unsafeCast2toAC0B0VyxGxm_tlF, + _$sSo11AGAttributea14AttributeGraphE11descriptionSSvg, + _$sSo11AGAttributea14AttributeGraphE11descriptionSSvpMV, + _$sSo11AGAttributea14AttributeGraphE12_bodyPointerSVvg, + _$sSo11AGAttributea14AttributeGraphE12_bodyPointerSVvpMV, + _$sSo11AGAttributea14AttributeGraphE12unsafeOffset2atABSi_tF, + _$sSo11AGAttributea14AttributeGraphE18breadthFirstSearch7options_SbSo15AGSearchOptionsV_SbABXEtF, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvM, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvg, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvpMV, + _$sSo11AGAttributea14AttributeGraphE18indirectDependencyABSgvs, + _$sSo11AGAttributea14AttributeGraphE2eeoiySbAB_ABtFZ, + _$sSo11AGAttributea14AttributeGraphE4hash4intoys6HasherVz_tF, + _$sSo11AGAttributea14AttributeGraphE7currentABSgvgZ, + _$sSo11AGAttributea14AttributeGraphE7currentABSgvpZMV, + _$sSo11AGAttributea14AttributeGraphE8addInput_7options5tokenyAB_So14AGInputOptionsVSitF, + _$sSo11AGAttributea14AttributeGraphE8addInput_7options5tokenyAC0B0VyxG_So14AGInputOptionsVSitlF, + _$sSo11AGAttributea14AttributeGraphE8setFlags_4maskySo0aE0V_AGtF, + _$sSo11AGAttributea14AttributeGraphE9_bodyTypeypXpvg, + _$sSo11AGAttributea14AttributeGraphE9_bodyTypeypXpvpMV, + _$sSo11AGAttributea14AttributeGraphE9valueTypeypXpvg, + _$sSo11AGAttributea14AttributeGraphE9valueTypeypXpvpMV, + _$sSo11AGAttributea14AttributeGraphE9visitBodyyyxzAC0bE7VisitorRzlF, + _$sSo11AGAttributea14AttributeGraphEyAbC0B0VyxGclufC, + _$sSo11AGAttributeaSH14AttributeGraphMc, + _$sSo11AGAttributeas23CustomStringConvertible14AttributeGraphMc, + _$sSo11AGTupleTypea14AttributeGraphE10getElement2in2at2to7optionsySv_SiSpyxGSo0A11CopyOptionsVtlF, + _$sSo11AGTupleTypea14AttributeGraphE10setElement2in2at4from7optionsySv_SiSPyxGSo0A11CopyOptionsVtlF, + _$sSo11AGTupleTypea14AttributeGraphE4type2atypXpSi_tF, + _$sSo11AGTupleTypea14AttributeGraphE4typeypXpvg, + _$sSo11AGTupleTypea14AttributeGraphE4typeypXpvpMV, + _$sSo11AGTupleTypea14AttributeGraphE6offset2at2asS2i_xmtlF, + _$sSo11AGTupleTypea14AttributeGraphE7indicesSnySiGvg, + _$sSo11AGTupleTypea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo11AGTupleTypea14AttributeGraphE7isEmptySbvg, + _$sSo11AGTupleTypea14AttributeGraphE7isEmptySbvpMV, + _$sSo11AGTupleTypea14AttributeGraphEyABSayypXpGcfC, + _$sSo11AGTupleTypea14AttributeGraphEyABypXpcfC, + _$sSo13AGSubgraphRefa14AttributeGraphE11addObserverySiyycF, + _$sSo13AGSubgraphRefa14AttributeGraphE12addTreeValue_6forKey5flagsyAC0C0VyxG_SPys4Int8VGs6UInt32VtlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE14endTreeElement5valueyAC0C0VyxG_tlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE16beginTreeElement5value5flagsyAC0C0VyxG_s6UInt32VtlFZ, + _$sSo13AGSubgraphRefa14AttributeGraphE5applyyxxyXElF, + _$sSo13AGSubgraphRefa14AttributeGraphE7forEachyySo16AGAttributeFlagsV_ySo0G0aXEtF, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravM, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravg, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravpMV, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenV4baseSo0aB13ChildIteratoravs, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVMa, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVMn, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVN, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVSTACMc, + _$sSo13AGTreeElementa14AttributeGraphE13LocalChildrenVStACMc, + _$sSo13AGTreeElementa14AttributeGraphE13localChildrenAbCE05LocalF0VvpMV, + _$sSo13AGTreeElementa14AttributeGraphE5valueSo11AGAttributeaSgvg, + _$sSo13AGTreeElementa14AttributeGraphE5valueSo11AGAttributeaSgvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE5countSivg, + _$sSo13AGUnsafeTuplea14AttributeGraphE5countSivpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE7address2asSPyxGxm_tlF, + _$sSo13AGUnsafeTuplea14AttributeGraphE7address2of2asSPyxGSi_xmtlF, + _$sSo13AGUnsafeTuplea14AttributeGraphE7indicesSnySiGvg, + _$sSo13AGUnsafeTuplea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphE7isEmptySbvg, + _$sSo13AGUnsafeTuplea14AttributeGraphE7isEmptySbvpMV, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluig, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluilu, + _$sSo13AGUnsafeTuplea14AttributeGraphExycluipMV, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluig, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluilu, + _$sSo13AGUnsafeTuplea14AttributeGraphEyxSicluipMV, + _$sSo15AGTypeSignatureV14AttributeGraphE2eeoiySbAB_ABtFZ, + _$sSo15AGTypeSignatureVSQ14AttributeGraphMc, + _$sSo15AGWeakAttributea0B5GraphE10unsafeCast2toAC04WeakB0VyxGxm_tlF, + _$sSo15AGWeakAttributea0B5GraphE11descriptionSSvg, + _$sSo15AGWeakAttributea0B5GraphE11descriptionSSvpMV, + _$sSo15AGWeakAttributea0B5GraphE2eeoiySbAB_ABtFZ, + _$sSo15AGWeakAttributea0B5GraphE4hash4intoys6HasherVz_tF, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvM, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvg, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvpMV, + _$sSo15AGWeakAttributea0B5GraphE9attributeSo11AGAttributeaSgvs, + _$sSo15AGWeakAttributea0B5GraphE9hashValueSivg, + _$sSo15AGWeakAttributea0B5GraphE9hashValueSivpMV, + _$sSo15AGWeakAttributea0B5GraphEyABSo11AGAttributeaSgcfC, + _$sSo15AGWeakAttributea0B5GraphEyAbC04WeakB0VyxGclufC, + _$sSo15AGWeakAttributeaSH0B5GraphMc, + _$sSo15AGWeakAttributeaSQ0B5GraphMc, + _$sSo15AGWeakAttributeas23CustomStringConvertible0B5GraphMc, + _$sSo19AGComparisonOptionsV14AttributeGraphE4modeABSo0A4ModeV_tcfC, + _$sSo20AGComparisonPrioritya14AttributeGraphE3lowABvpZMV, + _$sSo20AGComparisonPrioritya14AttributeGraphE4highABvpZMV, + _$sSo20AGComparisonPrioritya14AttributeGraphE7defaultABvpZMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE10deallocate11initializedySb_tF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE10initialize2at2toySi_xtlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE12deinitialize2atySi_tF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE12deinitializeyyF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE4withABSo11AGTupleTypea_tcfC, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE5countSivg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE5countSivpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7address2asSpyxGxm_tlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7address2of2asSpyxGSi_xmtlF, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7indicesSnySiGvg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7indicesSnySiGvpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7isEmptySbvg, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphE7isEmptySbvpMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluiM, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluiau, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluig, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluilu, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluipMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphExycluis, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluiM, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluiau, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluig, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluilu, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluipMV, + _$sSo20AGUnsafeMutableTuplea14AttributeGraphEyxSicluis, + _$sSo25AGTreeElementNodeIteratora14AttributeGraphE4nextSo11AGAttributeaSgyF, + _$sSo25AGTreeElementNodeIteratoraST14AttributeGraphMc, + _$sSo25AGTreeElementNodeIteratoraSt14AttributeGraphMc, + _$sSo26AGTreeElementChildIteratoraST14AttributeGraphMc, + _$sSo26AGTreeElementChildIteratoraSt14AttributeGraphMc, + _$sSo26AGTreeElementValueIteratoraST14AttributeGraphMc, + _$sSo26AGTreeElementValueIteratoraSt14AttributeGraphMc, + _$sSo8AGTypeIDa14AttributeGraphE11descriptionSSvg, + _$sSo8AGTypeIDa14AttributeGraphE11descriptionSSvpMV, + _$sSo8AGTypeIDa14AttributeGraphE12forEachField7options2doSbSo0A12ApplyOptionsV_SbSPys4Int8VG_SiypXptXEtF, + _$sSo8AGTypeIDa14AttributeGraphE4typeypXpvg, + _$sSo8AGTypeIDa14AttributeGraphE4typeypXpvpMV, + _$sSo8AGTypeIDa14AttributeGraphEyABypXpcfC, + _$sSo8AGTypeIDaSH14AttributeGraphMc, + _$sSo8AGTypeIDas23CustomStringConvertible14AttributeGraphMc, + _$sSp14AttributeGraphE1poiySpyqd__GSpyxG_AA13PointerOffsetVyxqd__GtlFZ, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluiM, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluiau, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluig, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluilu, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluipMV, + _$sSp14AttributeGraphE6offsetqd__AA13PointerOffsetVyxqd__G_tcluis, + _AGAttributeNil, + _AGAttributeNullType, + _AGAttributeNullVTable, + _AGCompareValues, + _AGComparisonStateGetDestination, + _AGComparisonStateGetFieldRange, + _AGComparisonStateGetFieldType, + _AGComparisonStateGetSource, + _AGCreateWeakAttribute, + _AGDebugServerCopyURL, + _AGDebugServerRun, + _AGDebugServerStart, + _AGDebugServerStop, + _AGDescriptionFormat, + _AGDescriptionIncludeValues, + _AGDescriptionMaxFrames, + _AGDescriptionTruncationLimit, + _AGGraphAddInput, + _AGGraphAddNamedTraceEvent, + _AGGraphAddTrace, + _AGGraphAddTraceEvent, + _AGGraphAnyInputsChanged, + _AGGraphArchiveJSON, + _AGGraphArchiveJSON2, + _AGGraphBeginDeferringSubgraphInvalidation, + _AGGraphBeginProfileEvent, + _AGGraphCancelUpdate, + _AGGraphCancelUpdateIfNeeded, + _AGGraphClearUpdate, + _AGGraphContextGetGraph, + _AGGraphCopyTracePath, + _AGGraphCreate, + _AGGraphCreateAttribute, + _AGGraphCreateIndirectAttribute, + _AGGraphCreateIndirectAttribute2, + _AGGraphCreateIndirectAttribute3, + _AGGraphCreateOffsetAttribute, + _AGGraphCreateOffsetAttribute2, + _AGGraphCreateShared, + _AGGraphCurrentAttributeWasModified, + _AGGraphDescription, + _AGGraphEndDeferringSubgraphInvalidation, + _AGGraphEndProfileEvent, + _AGGraphExternalMallocZone, + _AGGraphGetAttributeGraph, + _AGGraphGetAttributeInfo, + _AGGraphGetAttributeSubgraph, + _AGGraphGetAttributeSubgraph2, + _AGGraphGetContext, + _AGGraphGetCounter, + _AGGraphGetCurrentAttribute, + _AGGraphGetDeadline, + _AGGraphGetFlags, + _AGGraphGetGraphContext, + _AGGraphGetIndirectAttribute, + _AGGraphGetIndirectDependency, + _AGGraphGetInputValue, + _AGGraphGetOutputValue, + _AGGraphGetTraceEventName, + _AGGraphGetTraceEventSubsystem, + _AGGraphGetTypeID, + _AGGraphGetValue, + _AGGraphGetValueState, + _AGGraphGetWeakValue, + _AGGraphHasDeadlinePassed, + _AGGraphHasValue, + _AGGraphInternAttributeType, + _AGGraphInvalidate, + _AGGraphInvalidateAllValues, + _AGGraphInvalidateValue, + _AGGraphIsProfilingEnabled, + _AGGraphIsTracingActive, + _AGGraphMarkProfile, + _AGGraphMutateAttribute, + _AGGraphPrefetchValue, + _AGGraphPrepareTrace, + _AGGraphReadCachedAttribute, + _AGGraphReadCachedAttributeIfExists, + _AGGraphRegisterDependency, + _AGGraphRegisterNamedTraceEvent, + _AGGraphRemoveTrace, + _AGGraphResetIndirectAttribute, + _AGGraphResetProfile, + _AGGraphResetTrace, + _AGGraphSearch, + _AGGraphSetContext, + _AGGraphSetDeadline, + _AGGraphSetFlags, + _AGGraphSetIndirectAttribute, + _AGGraphSetIndirectAttribute2, + _AGGraphSetIndirectDependency, + _AGGraphSetInvalidationCallback, + _AGGraphSetNeedsUpdate, + _AGGraphSetOutputValue, + _AGGraphSetTrace, + _AGGraphSetUpdate, + _AGGraphSetUpdateCallback, + _AGGraphSetValue, + _AGGraphStartProfiling, + _AGGraphStartTracing, + _AGGraphStartTracing2, + _AGGraphStopProfiling, + _AGGraphStopTracing, + _AGGraphSyncTracing, + _AGGraphTraceEventEnabled, + _AGGraphUpdateValue, + _AGGraphUpdateWasCancelled, + _AGGraphVMRegionBaseAddress, + _AGGraphVMRegionMallocZone, + _AGGraphVerifyType, + _AGGraphWithMainThreadHandler, + _AGGraphWithUpdate, + _AGGraphWithoutUpdate, + _AGMakeUniqueID, + _AGMallocZoneGetCurrentSwiftMetadata, + _AGNewTupleType, + _AGOverrideComparisonForTypeDescriptor, + _AGOverrideEqualityForTypeDescriptor, + _AGPrefetchCompareValues, + _AGReleaseClosure, + _AGRetainClosure, + _AGSubgraphAddChild, + _AGSubgraphAddChild2, + _AGSubgraphAddObserver, + _AGSubgraphAddTreeValue, + _AGSubgraphApply, + _AGSubgraphBeginTreeElement, + _AGSubgraphCreate, + _AGSubgraphCreate2, + _AGSubgraphEndTreeElement, + _AGSubgraphGetChild, + _AGSubgraphGetChildCount, + _AGSubgraphGetCurrent, + _AGSubgraphGetCurrentGraphContext, + _AGSubgraphGetGraph, + _AGSubgraphGetIndex, + _AGSubgraphGetParent, + _AGSubgraphGetParentCount, + _AGSubgraphGetTreeRoot, + _AGSubgraphGetTypeID, + _AGSubgraphIntersects, + _AGSubgraphInvalidate, + _AGSubgraphIsAncestor, + _AGSubgraphIsDirty, + _AGSubgraphIsValid, + _AGSubgraphMove, + _AGSubgraphRemoveChild, + _AGSubgraphRemoveObserver, + _AGSubgraphSetCurrent, + _AGSubgraphSetIndex, + _AGSubgraphSetShouldRecordTree, + _AGSubgraphSetTreeOwner, + _AGSubgraphShouldRecordTree, + _AGSubgraphUpdate, + _AGTreeElementGetFlags, + _AGTreeElementGetNextChild, + _AGTreeElementGetNextChild2, + _AGTreeElementGetNextNode, + _AGTreeElementGetNextValue, + _AGTreeElementGetParent, + _AGTreeElementGetType, + _AGTreeElementGetValue, + _AGTreeElementMakeChildIterator, + _AGTreeElementMakeNodeIterator, + _AGTreeElementMakeValueIterator, + _AGTreeValueGetFlags, + _AGTreeValueGetKey, + _AGTreeValueGetType, + _AGTreeValueGetValue, + _AGTupleCount, + _AGTupleDestroy, + _AGTupleDestroyElement, + _AGTupleElementOffset, + _AGTupleElementOffsetChecked, + _AGTupleElementSize, + _AGTupleElementType, + _AGTupleGetElement, + _AGTupleSetElement, + _AGTupleSize, + _AGTupleWithBuffer, + _AGTypeApplyEnumData, + _AGTypeApplyFields, + _AGTypeApplyFields2, + _AGTypeApplyMutableEnumData, + _AGTypeDescription, + _AGTypeGetDescriptor, + _AGTypeGetEnumTag, + _AGTypeGetKind, + _AGTypeGetSignature, + _AGTypeInjectEnumTag, + _AGTypeNominalDescriptor, + _AGTypeNominalDescriptorName, + _AGTypeProjectEnumData, + _AGVersion, + _AGWeakAttributeGetAttribute ] + objc-classes: [ AGAppObserver ] +... diff --git a/CompatibilityTesting/Scripts/update-frameworks.sh b/CompatibilityTesting/Scripts/update-frameworks.sh new file mode 100755 index 0000000..c48b788 --- /dev/null +++ b/CompatibilityTesting/Scripts/update-frameworks.sh @@ -0,0 +1,134 @@ +#!/bin/zsh + +set -e + +SCRIPT_DIR="${0:A:h}" +ROOT_DIR="${SCRIPT_DIR:h:h}" +RESOURCES_DIR="$SCRIPT_DIR/Resources" + +XCFRAMEWORK_DIR="$ROOT_DIR/CompatibilityTesting/Frameworks/AttributeGraph.xcframework" + +swift build --package-path "$ROOT_DIR" --target Compute -c release +BIN_PATH=$(swift build --package-path "$ROOT_DIR" --target Compute -c release --show-bin-path) +SWIFT_INTERFACE_FILE="$BIN_PATH/Modules/Compute.swiftinterface" + +MACOS_VERSION=$(xcrun --sdk macosx --show-sdk-version) +IOS_VERSION=$(xcrun --sdk iphoneos --show-sdk-version) + +copy_info_plist() { + local dest_dir="$1" + + cat > "$dest_dir/Info.plist" << EOF + + + + + CFBundleExecutable + AttributeGraph + CFBundleIdentifier + com.apple.AttributeGraph + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + + +EOF + +} + +copy_headers() { + local dest_dir="$1" + + mkdir -p "$dest_dir" + for src in "$ROOT_DIR"/Sources/ComputeCxx/include/ComputeCxx/*.h; do + local filename=$(basename "$src") + local dest_filename="${filename/ComputeCxx/AttributeGraph}" + dest_filename="${dest_filename/IAG/AG}" + sed \ + -e 's/ComputeCxx/AttributeGraph/g' \ + -e 's/IAG/AG/g' \ + "$src" > "$dest_dir/$dest_filename" + done +} + +copy_modules() { + local dest_dir="$1" + shift + + mkdir -p "$dest_dir" + cat > "$dest_dir/module.modulemap" << EOF +framework module AttributeGraph [system] { + umbrella header "AttributeGraph.h" + + export * + module * { + export * + } +} +EOF + + local swiftmodule_dir="$dest_dir/AttributeGraph.swiftmodule" + mkdir -p "$swiftmodule_dir" + for triple in "$@"; do + local swiftinterface_filename=$(echo "$triple" | sed 's/macos[0-9][0-9.]*/macos/; s/ios[0-9][0-9.]*/ios/') + sed \ + -e "s/-target [^ ]*/-target $triple/" \ + -e 's/ -package-name [^ ]*//' \ + -e 's/ComputeCxx/AttributeGraph/g' \ + -e 's/Compute/AttributeGraph/g' \ + "$SWIFT_INTERFACE_FILE" > "$swiftmodule_dir/${swiftinterface_filename}.swiftinterface" + done +} + +copy_tbd_file() { + local dest_dir="$1" + + cp "$RESOURCES_DIR/AttributeGraph.tbd" "$dest_dir/AttributeGraph.tbd" +} + +update_library() { + local library_identifier="$1" + shift + + local library_path="$XCFRAMEWORK_DIR/$library_identifier/AttributeGraph.framework" + rm -rf "$library_path" + + if [[ "$1" == *-apple-macos* ]]; then + local version_dir="$library_path/Versions/A" + mkdir -p "$version_dir" + mkdir -p "$version_dir/Resources" + + copy_info_plist "$version_dir/Resources" + copy_headers "$version_dir/Headers" + copy_modules "$version_dir/Modules" "$@" + copy_tbd_file "$version_dir" + + ln -s A "$library_path/Versions/Current" + ln -s Versions/Current/Headers "$library_path/Headers" + ln -s Versions/Current/Modules "$library_path/Modules" + ln -s Versions/Current/Resources "$library_path/Resources" + ln -s Versions/Current/AttributeGraph.tbd "$library_path/AttributeGraph.tbd" + else + mkdir -p "$library_path" + + copy_info_plist "$library_path" + copy_headers "$library_path/Headers" + copy_modules "$library_path/Modules" "$@" + copy_tbd_file "$library_path" + fi + + echo "Updated library: $library_identifier" +} + +update_library "macos-arm64_arm64e_x86_64" \ + "arm64-apple-macos${MACOS_VERSION}" \ + "arm64e-apple-macos${MACOS_VERSION}" \ + "x86_64-apple-macos${MACOS_VERSION}" + +update_library "maccatalyst-arm64_arm64e_x86_64" \ + "arm64-apple-ios${IOS_VERSION}-macabi" \ + "arm64e-apple-ios${IOS_VERSION}-macabi" \ + "x86_64-apple-ios${IOS_VERSION}-macabi" From 55f551a8d077ae2c957e9813f2f74dc9ff6dc1b6 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 21:08:37 +0200 Subject: [PATCH 04/18] Add Swift refinement for IAGPrefetchCompareValues --- .../Headers/AGComparison.h | 2 +- .../Versions/A/Headers/AGComparison.h | 2 +- .../include/ComputeCxx/IAGComparison.h | 2 +- .../Shared/PrefetchCompareValuesTests.swift | 273 +++++++++--------- .../Shared/Attribute/AttributeTests.swift | 24 +- 5 files changed, 151 insertions(+), 152 deletions(-) diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGComparison.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGComparison.h index b4469dd..0ad0577 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGComparison.h +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGComparison.h @@ -58,7 +58,7 @@ bool AGCompareValues(const void *_Nonnull destination, const void *_Nonnull sour AG_EXPORT AG_REFINED_FOR_SWIFT const unsigned char *_Nullable AGPrefetchCompareValues(AGTypeID type_id, AGComparisonOptions options, - uint32_t priority); + uint32_t priority) AG_SWIFT_NAME(prefetchCompareValues(type:options:priority:)); AG_EXPORT AG_REFINED_FOR_SWIFT diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGComparison.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGComparison.h index b4469dd..0ad0577 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGComparison.h +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGComparison.h @@ -58,7 +58,7 @@ bool AGCompareValues(const void *_Nonnull destination, const void *_Nonnull sour AG_EXPORT AG_REFINED_FOR_SWIFT const unsigned char *_Nullable AGPrefetchCompareValues(AGTypeID type_id, AGComparisonOptions options, - uint32_t priority); + uint32_t priority) AG_SWIFT_NAME(prefetchCompareValues(type:options:priority:)); AG_EXPORT AG_REFINED_FOR_SWIFT diff --git a/Sources/ComputeCxx/include/ComputeCxx/IAGComparison.h b/Sources/ComputeCxx/include/ComputeCxx/IAGComparison.h index 21c2a76..8b944db 100644 --- a/Sources/ComputeCxx/include/ComputeCxx/IAGComparison.h +++ b/Sources/ComputeCxx/include/ComputeCxx/IAGComparison.h @@ -58,7 +58,7 @@ bool IAGCompareValues(const void *_Nonnull destination, const void *_Nonnull sou IAG_EXPORT IAG_REFINED_FOR_SWIFT const unsigned char *_Nullable IAGPrefetchCompareValues(IAGTypeID type_id, IAGComparisonOptions options, - uint32_t priority); + uint32_t priority) IAG_SWIFT_NAME(prefetchCompareValues(type:options:priority:)); IAG_EXPORT IAG_REFINED_FOR_SWIFT diff --git a/Tests/ComputeLayoutDescriptorTests/Shared/PrefetchCompareValuesTests.swift b/Tests/ComputeLayoutDescriptorTests/Shared/PrefetchCompareValuesTests.swift index 098dc1f..64f054b 100644 --- a/Tests/ComputeLayoutDescriptorTests/Shared/PrefetchCompareValuesTests.swift +++ b/Tests/ComputeLayoutDescriptorTests/Shared/PrefetchCompareValuesTests.swift @@ -27,24 +27,23 @@ extension Optional: @retroactive CustomStringConvertible where Wrapped == ValueL } -func prefetchCompareValues( - of type: Value.Type, - options: ComparisonOptions, - priority: Int -) - -> ValueLayout? -{ - - guard - let layout = __IAGPrefetchCompareValues( - Metadata(type), - options, - UInt32(priority) - ) - else { - return nil +extension ValueLayout { + static func prefetch( + of type: Value.Type, + options: ComparisonOptions, + priority: Int + ) -> ValueLayout? { + guard + let layout = prefetchCompareValues( + type: Metadata(type), + options: options, + priority: UInt32(priority) + ) + else { + return nil + } + return ValueLayout(storage: layout) } - return ValueLayout(storage: layout) } let allOptions: [ComparisonOptions] = [ @@ -64,21 +63,21 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: Never.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == nil) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: Never.self, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == nil) - let layout2 = prefetchCompareValues( + let layout2 = ValueLayout.prefetch( of: Never.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -88,7 +87,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: Never.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -112,7 +111,7 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) for options in allOptions { - let layout = prefetchCompareValues(of: Void.self, options: options, priority: 0) + let layout = ValueLayout.prefetch(of: Void.self, options: options, priority: 0) #expect(layout == .trivial) } } @@ -124,21 +123,21 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: Bool.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: Bool.self, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == .trivial) - let layout2 = prefetchCompareValues( + let layout2 = ValueLayout.prefetch( of: Bool.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -147,7 +146,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: Bool.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -173,21 +172,21 @@ struct PrefetchCompareValuesTests { let types: [Any.Type] = [Int.self, Double.self, Float.self] for type in types { - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: type, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: type, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == .trivial) - let layout2 = prefetchCompareValues( + let layout2 = ValueLayout.prefetch( of: type, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -205,7 +204,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output = "" let layout = await reprintingStandardError(to: &output) { - prefetchCompareValues(of: Int.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0) + ValueLayout.prefetch(of: Int.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0) } #expect(layout != nil) #expect( @@ -227,7 +226,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output = "" let layout = await reprintingStandardError(to: &output) { - prefetchCompareValues( + ValueLayout.prefetch( of: Double.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -253,7 +252,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output = "" let layout = await reprintingStandardError(to: &output) { - prefetchCompareValues( + ValueLayout.prefetch( of: Float.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -277,14 +276,14 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: String.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: String.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -293,7 +292,7 @@ struct PrefetchCompareValuesTests { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: String.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -311,7 +310,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: String.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -335,7 +334,7 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) for options in allOptions { - let layout = prefetchCompareValues(of: StaticString.self, options: options, priority: 0) + let layout = ValueLayout.prefetch(of: StaticString.self, options: options, priority: 0) #expect(layout == .trivial) } } @@ -350,7 +349,7 @@ struct PrefetchCompareValuesTests { func layoutForEmptyStruct(with options: ComparisonOptions) { struct EmptyStruct {} - let layout = prefetchCompareValues(of: EmptyStruct.self, options: options, priority: 0) + let layout = ValueLayout.prefetch(of: EmptyStruct.self, options: options, priority: 0) #expect(layout == nil) } @@ -363,28 +362,28 @@ struct PrefetchCompareValuesTests { var property: Int } - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: StructEnclosingSingleElement.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: StructEnclosingSingleElement.self, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == .trivial) - let layout2 = prefetchCompareValues( + let layout2 = ValueLayout.prefetch( of: StructEnclosingSingleElement.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 ) #expect(layout2 == .trivial) - let innerLayout = prefetchCompareValues( + let innerLayout = ValueLayout.prefetch( of: Int.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -392,7 +391,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructEnclosingSingleElement.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -413,28 +412,28 @@ struct PrefetchCompareValuesTests { var second: Int } - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: TrivialStruct.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: TrivialStruct.self, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == .trivial) - let layout2 = prefetchCompareValues( + let layout2 = ValueLayout.prefetch( of: TrivialStruct.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 ) #expect(layout2 == .trivial) - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: Int.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -442,7 +441,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: TrivialStruct.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -474,7 +473,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output0 = "" let layout0 = await reprintingStandardError(to: &output0) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructWithAlignedElement.self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -496,7 +495,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructWithAlignedElement.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -518,7 +517,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructWithAlignedElement.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -538,12 +537,12 @@ struct PrefetchCompareValuesTests { } await #expect(processExitsWith: .success) { - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: Int8.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 ) - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: Int64.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -551,7 +550,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructWithAlignedElement.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -583,7 +582,7 @@ struct PrefetchCompareValuesTests { } await #expect(processExitsWith: .success) { - let nestedLayout0 = prefetchCompareValues( + let nestedLayout0 = ValueLayout.prefetch( of: ComplexType.self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -591,7 +590,7 @@ struct PrefetchCompareValuesTests { var output0 = "" let layout0 = await reprintingStandardError(to: &output0) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructWithComplexProperty.self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -611,7 +610,7 @@ struct PrefetchCompareValuesTests { } await #expect(processExitsWith: .success) { - let nestedLayout1 = prefetchCompareValues( + let nestedLayout1 = ValueLayout.prefetch( of: ComplexType.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -619,7 +618,7 @@ struct PrefetchCompareValuesTests { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructWithComplexProperty.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -639,7 +638,7 @@ struct PrefetchCompareValuesTests { } await #expect(processExitsWith: .success) { - let nestedLayout2 = prefetchCompareValues( + let nestedLayout2 = ValueLayout.prefetch( of: ComplexType.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -647,7 +646,7 @@ struct PrefetchCompareValuesTests { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructWithComplexProperty.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -667,12 +666,12 @@ struct PrefetchCompareValuesTests { } await #expect(processExitsWith: .success) { - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: Int8.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 ) - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: ComplexType.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -680,7 +679,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: StructWithComplexProperty.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -711,7 +710,7 @@ struct PrefetchCompareValuesTests { class EmptyClass {} - let layout = prefetchCompareValues(of: EmptyClass.self, options: options, priority: 0) + let layout = ValueLayout.prefetch(of: EmptyClass.self, options: options, priority: 0) #expect(layout == nil) } @@ -723,7 +722,7 @@ struct PrefetchCompareValuesTests { var property: Int = 0 } - let layout = prefetchCompareValues(of: TrivialClass.self, options: options, priority: 0) + let layout = ValueLayout.prefetch(of: TrivialClass.self, options: options, priority: 0) #expect(layout == nil) } @@ -738,7 +737,7 @@ struct PrefetchCompareValuesTests { } for options in allOptions { - let layout = prefetchCompareValues(of: StructWithWeakVar.self, options: options, priority: 0) + let layout = ValueLayout.prefetch(of: StructWithWeakVar.self, options: options, priority: 0) #expect(layout == .trivial) } } @@ -755,7 +754,7 @@ struct PrefetchCompareValuesTests { enum EmptyEnum {} - let layout = prefetchCompareValues(of: EmptyEnum.self, options: options, priority: 0) + let layout = ValueLayout.prefetch(of: EmptyEnum.self, options: options, priority: 0) #expect(layout == nil) } @@ -769,21 +768,21 @@ struct PrefetchCompareValuesTests { case second } - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: BasicEnum.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == nil) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: BasicEnum.self, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == nil) - let layout2 = prefetchCompareValues( + let layout2 = ValueLayout.prefetch( of: BasicEnum.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -793,7 +792,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: BasicEnum.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -821,21 +820,21 @@ struct PrefetchCompareValuesTests { case second = 2 } - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: IntEnum.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == nil) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: IntEnum.self, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == nil) - let layout2 = prefetchCompareValues( + let layout2 = ValueLayout.prefetch( of: IntEnum.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -845,7 +844,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: IntEnum.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -877,7 +876,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output0 = "" let layout0 = await reprintingStandardError(to: &output0) { - prefetchCompareValues( + ValueLayout.prefetch( of: TaggedUnionEnum.self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -901,7 +900,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues( + ValueLayout.prefetch( of: TaggedUnionEnum.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -923,7 +922,7 @@ struct PrefetchCompareValuesTests { } await #expect(processExitsWith: .success) { - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: String.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -931,7 +930,7 @@ struct PrefetchCompareValuesTests { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: TaggedUnionEnum.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -953,12 +952,12 @@ struct PrefetchCompareValuesTests { } await #expect(processExitsWith: .success) { - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: Int.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 ) - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: String.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -966,7 +965,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: TaggedUnionEnum.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1001,7 +1000,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output0 = "" let layout0 = await reprintingStandardError(to: &output0) { - prefetchCompareValues( + ValueLayout.prefetch( of: IndirectEnum.self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -1025,7 +1024,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues( + ValueLayout.prefetch( of: IndirectEnum.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -1049,7 +1048,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: IndirectEnum.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1073,7 +1072,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: IndirectEnum.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1116,7 +1115,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output0 = "" let layout0 = await reprintingStandardError(to: &output0) { - prefetchCompareValues( + ValueLayout.prefetch( of: Stack.self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -1138,7 +1137,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues( + ValueLayout.prefetch( of: Stack.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -1160,7 +1159,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: Stack.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1182,7 +1181,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: Stack.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1213,21 +1212,21 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: (Int, String).self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: (Int, String).self, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == .trivial) - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: String.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1235,7 +1234,7 @@ struct PrefetchCompareValuesTests { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: (Int, String).self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1252,12 +1251,12 @@ struct PrefetchCompareValuesTests { """ ) - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: Int.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 ) - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: String.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1265,7 +1264,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: (Int, String).self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1292,7 +1291,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output0 = "" let layout0 = await reprintingStandardError(to: &output0) { - prefetchCompareValues( + ValueLayout.prefetch( of: (Int8, Int64).self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -1314,7 +1313,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues( + ValueLayout.prefetch( of: (Int8, Int64).self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -1336,7 +1335,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: (Int8, Int64).self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1356,12 +1355,12 @@ struct PrefetchCompareValuesTests { } await #expect(processExitsWith: .success) { - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: Int8.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 ) - let _ = prefetchCompareValues( + let _ = ValueLayout.prefetch( of: Int64.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1369,7 +1368,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: (Int8, Int64).self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1400,14 +1399,14 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: Array.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: Array.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -1416,7 +1415,7 @@ struct PrefetchCompareValuesTests { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: Array.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1434,7 +1433,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: Array.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1460,7 +1459,7 @@ struct PrefetchCompareValuesTests { class NotEquatable {} for options in allOptions { - let layout = prefetchCompareValues(of: Array.self, options: options, priority: 0) + let layout = ValueLayout.prefetch(of: Array.self, options: options, priority: 0) #expect(layout == .trivial) } } @@ -1472,14 +1471,14 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: Dictionary.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: Dictionary.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -1488,7 +1487,7 @@ struct PrefetchCompareValuesTests { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: Dictionary.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1506,7 +1505,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: Dictionary.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1532,7 +1531,7 @@ struct PrefetchCompareValuesTests { class NotEquatable {} for options in allOptions { - let layout = prefetchCompareValues( + let layout = ValueLayout.prefetch( of: Dictionary.self, options: options, priority: 0 @@ -1548,14 +1547,14 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: Set.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: Set.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -1564,7 +1563,7 @@ struct PrefetchCompareValuesTests { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: Set.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1582,7 +1581,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: Set.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1618,21 +1617,21 @@ struct PrefetchCompareValuesTests { } } - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: EquatableStruct.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == .trivial) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: EquatableStruct.self, options: ComparisonOptions(mode: .indirect), priority: 0 ) #expect(layout1 == .trivial) - let layout2 = prefetchCompareValues( + let layout2 = ValueLayout.prefetch( of: EquatableStruct.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1641,7 +1640,7 @@ struct PrefetchCompareValuesTests { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: EquatableStruct.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1671,14 +1670,14 @@ struct PrefetchCompareValuesTests { } } - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: EquatableClass.self, options: ComparisonOptions(mode: .bitwise), priority: 0 ) #expect(layout0 == nil) - let layout1 = prefetchCompareValues( + let layout1 = ValueLayout.prefetch( of: EquatableClass.self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -1688,7 +1687,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: EquatableClass.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1708,7 +1707,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: EquatableClass.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1736,13 +1735,13 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues(of: Any.self, options: ComparisonOptions(mode: .bitwise), priority: 0) + let layout0 = ValueLayout.prefetch(of: Any.self, options: ComparisonOptions(mode: .bitwise), priority: 0) #expect(layout0 == nil) await #expect(processExitsWith: .success) { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues(of: Any.self, options: ComparisonOptions(mode: .indirect), priority: 0) + ValueLayout.prefetch(of: Any.self, options: ComparisonOptions(mode: .indirect), priority: 0) } #expect(layout1 != nil) #expect( @@ -1758,7 +1757,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: Any.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1778,7 +1777,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues(of: Any.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0) + ValueLayout.prefetch(of: Any.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0) } #expect(layout3 != nil) #expect( @@ -1797,7 +1796,7 @@ struct PrefetchCompareValuesTests { setenv("IAG_ASYNC_LAYOUTS", "0", 1) setenv("IAG_PRINT_LAYOUTS", "1", 1) - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: (any Error).self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -1807,7 +1806,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues( + ValueLayout.prefetch( of: (any Error).self, options: ComparisonOptions(mode: .indirect), priority: 0 @@ -1827,7 +1826,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: (any Error).self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1847,7 +1846,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: (any Error).self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 @@ -1877,7 +1876,7 @@ struct PrefetchCompareValuesTests { typealias Function = () -> Void - let layout0 = prefetchCompareValues( + let layout0 = ValueLayout.prefetch( of: Function.self, options: ComparisonOptions(mode: .bitwise), priority: 0 @@ -1887,7 +1886,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output1 = "" let layout1 = await reprintingStandardError(to: &output1) { - prefetchCompareValues(of: Function.self, options: ComparisonOptions(mode: .indirect), priority: 0) + ValueLayout.prefetch(of: Function.self, options: ComparisonOptions(mode: .indirect), priority: 0) } #expect(layout1 != nil) #expect( @@ -1904,7 +1903,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output2 = "" let layout2 = await reprintingStandardError(to: &output2) { - prefetchCompareValues( + ValueLayout.prefetch( of: Function.self, options: ComparisonOptions(mode: .equatableUnlessPOD), priority: 0 @@ -1925,7 +1924,7 @@ struct PrefetchCompareValuesTests { await #expect(processExitsWith: .success) { var output3 = "" let layout3 = await reprintingStandardError(to: &output3) { - prefetchCompareValues( + ValueLayout.prefetch( of: Function.self, options: ComparisonOptions(mode: .equatableAlways), priority: 0 diff --git a/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift b/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift index e990313..9f6ec8c 100644 --- a/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift +++ b/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift @@ -27,10 +27,10 @@ struct AttributeTests { let attribute = Attribute(value: 1) #expect(attribute.value == 1) - let expectedlayout = __IAGPrefetchCompareValues( - Metadata(Int.self), - [.comparisonModeEquatableAlways, .fetchLayoutsSynchronously], - 0 + let expectedlayout = prefetchCompareValues( + type: Metadata(Int.self), + options: [.comparisonModeEquatableAlways, .fetchLayoutsSynchronously], + priority: 0 ) let attributeType = attribute.identifier.info.type.pointee @@ -73,10 +73,10 @@ struct AttributeTests { let attribute = Attribute(type: Int.self) - let expectedlayout = __IAGPrefetchCompareValues( - Metadata(Int.self), - [.comparisonModeEquatableAlways, .fetchLayoutsSynchronously], - 0 + let expectedlayout = prefetchCompareValues( + type: Metadata(Int.self), + options: [.comparisonModeEquatableAlways, .fetchLayoutsSynchronously], + priority: 0 ) let attributeType = attribute.identifier.info.type.pointee @@ -132,10 +132,10 @@ struct AttributeTests { } #expect(attribute.value == "test value") - let expectedlayout = __IAGPrefetchCompareValues( - Metadata(String.self), - [.comparisonModeEquatableUnlessPOD, .fetchLayoutsSynchronously], - 0 + let expectedlayout = prefetchCompareValues( + type: Metadata(String.self), + options: [.comparisonModeEquatableUnlessPOD, .fetchLayoutsSynchronously], + priority: 0 ) let attributeType = attribute.identifier.info.type.pointee From 8ed4510fbd87c4b7a025b070b6e2b8df904839ab Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 21:12:04 +0200 Subject: [PATCH 05/18] fixup script --- .../arm64-apple-ios-macabi.swiftinterface | 38 +++++++++---------- .../arm64e-apple-ios-macabi.swiftinterface | 38 +++++++++---------- .../x86_64-apple-ios-macabi.swiftinterface | 38 +++++++++---------- .../arm64-apple-macos.swiftinterface | 38 +++++++++---------- .../arm64e-apple-macos.swiftinterface | 38 +++++++++---------- .../x86_64-apple-macos.swiftinterface | 38 +++++++++---------- .../Scripts/update-frameworks.sh | 1 + 7 files changed, 115 insertions(+), 114 deletions(-) diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface index 2d0ba25..31b14bb 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -17,8 +17,8 @@ extension AttributeGraph.AnyAttribute { public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute public var indirectDependency: AttributeGraph.AnyAttribute? { get @@ -71,8 +71,8 @@ extension AttributeGraph.AnyAttribute { public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool public func validate() public var value: Value { @@ -83,14 +83,14 @@ extension AttributeGraph.AnyAttribute { public var hasValue: Swift.Bool { get } - public var valueState: AttributeGraph.IAGValueState { + public var valueState: AttributeGraph.AGValueState { get } public func prefetchValue() public func updateValue() public func invalidateValue() - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public var wrappedValue: Value { unsafeAddress nonmutating set @@ -213,7 +213,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { nonmutating set nonmutating _modify } - public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func changedValue(options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) public var wrappedValue: Value { get nonmutating set @@ -289,7 +289,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { public var value: Value? { get } - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? public var wrappedValue: Value? { get @@ -443,8 +443,8 @@ public struct AnyRuleContext { public init(_ ruleContext: AttributeGraph.RuleContext) public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext public func update(body: () -> Swift.Void) - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public subscript(attribute: AttributeGraph.Attribute) -> Value { unsafeAddress } @@ -469,8 +469,8 @@ public struct RuleContext { public var hasValue: Swift.Bool { get } - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: InputValue, flags: AttributeGraph.AGChangedValueFlags) public subscript(input: AttributeGraph.Attribute) -> InputValue { unsafeAddress } @@ -513,7 +513,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { public init() public init(_ attribute: AttributeGraph.Attribute) public init(_ attribute: AttributeGraph.Attribute?) - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public var value: Value? { get } @@ -547,11 +547,11 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } -@_silgen_name("IAGGraphSetOutputValue") -@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +@_silgen_name("AGGraphSetOutputValue") +@inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { - IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + AGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) } @_transparent @inline(__always) public var mainUpdates: Swift.Int { @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } @@ -559,7 +559,7 @@ extension AttributeGraph.Graph { } extension AttributeGraph.Graph { @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { - return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + return __AGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) } } extension AttributeGraph.Graph { @@ -610,7 +610,7 @@ extension AttributeGraph.TreeElement { extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { - let result = __IAGTreeElementGetNextNode(&self) + let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } } diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface index bb5df90..313e88a 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface @@ -17,8 +17,8 @@ extension AttributeGraph.AnyAttribute { public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute public var indirectDependency: AttributeGraph.AnyAttribute? { get @@ -71,8 +71,8 @@ extension AttributeGraph.AnyAttribute { public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool public func validate() public var value: Value { @@ -83,14 +83,14 @@ extension AttributeGraph.AnyAttribute { public var hasValue: Swift.Bool { get } - public var valueState: AttributeGraph.IAGValueState { + public var valueState: AttributeGraph.AGValueState { get } public func prefetchValue() public func updateValue() public func invalidateValue() - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public var wrappedValue: Value { unsafeAddress nonmutating set @@ -213,7 +213,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { nonmutating set nonmutating _modify } - public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func changedValue(options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) public var wrappedValue: Value { get nonmutating set @@ -289,7 +289,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { public var value: Value? { get } - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? public var wrappedValue: Value? { get @@ -443,8 +443,8 @@ public struct AnyRuleContext { public init(_ ruleContext: AttributeGraph.RuleContext) public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext public func update(body: () -> Swift.Void) - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public subscript(attribute: AttributeGraph.Attribute) -> Value { unsafeAddress } @@ -469,8 +469,8 @@ public struct RuleContext { public var hasValue: Swift.Bool { get } - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: InputValue, flags: AttributeGraph.AGChangedValueFlags) public subscript(input: AttributeGraph.Attribute) -> InputValue { unsafeAddress } @@ -513,7 +513,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { public init() public init(_ attribute: AttributeGraph.Attribute) public init(_ attribute: AttributeGraph.Attribute?) - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public var value: Value? { get } @@ -547,11 +547,11 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } -@_silgen_name("IAGGraphSetOutputValue") -@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +@_silgen_name("AGGraphSetOutputValue") +@inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { - IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + AGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) } @_transparent @inline(__always) public var mainUpdates: Swift.Int { @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } @@ -559,7 +559,7 @@ extension AttributeGraph.Graph { } extension AttributeGraph.Graph { @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { - return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + return __AGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) } } extension AttributeGraph.Graph { @@ -610,7 +610,7 @@ extension AttributeGraph.TreeElement { extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { - let result = __IAGTreeElementGetNextNode(&self) + let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } } diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index 572d050..abca73e 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -17,8 +17,8 @@ extension AttributeGraph.AnyAttribute { public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute public var indirectDependency: AttributeGraph.AnyAttribute? { get @@ -71,8 +71,8 @@ extension AttributeGraph.AnyAttribute { public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool public func validate() public var value: Value { @@ -83,14 +83,14 @@ extension AttributeGraph.AnyAttribute { public var hasValue: Swift.Bool { get } - public var valueState: AttributeGraph.IAGValueState { + public var valueState: AttributeGraph.AGValueState { get } public func prefetchValue() public func updateValue() public func invalidateValue() - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public var wrappedValue: Value { unsafeAddress nonmutating set @@ -213,7 +213,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { nonmutating set nonmutating _modify } - public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func changedValue(options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) public var wrappedValue: Value { get nonmutating set @@ -289,7 +289,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { public var value: Value? { get } - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? public var wrappedValue: Value? { get @@ -443,8 +443,8 @@ public struct AnyRuleContext { public init(_ ruleContext: AttributeGraph.RuleContext) public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext public func update(body: () -> Swift.Void) - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public subscript(attribute: AttributeGraph.Attribute) -> Value { unsafeAddress } @@ -469,8 +469,8 @@ public struct RuleContext { public var hasValue: Swift.Bool { get } - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: InputValue, flags: AttributeGraph.AGChangedValueFlags) public subscript(input: AttributeGraph.Attribute) -> InputValue { unsafeAddress } @@ -513,7 +513,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { public init() public init(_ attribute: AttributeGraph.Attribute) public init(_ attribute: AttributeGraph.Attribute?) - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public var value: Value? { get } @@ -547,11 +547,11 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } -@_silgen_name("IAGGraphSetOutputValue") -@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +@_silgen_name("AGGraphSetOutputValue") +@inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { - IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + AGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) } @_transparent @inline(__always) public var mainUpdates: Swift.Int { @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } @@ -559,7 +559,7 @@ extension AttributeGraph.Graph { } extension AttributeGraph.Graph { @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { - return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + return __AGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) } } extension AttributeGraph.Graph { @@ -610,7 +610,7 @@ extension AttributeGraph.TreeElement { extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { - let result = __IAGTreeElementGetNextNode(&self) + let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } } diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface index 50bd6d8..21f43c8 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface @@ -17,8 +17,8 @@ extension AttributeGraph.AnyAttribute { public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute public var indirectDependency: AttributeGraph.AnyAttribute? { get @@ -71,8 +71,8 @@ extension AttributeGraph.AnyAttribute { public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool public func validate() public var value: Value { @@ -83,14 +83,14 @@ extension AttributeGraph.AnyAttribute { public var hasValue: Swift.Bool { get } - public var valueState: AttributeGraph.IAGValueState { + public var valueState: AttributeGraph.AGValueState { get } public func prefetchValue() public func updateValue() public func invalidateValue() - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public var wrappedValue: Value { unsafeAddress nonmutating set @@ -213,7 +213,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { nonmutating set nonmutating _modify } - public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func changedValue(options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) public var wrappedValue: Value { get nonmutating set @@ -289,7 +289,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { public var value: Value? { get } - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? public var wrappedValue: Value? { get @@ -443,8 +443,8 @@ public struct AnyRuleContext { public init(_ ruleContext: AttributeGraph.RuleContext) public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext public func update(body: () -> Swift.Void) - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public subscript(attribute: AttributeGraph.Attribute) -> Value { unsafeAddress } @@ -469,8 +469,8 @@ public struct RuleContext { public var hasValue: Swift.Bool { get } - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: InputValue, flags: AttributeGraph.AGChangedValueFlags) public subscript(input: AttributeGraph.Attribute) -> InputValue { unsafeAddress } @@ -513,7 +513,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { public init() public init(_ attribute: AttributeGraph.Attribute) public init(_ attribute: AttributeGraph.Attribute?) - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public var value: Value? { get } @@ -547,11 +547,11 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } -@_silgen_name("IAGGraphSetOutputValue") -@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +@_silgen_name("AGGraphSetOutputValue") +@inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { - IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + AGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) } @_transparent @inline(__always) public var mainUpdates: Swift.Int { @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } @@ -559,7 +559,7 @@ extension AttributeGraph.Graph { } extension AttributeGraph.Graph { @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { - return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + return __AGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) } } extension AttributeGraph.Graph { @@ -610,7 +610,7 @@ extension AttributeGraph.TreeElement { extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { - let result = __IAGTreeElementGetNextNode(&self) + let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } } diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface index 0470ff5..ff2c6c6 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface @@ -17,8 +17,8 @@ extension AttributeGraph.AnyAttribute { public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute public var indirectDependency: AttributeGraph.AnyAttribute? { get @@ -71,8 +71,8 @@ extension AttributeGraph.AnyAttribute { public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool public func validate() public var value: Value { @@ -83,14 +83,14 @@ extension AttributeGraph.AnyAttribute { public var hasValue: Swift.Bool { get } - public var valueState: AttributeGraph.IAGValueState { + public var valueState: AttributeGraph.AGValueState { get } public func prefetchValue() public func updateValue() public func invalidateValue() - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public var wrappedValue: Value { unsafeAddress nonmutating set @@ -213,7 +213,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { nonmutating set nonmutating _modify } - public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func changedValue(options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) public var wrappedValue: Value { get nonmutating set @@ -289,7 +289,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { public var value: Value? { get } - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? public var wrappedValue: Value? { get @@ -443,8 +443,8 @@ public struct AnyRuleContext { public init(_ ruleContext: AttributeGraph.RuleContext) public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext public func update(body: () -> Swift.Void) - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public subscript(attribute: AttributeGraph.Attribute) -> Value { unsafeAddress } @@ -469,8 +469,8 @@ public struct RuleContext { public var hasValue: Swift.Bool { get } - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: InputValue, flags: AttributeGraph.AGChangedValueFlags) public subscript(input: AttributeGraph.Attribute) -> InputValue { unsafeAddress } @@ -513,7 +513,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { public init() public init(_ attribute: AttributeGraph.Attribute) public init(_ attribute: AttributeGraph.Attribute?) - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public var value: Value? { get } @@ -547,11 +547,11 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } -@_silgen_name("IAGGraphSetOutputValue") -@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +@_silgen_name("AGGraphSetOutputValue") +@inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { - IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + AGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) } @_transparent @inline(__always) public var mainUpdates: Swift.Int { @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } @@ -559,7 +559,7 @@ extension AttributeGraph.Graph { } extension AttributeGraph.Graph { @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { - return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + return __AGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) } } extension AttributeGraph.Graph { @@ -610,7 +610,7 @@ extension AttributeGraph.TreeElement { extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { - let result = __IAGTreeElementGetNextNode(&self) + let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } } diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface index 395846a..0d6810c 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface @@ -17,8 +17,8 @@ extension AttributeGraph.AnyAttribute { public func visitBody(_ visitor: inout Visitor) where Visitor : AttributeGraph.AttributeBodyVisitor public func mutateBody(as type: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func unsafeOffset(at offset: Swift.Int) -> AttributeGraph.AnyAttribute public var indirectDependency: AttributeGraph.AnyAttribute? { get @@ -71,8 +71,8 @@ extension AttributeGraph.AnyAttribute { public func setFlags(_ newFlags: AttributeGraph.Subgraph.Flags, mask: AttributeGraph.Subgraph.Flags) public func applying(offset: AttributeGraph.PointerOffset) -> AttributeGraph.Attribute public func mutateBody(as bodyType: Body.Type, invalidating: Swift.Bool, _ mutator: (inout Body) -> Swift.Void) - public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) - public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.IAGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.Attribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) + public func addInput(_ input: AttributeGraph.AnyAttribute, options: AttributeGraph.AGInputOptions, token: Swift.Int) public func breadthFirstSearch(options: AttributeGraph.SearchOptions, _ predicate: (AttributeGraph.AnyAttribute) -> Swift.Bool) -> Swift.Bool public func validate() public var value: Value { @@ -83,14 +83,14 @@ extension AttributeGraph.AnyAttribute { public var hasValue: Swift.Bool { get } - public var valueState: AttributeGraph.IAGValueState { + public var valueState: AttributeGraph.AGValueState { get } public func prefetchValue() public func updateValue() public func invalidateValue() - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public var wrappedValue: Value { unsafeAddress nonmutating set @@ -213,7 +213,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { nonmutating set nonmutating _modify } - public func changedValue(options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) + public func changedValue(options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) public var wrappedValue: Value { get nonmutating set @@ -289,7 +289,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { public var value: Value? { get } - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public func map(_ transform: (AttributeGraph.Attribute) -> T) -> T? public var wrappedValue: Value? { get @@ -443,8 +443,8 @@ public struct AnyRuleContext { public init(_ ruleContext: AttributeGraph.RuleContext) public func unsafeCast(to type: Value.Type) -> AttributeGraph.RuleContext public func update(body: () -> Swift.Void) - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: Value, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: Value, flags: AttributeGraph.AGChangedValueFlags) public subscript(attribute: AttributeGraph.Attribute) -> Value { unsafeAddress } @@ -469,8 +469,8 @@ public struct RuleContext { public var hasValue: Swift.Bool { get } - public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: T, changed: Swift.Bool) - public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.IAGValueOptions) -> (value: InputValue, flags: AttributeGraph.IAGChangedValueFlags) + public func changedValue(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: T, changed: Swift.Bool) + public func valueAndFlags(of input: AttributeGraph.Attribute, options: AttributeGraph.AGValueOptions) -> (value: InputValue, flags: AttributeGraph.AGChangedValueFlags) public subscript(input: AttributeGraph.Attribute) -> InputValue { unsafeAddress } @@ -513,7 +513,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { public init() public init(_ attribute: AttributeGraph.Attribute) public init(_ attribute: AttributeGraph.Attribute?) - public func changedValue(options: AttributeGraph.IAGValueOptions = []) -> (value: Value, changed: Swift.Bool)? + public func changedValue(options: AttributeGraph.AGValueOptions = []) -> (value: Value, changed: Swift.Bool)? public var value: Value? { get } @@ -547,11 +547,11 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } -@_silgen_name("IAGGraphSetOutputValue") -@inline(__always) @inlinable internal func IAGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) +@_silgen_name("AGGraphSetOutputValue") +@inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @inline(__always) @inlinable public static func setOutputValue(_ value: Swift.UnsafePointer) { - IAGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) + AGGraphSetOutputValue(UnsafeRawPointer(value), of: Metadata(Value.self)) } @_transparent @inline(__always) public var mainUpdates: Swift.Int { @_transparent get { numericCast(counter(for: .mainThreadUpdates)) } @@ -559,7 +559,7 @@ extension AttributeGraph.Graph { } extension AttributeGraph.Graph { @_transparent public static func anyInputsChanged(excluding excludedAttributes: [AttributeGraph.AnyAttribute]) -> Swift.Bool { - return __IAGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) + return __AGGraphAnyInputsChanged(excludedAttributes, excludedAttributes.count) } } extension AttributeGraph.Graph { @@ -610,7 +610,7 @@ extension AttributeGraph.TreeElement { extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { - let result = __IAGTreeElementGetNextNode(&self) + let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } } diff --git a/CompatibilityTesting/Scripts/update-frameworks.sh b/CompatibilityTesting/Scripts/update-frameworks.sh index c48b788..242b79a 100755 --- a/CompatibilityTesting/Scripts/update-frameworks.sh +++ b/CompatibilityTesting/Scripts/update-frameworks.sh @@ -79,6 +79,7 @@ EOF -e 's/ -package-name [^ ]*//' \ -e 's/ComputeCxx/AttributeGraph/g' \ -e 's/Compute/AttributeGraph/g' \ + -e 's/IAG/AG/g' \ "$SWIFT_INTERFACE_FILE" > "$swiftmodule_dir/${swiftinterface_filename}.swiftinterface" done } From f049228ee028ccdc7bf4cc24e33ffc0f6155061c Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:28:19 +0200 Subject: [PATCH 06/18] Add @frozen attributes to public structs --- Sources/Compute/Attribute/Attribute.swift | 1 + Sources/Compute/Attribute/External.swift | 2 ++ Sources/Compute/Attribute/Indirect/IndirectAttribute.swift | 1 + Sources/Compute/Attribute/Optional/AnyOptionalAttribute.swift | 1 + Sources/Compute/Attribute/Optional/OptionalAttribute.swift | 1 + Sources/Compute/Attribute/PointerOffset.swift | 1 + Sources/Compute/Attribute/Rule/Focus.swift | 1 + Sources/Compute/Attribute/Rule/Map.swift | 1 + Sources/Compute/Attribute/RuleContext/AnyRuleContext.swift | 1 + Sources/Compute/Attribute/RuleContext/RuleContext.swift | 1 + Sources/Compute/Attribute/Weak/WeakAttribute.swift | 1 + 11 files changed, 12 insertions(+) diff --git a/Sources/Compute/Attribute/Attribute.swift b/Sources/Compute/Attribute/Attribute.swift index f17b31b..baea75b 100644 --- a/Sources/Compute/Attribute/Attribute.swift +++ b/Sources/Compute/Attribute/Attribute.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute { diff --git a/Sources/Compute/Attribute/External.swift b/Sources/Compute/Attribute/External.swift index 6fd3470..0e4554e 100644 --- a/Sources/Compute/Attribute/External.swift +++ b/Sources/Compute/Attribute/External.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen public struct _External { public init() {} @@ -25,6 +26,7 @@ extension _External: _AttributeBody { } } +@frozen public struct External { public init() {} diff --git a/Sources/Compute/Attribute/Indirect/IndirectAttribute.swift b/Sources/Compute/Attribute/Indirect/IndirectAttribute.swift index 979299c..c32e8bb 100644 --- a/Sources/Compute/Attribute/Indirect/IndirectAttribute.swift +++ b/Sources/Compute/Attribute/Indirect/IndirectAttribute.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen @propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { diff --git a/Sources/Compute/Attribute/Optional/AnyOptionalAttribute.swift b/Sources/Compute/Attribute/Optional/AnyOptionalAttribute.swift index 09f5bbf..39b568c 100644 --- a/Sources/Compute/Attribute/Optional/AnyOptionalAttribute.swift +++ b/Sources/Compute/Attribute/Optional/AnyOptionalAttribute.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen public struct AnyOptionalAttribute { public static var current: AnyOptionalAttribute { diff --git a/Sources/Compute/Attribute/Optional/OptionalAttribute.swift b/Sources/Compute/Attribute/Optional/OptionalAttribute.swift index a41f650..3562bb2 100644 --- a/Sources/Compute/Attribute/Optional/OptionalAttribute.swift +++ b/Sources/Compute/Attribute/Optional/OptionalAttribute.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen @propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { diff --git a/Sources/Compute/Attribute/PointerOffset.swift b/Sources/Compute/Attribute/PointerOffset.swift index 5298982..b45b158 100644 --- a/Sources/Compute/Attribute/PointerOffset.swift +++ b/Sources/Compute/Attribute/PointerOffset.swift @@ -1,3 +1,4 @@ +@frozen public struct PointerOffset { public var byteOffset: Int diff --git a/Sources/Compute/Attribute/Rule/Focus.swift b/Sources/Compute/Attribute/Rule/Focus.swift index 1047490..0c9f089 100644 --- a/Sources/Compute/Attribute/Rule/Focus.swift +++ b/Sources/Compute/Attribute/Rule/Focus.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen public struct Focus { public var root: Attribute diff --git a/Sources/Compute/Attribute/Rule/Map.swift b/Sources/Compute/Attribute/Rule/Map.swift index b6ad5f3..f6013a2 100644 --- a/Sources/Compute/Attribute/Rule/Map.swift +++ b/Sources/Compute/Attribute/Rule/Map.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen public struct Map { public var arg: Attribute diff --git a/Sources/Compute/Attribute/RuleContext/AnyRuleContext.swift b/Sources/Compute/Attribute/RuleContext/AnyRuleContext.swift index cf7441c..dfd055a 100644 --- a/Sources/Compute/Attribute/RuleContext/AnyRuleContext.swift +++ b/Sources/Compute/Attribute/RuleContext/AnyRuleContext.swift @@ -3,6 +3,7 @@ import ComputeCxx @_silgen_name("IAGGraphWithUpdate") func IAGGraphWithUpdate(_ attribute: AnyAttribute, body: () -> Void) +@frozen public struct AnyRuleContext { public var attribute: AnyAttribute diff --git a/Sources/Compute/Attribute/RuleContext/RuleContext.swift b/Sources/Compute/Attribute/RuleContext/RuleContext.swift index 7efebe0..0f474d1 100644 --- a/Sources/Compute/Attribute/RuleContext/RuleContext.swift +++ b/Sources/Compute/Attribute/RuleContext/RuleContext.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen public struct RuleContext { public var attribute: Attribute diff --git a/Sources/Compute/Attribute/Weak/WeakAttribute.swift b/Sources/Compute/Attribute/Weak/WeakAttribute.swift index 8de55fc..470e778 100644 --- a/Sources/Compute/Attribute/Weak/WeakAttribute.swift +++ b/Sources/Compute/Attribute/Weak/WeakAttribute.swift @@ -1,5 +1,6 @@ import ComputeCxx +@frozen @propertyWrapper @dynamicMemberLookup public struct WeakAttribute { From fbc0359cd72d6ba87e4aa355fff211611124e708 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:30:09 +0200 Subject: [PATCH 07/18] Add @_alwaysEmitIntoClient attribute to Nodes.next() --- Sources/Compute/Graph/TreeElement.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Compute/Graph/TreeElement.swift b/Sources/Compute/Graph/TreeElement.swift index e161169..5904c11 100644 --- a/Sources/Compute/Graph/TreeElement.swift +++ b/Sources/Compute/Graph/TreeElement.swift @@ -12,7 +12,7 @@ extension TreeElement { extension Nodes: @retroactive IteratorProtocol { public typealias Element = AnyAttribute - @inlinable + @_alwaysEmitIntoClient public mutating func next() -> AnyAttribute? { let result = __IAGTreeElementGetNextNode(&self) return result == .nil ? nil : result From 17de31510805f89e171a4c3f407c1679348c63a1 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:31:12 +0200 Subject: [PATCH 08/18] Remove Graph.== function --- Sources/Compute/Graph/Graph.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Sources/Compute/Graph/Graph.swift b/Sources/Compute/Graph/Graph.swift index 82c9fec..dd778d0 100644 --- a/Sources/Compute/Graph/Graph.swift +++ b/Sources/Compute/Graph/Graph.swift @@ -146,11 +146,3 @@ extension Graph { } } - -extension Graph: @retroactive Equatable { - - public static func == (_ lhs: Graph, _ rhs: Graph) -> Bool { - return lhs.counter(for: .contextID) == rhs.counter(for: .contextID) - } - -} From 130c1f08bcce8790fd187f1f96fbf62463bebd0d Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:33:09 +0200 Subject: [PATCH 09/18] Parameterize test expectations based on linked library --- CompatibilityTesting/Package.swift | 4 +++- Tests/ComputeTests/Shared/Graph/GraphTests.swift | 4 ++++ Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CompatibilityTesting/Package.swift b/CompatibilityTesting/Package.swift index 60c1a34..6d8fe8d 100644 --- a/CompatibilityTesting/Package.swift +++ b/CompatibilityTesting/Package.swift @@ -23,6 +23,7 @@ let package = Package( .product(name: "SExp", package: "swift-sexp"), ], swiftSettings: [ + .define("COMPATIBILITY_TESTS"), .enableExperimentalFeature("Extern"), ], linkerSettings: [.linkedLibrary("swiftDemangle")] @@ -33,7 +34,8 @@ let package = Package( "AttributeGraph" ], swiftSettings: [ - .enableExperimentalFeature("Extern") + .define("COMPATIBILITY_TESTS"), + .enableExperimentalFeature("Extern"), ], linkerSettings: [.linkedLibrary("swiftDemangle")] ), diff --git a/Tests/ComputeTests/Shared/Graph/GraphTests.swift b/Tests/ComputeTests/Shared/Graph/GraphTests.swift index 11c07ad..b73ec7a 100644 --- a/Tests/ComputeTests/Shared/Graph/GraphTests.swift +++ b/Tests/ComputeTests/Shared/Graph/GraphTests.swift @@ -11,7 +11,11 @@ struct GraphTests { @Test func typeID() { let description = CFCopyTypeIDDescription(Graph.typeID) as String? + #if COMPATIBILITY_TESTS + #expect(description == "AGGraphStorage") + #else #expect(description == "IAGGraphStorage") + #endif } @Test diff --git a/Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift b/Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift index 1f77d7c..13ff6d1 100644 --- a/Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift +++ b/Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift @@ -10,7 +10,11 @@ struct SubgraphTests { @Test func typeID() { let description = CFCopyTypeIDDescription(Subgraph.typeID) as String? + #if COMPATIBILITY_TESTS + #expect(description == "AGSubgraph") + #else #expect(description == "IAGSubgraph") + #endif } @Test From 661f25423dda0629023b83e6fc03a55d70c71a48 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:35:00 +0200 Subject: [PATCH 10/18] Fix bug in tests when bridging DescriptionOption to CFStringRef --- Tests/ComputeTests/Shared/Graph+DictionaryDescription.swift | 3 ++- Tests/ComputeTests/Shared/Graph/GraphTests.swift | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Tests/ComputeTests/Shared/Graph+DictionaryDescription.swift b/Tests/ComputeTests/Shared/Graph+DictionaryDescription.swift index 87cb16f..8592255 100644 --- a/Tests/ComputeTests/Shared/Graph+DictionaryDescription.swift +++ b/Tests/ComputeTests/Shared/Graph+DictionaryDescription.swift @@ -171,8 +171,9 @@ extension Graph { } public func dictionaryDescription(includeValues: Bool = false) -> DictionaryDescription? { + // TODO: Conform DescriptionOption to CustomStringConvertible so we don't have to access rawValue here let options = - [DescriptionOption.format: "graph/dict", DescriptionOption.includeValues: includeValues] as NSDictionary + [DescriptionOption.format.rawValue: "graph/dict", DescriptionOption.includeValues.rawValue: includeValues] as NSDictionary guard let description = Graph.description(self, options: options) as? NSDictionary else { return nil } diff --git a/Tests/ComputeTests/Shared/Graph/GraphTests.swift b/Tests/ComputeTests/Shared/Graph/GraphTests.swift index b73ec7a..5713c5a 100644 --- a/Tests/ComputeTests/Shared/Graph/GraphTests.swift +++ b/Tests/ComputeTests/Shared/Graph/GraphTests.swift @@ -308,7 +308,11 @@ struct GraphTests { try await #require(processExitsWith: .success) { let description = try #require( - Graph.description(nil, options: [DescriptionOption.format: "graph/dict"] as NSDictionary) + Graph.description( + nil, + // TODO: Conform DescriptionOption to CustomStringConvertible so we don't have to access rawValue here + options: [DescriptionOption.format.rawValue: "graph/dict"] as NSDictionary + ) as? NSDictionary ) From 8e354fafb2c3be474f078de960725b5e0af82699 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:37:01 +0200 Subject: [PATCH 11/18] Parameterize environment variables based on linked library --- .../ComputeCompatibilityTests/Shims.swift | 4 + .../Shims.swift | 4 + .../Shared/CompareValuesTests.swift | 6 +- .../Shared/PrefetchCompareValuesTests.swift | 118 +++++++++--------- .../Shared/Attribute/AttributeTests.swift | 12 +- .../Shared/Graph/GraphTests.swift | 4 +- 6 files changed, 78 insertions(+), 70 deletions(-) diff --git a/CompatibilityTesting/Tests/ComputeCompatibilityTests/Shims.swift b/CompatibilityTesting/Tests/ComputeCompatibilityTests/Shims.swift index 7af1743..c16037d 100644 --- a/CompatibilityTesting/Tests/ComputeCompatibilityTests/Shims.swift +++ b/CompatibilityTesting/Tests/ComputeCompatibilityTests/Shims.swift @@ -1 +1,5 @@ @_exported public import AttributeGraph + +let prefetchLayoutsEnvironmentVariable = "AG_PREFETCH_LAYOUTS" +let asyncLayoutsEnvironmentVariable = "AG_ASYNC_LAYOUTS" +let printLayoutsEnvironmentVariable = "AG_PRINT_LAYOUTS" diff --git a/CompatibilityTesting/Tests/ComputeLayoutDescriptorCompatibilityTests/Shims.swift b/CompatibilityTesting/Tests/ComputeLayoutDescriptorCompatibilityTests/Shims.swift index 7af1743..c16037d 100644 --- a/CompatibilityTesting/Tests/ComputeLayoutDescriptorCompatibilityTests/Shims.swift +++ b/CompatibilityTesting/Tests/ComputeLayoutDescriptorCompatibilityTests/Shims.swift @@ -1 +1,5 @@ @_exported public import AttributeGraph + +let prefetchLayoutsEnvironmentVariable = "AG_PREFETCH_LAYOUTS" +let asyncLayoutsEnvironmentVariable = "AG_ASYNC_LAYOUTS" +let printLayoutsEnvironmentVariable = "AG_PRINT_LAYOUTS" diff --git a/Tests/ComputeLayoutDescriptorTests/Shared/CompareValuesTests.swift b/Tests/ComputeLayoutDescriptorTests/Shared/CompareValuesTests.swift index 932a6ab..ec6ac60 100644 --- a/Tests/ComputeLayoutDescriptorTests/Shared/CompareValuesTests.swift +++ b/Tests/ComputeLayoutDescriptorTests/Shared/CompareValuesTests.swift @@ -60,7 +60,7 @@ struct CompareValuesTests { @Test func compareInlineEnumValues() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) #expect( compareValues( @@ -135,7 +135,7 @@ struct CompareValuesTests { @Test func compareRecursiveEnumValues() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) #expect( compareValues( @@ -210,7 +210,7 @@ struct CompareValuesTests { @Test func compareRecursiveEnumNonEquatableValues() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) #expect( compareValues( diff --git a/Tests/ComputeLayoutDescriptorTests/Shared/PrefetchCompareValuesTests.swift b/Tests/ComputeLayoutDescriptorTests/Shared/PrefetchCompareValuesTests.swift index 64f054b..c2641a5 100644 --- a/Tests/ComputeLayoutDescriptorTests/Shared/PrefetchCompareValuesTests.swift +++ b/Tests/ComputeLayoutDescriptorTests/Shared/PrefetchCompareValuesTests.swift @@ -60,8 +60,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForNever() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch( of: Never.self, @@ -108,7 +108,7 @@ struct PrefetchCompareValuesTests { @Test func layoutForVoid() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) for options in allOptions { let layout = ValueLayout.prefetch(of: Void.self, options: options, priority: 0) @@ -120,8 +120,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForBool() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch( of: Bool.self, @@ -167,8 +167,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForNumericNonEquatable() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let types: [Any.Type] = [Int.self, Double.self, Float.self] for type in types { @@ -198,8 +198,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForIntEquatable() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) await #expect(processExitsWith: .success) { var output = "" @@ -220,8 +220,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForDoubleEquatable() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) await #expect(processExitsWith: .success) { var output = "" @@ -246,8 +246,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForFloatEquatable() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) await #expect(processExitsWith: .success) { var output = "" @@ -273,8 +273,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForString() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch( of: String.self, @@ -331,7 +331,7 @@ struct PrefetchCompareValuesTests { @Test func layoutForStaticString() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) for options in allOptions { let layout = ValueLayout.prefetch(of: StaticString.self, options: options, priority: 0) @@ -356,7 +356,7 @@ struct PrefetchCompareValuesTests { @Test("Layout for struct enclosing single element equals the layout of the enclosed element") func layoutForStructEnclosingSingleElement() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) struct StructEnclosingSingleElement { var property: Int @@ -404,8 +404,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForTrivialStruct() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) struct TrivialStruct { var first: Int @@ -462,8 +462,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForStructWithAlignedElement() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) struct StructWithAlignedElement { var int8: Int8 @@ -572,8 +572,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForStructWithComplexProperty() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) typealias ComplexType = Int64??? struct StructWithComplexProperty { @@ -706,7 +706,7 @@ struct PrefetchCompareValuesTests { @Test(arguments: allOptions) func layoutForEmptyClass(with options: ComparisonOptions) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) class EmptyClass {} @@ -716,7 +716,7 @@ struct PrefetchCompareValuesTests { @Test(arguments: allOptions) func layoutForTrivialClass(with options: ComparisonOptions) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) class TrivialClass { var property: Int = 0 @@ -729,7 +729,7 @@ struct PrefetchCompareValuesTests { @Test func layoutForStructWithWeakVar() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) class EmptyClass {} struct StructWithWeakVar { @@ -750,7 +750,7 @@ struct PrefetchCompareValuesTests { @Test(arguments: allOptions) func layoutForEmptyEnum(with options: ComparisonOptions) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) enum EmptyEnum {} @@ -760,8 +760,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForBasicEnum() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) enum BasicEnum { case first @@ -812,8 +812,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForIntEnum() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) enum IntEnum: Int { case first = 1 @@ -864,8 +864,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForTaggedUnionEnum() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) enum TaggedUnionEnum { case first @@ -989,8 +989,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForIndirectEnum() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) indirect enum IndirectEnum { case string(String) @@ -1096,8 +1096,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForIndirectEnumCase() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) protocol NodeProtocol { @@ -1209,8 +1209,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForTuple() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch( of: (Int, String).self, @@ -1285,8 +1285,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForTupleWithAlignedElement() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) await #expect(processExitsWith: .success) { var output0 = "" @@ -1396,8 +1396,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForArray() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch( of: Array.self, @@ -1454,7 +1454,7 @@ struct PrefetchCompareValuesTests { @Test func layoutForArrayOfNotEquatable() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) class NotEquatable {} @@ -1468,8 +1468,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForDictionary() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch( of: Dictionary.self, @@ -1526,7 +1526,7 @@ struct PrefetchCompareValuesTests { @Test func layoutForDictionaryOfNotEquatable() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) class NotEquatable {} @@ -1544,8 +1544,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForSet() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch( of: Set.self, @@ -1607,8 +1607,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForEquatableStruct() async { await #expect(processExitsWith: .success) { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) struct EquatableStruct: Equatable { var property: Int = 0 @@ -1660,8 +1660,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForEquatableClass() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) class EquatableClass: Equatable { var property: Int = 0 @@ -1732,8 +1732,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForAny() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch(of: Any.self, options: ComparisonOptions(mode: .bitwise), priority: 0) #expect(layout0 == nil) @@ -1793,8 +1793,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForAnyError() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) let layout0 = ValueLayout.prefetch( of: (any Error).self, @@ -1871,8 +1871,8 @@ struct PrefetchCompareValuesTests { @Test func layoutForFunction() async { - setenv("IAG_ASYNC_LAYOUTS", "0", 1) - setenv("IAG_PRINT_LAYOUTS", "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) + setenv(printLayoutsEnvironmentVariable, "1", 1) typealias Function = () -> Void diff --git a/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift b/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift index 9f6ec8c..3626cd4 100644 --- a/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift +++ b/Tests/ComputeTests/Shared/Attribute/AttributeTests.swift @@ -17,8 +17,8 @@ struct AttributeTests { @Test func initWithValue() async throws { try await #require(processExitsWith: .success) { - setenv("IAG_PREFETCH_LAYOUTS", "1", 1) - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(prefetchLayoutsEnvironmentVariable, "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) let graph = Graph() let subgraph = Subgraph(graph: graph) @@ -64,8 +64,8 @@ struct AttributeTests { @Test func initWithType() async throws { try await #require(processExitsWith: .success) { - setenv("IAG_PREFETCH_LAYOUTS", "1", 1) - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(prefetchLayoutsEnvironmentVariable, "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) let graph = Graph() let subgraph = Subgraph(graph: graph) @@ -110,8 +110,8 @@ struct AttributeTests { @Test func initWithBody() async throws { try await #require(processExitsWith: .success) { - setenv("IAG_PREFETCH_LAYOUTS", "1", 1) - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(prefetchLayoutsEnvironmentVariable, "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) let graph = Graph() let subgraph = Subgraph(graph: graph) diff --git a/Tests/ComputeTests/Shared/Graph/GraphTests.swift b/Tests/ComputeTests/Shared/Graph/GraphTests.swift index 5713c5a..9d3234c 100644 --- a/Tests/ComputeTests/Shared/Graph/GraphTests.swift +++ b/Tests/ComputeTests/Shared/Graph/GraphTests.swift @@ -141,8 +141,8 @@ struct GraphTests { @Test func internAttributeTypeInitializesSelfOffsetAndLayout() async throws { try await #require(processExitsWith: .success) { - setenv("IAG_PREFETCH_LAYOUTS", "1", 1) - setenv("IAG_ASYNC_LAYOUTS", "0", 1) + setenv(prefetchLayoutsEnvironmentVariable, "1", 1) + setenv(asyncLayoutsEnvironmentVariable, "0", 1) let graph = Graph() From 64d897f2cbb6de29f638cfe04a6e306677ef57b1 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:44:07 +0200 Subject: [PATCH 12/18] Add Swift refinement for IAGTraceType --- Sources/ComputeCxx/include/ComputeCxx/IAGTraceType.h | 2 +- Tests/ComputeTests/Shared/Graph/GraphTests.swift | 4 ++-- Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/ComputeCxx/include/ComputeCxx/IAGTraceType.h b/Sources/ComputeCxx/include/ComputeCxx/IAGTraceType.h index d4c38a2..c36b785 100644 --- a/Sources/ComputeCxx/include/ComputeCxx/IAGTraceType.h +++ b/Sources/ComputeCxx/include/ComputeCxx/IAGTraceType.h @@ -16,7 +16,7 @@ typedef IAG_ENUM(uint64_t, IAGTraceTypeVersion) { IAGTraceTypeVersionCompareFailed = 4, }; -typedef struct IAGTraceType { +typedef struct IAG_SWIFT_NAME(TraceType) IAGTraceType { IAGTraceTypeVersion version; void (*_Nullable begin_trace)(void *_Nullable context, IAGGraphRef graph); diff --git a/Tests/ComputeTests/Shared/Graph/GraphTests.swift b/Tests/ComputeTests/Shared/Graph/GraphTests.swift index 9d3234c..e6c183f 100644 --- a/Tests/ComputeTests/Shared/Graph/GraphTests.swift +++ b/Tests/ComputeTests/Shared/Graph/GraphTests.swift @@ -185,7 +185,7 @@ struct GraphTests { var traceCalls: [(name: String, graph: Graph)] = [] } - var trace = IAGTraceType() + var trace = TraceType() trace.begin_trace = { contextPointer, graph in if let context = contextPointer?.assumingMemoryBound(to: Context.self).pointee { context.traceCalls.append((name: "beginTrace", graph: graph)) @@ -229,7 +229,7 @@ struct GraphTests { var traceCalls: [(name: String, graph: Graph)] = [] } - var trace = IAGTraceType() + var trace = TraceType() trace.begin_trace = { contextPointer, graph in if let context = contextPointer?.assumingMemoryBound(to: Context.self).pointee { context.traceCalls.append((name: "beginTrace", graph: graph)) diff --git a/Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift b/Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift index 13ff6d1..e791b39 100644 --- a/Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift +++ b/Tests/ComputeTests/Shared/Subgraph/SubgraphTests.swift @@ -194,7 +194,7 @@ struct SubgraphTests { @Test func invalidateSubgraph() async throws { - var trace = IAGTraceType() + var trace = TraceType() trace.subgraph_created = { context, graph in guard let reporter = context?.assumingMemoryBound(to: TraceReporter.self).pointee else { return From ad6ee6d8cfdb68669073c8ffe4158c967662908b Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:56:20 +0200 Subject: [PATCH 13/18] Add Swift refinement for IAGGraphInternAttributeType and add Graph.typeIndex --- Sources/Compute/Attribute/Attribute.swift | 27 +++--------- Sources/Compute/Attribute/AttributeType.swift | 27 +----------- Sources/Compute/Attribute/Rule/Rule.swift | 20 ++++----- Sources/Compute/Graph/Graph.swift | 41 +++++++++++++++++ .../ComputeCxx/include/ComputeCxx/IAGGraph.h | 2 +- .../Shared/Graph/GraphTests.swift | 44 +++++++++---------- 6 files changed, 79 insertions(+), 82 deletions(-) diff --git a/Sources/Compute/Attribute/Attribute.swift b/Sources/Compute/Attribute/Attribute.swift index baea75b..2fcc162 100644 --- a/Sources/Compute/Attribute/Attribute.swift +++ b/Sources/Compute/Attribute/Attribute.swift @@ -43,26 +43,13 @@ public struct Attribute { preconditionFailure("attempting to create attribute with no subgraph: \(Body.self)") } - let typeID = graphContext.internAttributeType( - type: Metadata(Body.self) - ) { - let bodyType: _AttributeBody.Type - #if CompatibilityModeAttributeGraphV6 - bodyType = Body.self - #else - bodyType = flags.contains(.external) ? _External.self : Body.self - #endif - let attributeType = - _AttributeType( - selfType: bodyType, - valueType: Value.self, - flags: flags, - update: update() - ) - let pointer = UnsafeMutablePointer<_AttributeType>.allocate(capacity: 1) - pointer.initialize(to: attributeType) - return UnsafePointer(pointer) - } + let typeID = Graph.typeIndex( + ctx: graphContext, + body: Body.self, + valueType: Metadata(Value.self), + flags: flags, + update: update + ) identifier = AnyAttribute(type: typeID, body: body, value: value) } diff --git a/Sources/Compute/Attribute/AttributeType.swift b/Sources/Compute/Attribute/AttributeType.swift index c55b8c0..e327667 100644 --- a/Sources/Compute/Attribute/AttributeType.swift +++ b/Sources/Compute/Attribute/AttributeType.swift @@ -6,29 +6,6 @@ struct ProtocolConformance { var witnessTable: UnsafeRawPointer } -@_silgen_name("IAGGraphInternAttributeType") -func IAGGraphInternAttributeType( - _ graph: UnsafeRawPointer, - type: Metadata, - makeAttributeType: () -> UnsafePointer<_AttributeType> -) -> UInt32 - -extension IAGUnownedGraphContextRef { - - @inline(__always) - func internAttributeType( - type: Metadata, - makeAttributeType: () -> UnsafePointer<_AttributeType> - ) -> UInt32 { - return IAGGraphInternAttributeType( - unsafeBitCast(self, to: UnsafeRawPointer.self), - type: type, - makeAttributeType: makeAttributeType - ) - } - -} - extension String { static func _describing(_ subject: UnsafeRawPointer, of type: Subject.Type) -> String { @@ -98,7 +75,7 @@ extension _AttributeType { init( selfType: _AttributeBody.Type, - valueType: Any.Type, + valueType: Metadata, flags: Flags, update: @escaping (UnsafeMutableRawPointer, AnyAttribute) -> Void, ) { @@ -116,7 +93,7 @@ extension _AttributeType { ) self.init( self_id: Metadata(selfType), - value_id: Metadata(valueType), + value_id: valueType, update: retainedUpdate, vtable: _AttributeType.vtable, flags: flags, diff --git a/Sources/Compute/Attribute/Rule/Rule.swift b/Sources/Compute/Attribute/Rule/Rule.swift index f6de32c..e2a9a57 100644 --- a/Sources/Compute/Attribute/Rule/Rule.swift +++ b/Sources/Compute/Attribute/Rule/Rule.swift @@ -59,7 +59,7 @@ func IAGGraphReadCachedAttribute( options: CachedValueOptions, owner: AnyAttribute, changed: UnsafeMutablePointer?, - attributeTypeID: (IAGUnownedGraphContextRef) -> UInt32 + attributeTypeID: (UnownedGraphContext) -> UInt32 ) -> UnsafeRawPointer extension Rule where Self: Hashable { @@ -110,17 +110,13 @@ extension Rule where Self: Hashable { owner: owner ?? .nil, changed: nil ) { graph in - return graph.internAttributeType(type: Metadata(Self.self)) { - let attributeType = _AttributeType( - selfType: Self.self, - valueType: Value.self, - flags: [], // TODO: check flags are empty - update: update() - ) - let pointer = UnsafeMutablePointer<_AttributeType>.allocate(capacity: 1) - pointer.initialize(to: attributeType) - return UnsafePointer(pointer) - } + return Graph.typeIndex( + ctx: graph, + body: Self.self, + valueType: Metadata(Value.self), + flags: [], // TODO: check flags are empty + update: update + ) } return value.assumingMemoryBound(to: Value.self) } diff --git a/Sources/Compute/Graph/Graph.swift b/Sources/Compute/Graph/Graph.swift index dd778d0..d8a3594 100644 --- a/Sources/Compute/Graph/Graph.swift +++ b/Sources/Compute/Graph/Graph.swift @@ -1,5 +1,46 @@ import ComputeCxx +@_silgen_name("IAGGraphInternAttributeType") +public func internAttributeType( + ctx: UnownedGraphContext, + body: Metadata, + makeAttributeType: () -> UnsafePointer<_AttributeType> +) -> UInt32 + +extension Graph { + static func typeIndex( + ctx: UnownedGraphContext, + body: any _AttributeBody.Type, + valueType: Metadata, + flags: _AttributeType.Flags, + update: () -> (UnsafeMutableRawPointer, AnyAttribute) -> Void + ) -> UInt32 { + let makeAttributeType: () -> UnsafePointer<_AttributeType> = { + let bodyType: _AttributeBody.Type + #if CompatibilityModeAttributeGraphV6 + bodyType = Body.self + #else + bodyType = flags.contains(.external) ? _External.self : body + #endif + let attributeType = + _AttributeType( + selfType: bodyType, + valueType: valueType, + flags: flags, + update: update() + ) + let pointer = UnsafeMutablePointer<_AttributeType>.allocate(capacity: 1) + pointer.initialize(to: attributeType) + return UnsafePointer(pointer) + } + return internAttributeType( + ctx: ctx, + body: Metadata(body), + makeAttributeType: makeAttributeType + ) + } +} + @_silgen_name("IAGGraphSetOutputValue") @inline(__always) @inlinable diff --git a/Sources/ComputeCxx/include/ComputeCxx/IAGGraph.h b/Sources/ComputeCxx/include/ComputeCxx/IAGGraph.h index 6879d30..f516e2d 100644 --- a/Sources/ComputeCxx/include/ComputeCxx/IAGGraph.h +++ b/Sources/ComputeCxx/include/ComputeCxx/IAGGraph.h @@ -33,7 +33,7 @@ IAG_EXTERN_C_BEGIN // MARK: CFType typedef struct IAG_BRIDGED_TYPE(id) IAGGraphStorage *IAGGraphRef IAG_SWIFT_NAME(Graph); -typedef void *IAGUnownedGraphContextRef IAG_SWIFT_STRUCT; +typedef void *IAGUnownedGraphContextRef IAG_SWIFT_STRUCT IAG_SWIFT_NAME(UnownedGraphContext); IAG_EXPORT IAG_REFINED_FOR_SWIFT diff --git a/Tests/ComputeTests/Shared/Graph/GraphTests.swift b/Tests/ComputeTests/Shared/Graph/GraphTests.swift index e6c183f..ad0e2b5 100644 --- a/Tests/ComputeTests/Shared/Graph/GraphTests.swift +++ b/Tests/ComputeTests/Shared/Graph/GraphTests.swift @@ -85,10 +85,10 @@ struct GraphTests { let graph = Graph() // First type index is not 0 - let intTypeIndex = __IAGGraphInternAttributeType( - graph.graphContext, - Metadata(External.self), - { _ in + let intTypeIndex = internAttributeType( + ctx: graph.graphContext, + body: Metadata(External.self), + makeAttributeType: { let pointer = UnsafeMutablePointer<_AttributeType>.allocate(capacity: 1) pointer.pointee.self_id = Metadata(External.self) pointer.pointee.value_id = Metadata(Int.self) @@ -96,16 +96,15 @@ struct GraphTests { pointer.pointee.vtable = testVtablePointer } return UnsafePointer(pointer) - }, - nil + } ) #expect(intTypeIndex == 1) // A new type is assigned a new index - let stringTypeIndex = __IAGGraphInternAttributeType( - graph.graphContext, - Metadata(External.self), - { _ in + let stringTypeIndex = internAttributeType( + ctx: graph.graphContext, + body: Metadata(External.self), + makeAttributeType: { let pointer = UnsafeMutablePointer<_AttributeType>.allocate(capacity: 1) pointer.pointee.self_id = Metadata(External.self) pointer.pointee.value_id = Metadata(String.self) @@ -113,16 +112,15 @@ struct GraphTests { pointer.pointee.vtable = testVtablePointer } return UnsafePointer(pointer) - }, - nil + } ) #expect(stringTypeIndex == 2) // Interning the same type reuses the same index - let cachedIntTypeIndex = __IAGGraphInternAttributeType( - graph.graphContext, - Metadata(External.self), - { _ in + let cachedIntTypeIndex = internAttributeType( + ctx: graph.graphContext, + body: Metadata(External.self), + makeAttributeType: { let pointer = UnsafeMutablePointer<_AttributeType>.allocate(capacity: 1) pointer.pointee.self_id = Metadata(External.self) pointer.pointee.value_id = Metadata(Int.self) @@ -130,8 +128,7 @@ struct GraphTests { pointer.pointee.vtable = testVtablePointer } return UnsafePointer(pointer) - }, - nil + } ) #expect(cachedIntTypeIndex == intTypeIndex) } @@ -146,10 +143,10 @@ struct GraphTests { let graph = Graph() - let _ = __IAGGraphInternAttributeType( - graph.graphContext, - Metadata(External.self), - { _ in + let _ = internAttributeType( + ctx: graph.graphContext, + body: Metadata(External.self), + makeAttributeType: { let pointer = UnsafeMutablePointer<_AttributeType>.allocate(capacity: 1) pointer.pointee.self_id = Metadata(External.self) pointer.pointee.value_id = Metadata(Int.self) @@ -163,8 +160,7 @@ struct GraphTests { GraphTests.InternAttributeTypeTests.internedAttributeType = pointer return UnsafePointer(pointer) - }, - nil + } ) let attributeType = GraphTests.InternAttributeTypeTests.internedAttributeType?.pointee From 107d7f04ff52ed99091b3ea31fb322a2423c891a Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:56:32 +0200 Subject: [PATCH 14/18] Disable non-deterministic test --- Tests/ComputeTests/Shared/Graph/GraphTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ComputeTests/Shared/Graph/GraphTests.swift b/Tests/ComputeTests/Shared/Graph/GraphTests.swift index ad0e2b5..7500e95 100644 --- a/Tests/ComputeTests/Shared/Graph/GraphTests.swift +++ b/Tests/ComputeTests/Shared/Graph/GraphTests.swift @@ -338,7 +338,7 @@ struct GraphTests { // FIXME: // This sometimes fails because the subgraphs vector is sorted by pointer address, // which we can't predict deterministically. - @Test + @Test(.disabled()) func graphDescription() async throws { try await #require(processExitsWith: .success) { let graph = Graph() From df15c7defeceb5d50e9719717c71564e53101ecb Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:57:24 +0200 Subject: [PATCH 15/18] Update AttributeGraph.xcframework --- .../Headers/AGGraph.h | 2 +- .../Headers/AGTraceType.h | 2 +- .../arm64-apple-ios-macabi.swiftinterface | 51 +++++++++++++------ .../arm64e-apple-ios-macabi.swiftinterface | 51 +++++++++++++------ .../x86_64-apple-ios-macabi.swiftinterface | 51 +++++++++++++------ .../Versions/A/Headers/AGGraph.h | 2 +- .../Versions/A/Headers/AGTraceType.h | 2 +- .../arm64-apple-macos.swiftinterface | 51 +++++++++++++------ .../arm64e-apple-macos.swiftinterface | 51 +++++++++++++------ .../x86_64-apple-macos.swiftinterface | 51 +++++++++++++------ 10 files changed, 214 insertions(+), 100 deletions(-) diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraph.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraph.h index f558fba..80c8791 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraph.h +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGGraph.h @@ -33,7 +33,7 @@ AG_EXTERN_C_BEGIN // MARK: CFType typedef struct AG_BRIDGED_TYPE(id) AGGraphStorage *AGGraphRef AG_SWIFT_NAME(Graph); -typedef void *AGUnownedGraphContextRef AG_SWIFT_STRUCT; +typedef void *AGUnownedGraphContextRef AG_SWIFT_STRUCT AG_SWIFT_NAME(UnownedGraphContext); AG_EXPORT AG_REFINED_FOR_SWIFT diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTraceType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTraceType.h index ecae4e5..d22355b 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTraceType.h +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Headers/AGTraceType.h @@ -16,7 +16,7 @@ typedef AG_ENUM(uint64_t, AGTraceTypeVersion) { AGTraceTypeVersionCompareFailed = 4, }; -typedef struct AGTraceType { +typedef struct AG_SWIFT_NAME(TraceType) AGTraceType { AGTraceTypeVersion version; void (*_Nullable begin_trace)(void *_Nullable context, AGGraphRef graph); diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface index 31b14bb..58bfcd0 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -47,7 +47,7 @@ extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { extension AttributeGraph.AnyAttribute { public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue } -@propertyWrapper @dynamicMemberLookup public struct Attribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute { public var identifier: AttributeGraph.AnyAttribute public init(identifier: AttributeGraph.AnyAttribute) public init(_ attribute: AttributeGraph.Attribute) @@ -159,7 +159,7 @@ extension AttributeGraph._AttributeBody { public protocol AttributeBodyVisitor { mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody } -public struct _External { +@frozen public struct _External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -176,7 +176,7 @@ extension AttributeGraph._External : AttributeGraph._AttributeBody { get } } -public struct External { +@frozen public struct External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -193,7 +193,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { get } } -@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { public var identifier: AttributeGraph.AnyAttribute public init(source: AttributeGraph.Attribute) public var source: AttributeGraph.Attribute { @@ -244,7 +244,7 @@ extension AttributeGraph.ObservedAttribute { get } } -public struct AnyOptionalAttribute { +@frozen public struct AnyOptionalAttribute { public static var current: AttributeGraph.AnyOptionalAttribute { get } @@ -275,7 +275,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { public var base: AttributeGraph.AnyOptionalAttribute public init(base: AttributeGraph.AnyOptionalAttribute) public init() @@ -317,7 +317,7 @@ extension AttributeGraph.OptionalAttribute : Swift.Hashable { get } } -public struct PointerOffset { +@frozen public struct PointerOffset { public var byteOffset: Swift.Int public init(byteOffset: Swift.Int) public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset @@ -343,7 +343,7 @@ extension Swift.UnsafeMutablePointer { unsafeMutableAddress } } -public struct Focus { +@frozen public struct Focus { public var root: AttributeGraph.Attribute public var keyPath: Swift.KeyPath public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) @@ -361,7 +361,7 @@ extension AttributeGraph.Focus : Swift.CustomStringConvertible { get } } -public struct Map { +@frozen public struct Map { public var arg: AttributeGraph.Attribute public var body: (Arg) -> Value public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) @@ -437,7 +437,7 @@ extension AttributeGraph.StatefulRule { get } } -public struct AnyRuleContext { +@frozen public struct AnyRuleContext { public var attribute: AttributeGraph.AnyAttribute public init(attribute: AttributeGraph.AnyAttribute) public init(_ ruleContext: AttributeGraph.RuleContext) @@ -458,7 +458,7 @@ public struct AnyRuleContext { extension AttributeGraph.AnyRuleContext : Swift.Equatable { public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool } -public struct RuleContext { +@frozen public struct RuleContext { public var attribute: AttributeGraph.Attribute public init(attribute: AttributeGraph.Attribute) public func update(body: () -> Swift.Void) @@ -507,7 +507,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct WeakAttribute { public var base: AttributeGraph.AnyWeakAttribute public init(base: AttributeGraph.AnyWeakAttribute) public init() @@ -547,6 +547,8 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } +@_silgen_name("AGGraphInternAttributeType") +public func internAttributeType(ctx: AttributeGraph.UnownedGraphContext, body: AttributeGraph.Metadata, makeAttributeType: () -> Swift.UnsafePointer) -> Swift.UInt32 @_silgen_name("AGGraphSetOutputValue") @inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @@ -587,9 +589,6 @@ extension AttributeGraph.Graph { public static func printStack(maxFrames: Swift.Int) public static func stackDescription(maxFrames: Swift.Int) -> Swift.String } -extension AttributeGraph.Graph : @retroactive Swift.Equatable { - public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool -} extension AttributeGraph.Subgraph { public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int } @@ -609,7 +608,7 @@ extension AttributeGraph.TreeElement { } extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute - @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + @_alwaysEmitIntoClient public mutating func next() -> AttributeGraph.AnyAttribute? { let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } @@ -710,3 +709,23 @@ extension AttributeGraph.UnsafeMutableTuple { nonmutating unsafeMutableAddress } } +extension AttributeGraph.Attribute : Swift.Sendable {} +extension AttributeGraph.Attribute : Swift.BitwiseCopyable {} +extension AttributeGraph._External : Swift.Sendable {} +extension AttributeGraph._External : Swift.BitwiseCopyable {} +extension AttributeGraph.External : Swift.Sendable {} +extension AttributeGraph.External : Swift.BitwiseCopyable {} +extension AttributeGraph.IndirectAttribute : Swift.Sendable {} +extension AttributeGraph.IndirectAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.Sendable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.OptionalAttribute : Swift.Sendable {} +extension AttributeGraph.OptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.PointerOffset : Swift.Sendable {} +extension AttributeGraph.PointerOffset : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyRuleContext : Swift.Sendable {} +extension AttributeGraph.AnyRuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.RuleContext : Swift.Sendable {} +extension AttributeGraph.RuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.WeakAttribute : Swift.Sendable {} +extension AttributeGraph.WeakAttribute : Swift.BitwiseCopyable {} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface index 313e88a..f235eb7 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios-macabi.swiftinterface @@ -47,7 +47,7 @@ extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { extension AttributeGraph.AnyAttribute { public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue } -@propertyWrapper @dynamicMemberLookup public struct Attribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute { public var identifier: AttributeGraph.AnyAttribute public init(identifier: AttributeGraph.AnyAttribute) public init(_ attribute: AttributeGraph.Attribute) @@ -159,7 +159,7 @@ extension AttributeGraph._AttributeBody { public protocol AttributeBodyVisitor { mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody } -public struct _External { +@frozen public struct _External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -176,7 +176,7 @@ extension AttributeGraph._External : AttributeGraph._AttributeBody { get } } -public struct External { +@frozen public struct External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -193,7 +193,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { get } } -@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { public var identifier: AttributeGraph.AnyAttribute public init(source: AttributeGraph.Attribute) public var source: AttributeGraph.Attribute { @@ -244,7 +244,7 @@ extension AttributeGraph.ObservedAttribute { get } } -public struct AnyOptionalAttribute { +@frozen public struct AnyOptionalAttribute { public static var current: AttributeGraph.AnyOptionalAttribute { get } @@ -275,7 +275,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { public var base: AttributeGraph.AnyOptionalAttribute public init(base: AttributeGraph.AnyOptionalAttribute) public init() @@ -317,7 +317,7 @@ extension AttributeGraph.OptionalAttribute : Swift.Hashable { get } } -public struct PointerOffset { +@frozen public struct PointerOffset { public var byteOffset: Swift.Int public init(byteOffset: Swift.Int) public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset @@ -343,7 +343,7 @@ extension Swift.UnsafeMutablePointer { unsafeMutableAddress } } -public struct Focus { +@frozen public struct Focus { public var root: AttributeGraph.Attribute public var keyPath: Swift.KeyPath public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) @@ -361,7 +361,7 @@ extension AttributeGraph.Focus : Swift.CustomStringConvertible { get } } -public struct Map { +@frozen public struct Map { public var arg: AttributeGraph.Attribute public var body: (Arg) -> Value public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) @@ -437,7 +437,7 @@ extension AttributeGraph.StatefulRule { get } } -public struct AnyRuleContext { +@frozen public struct AnyRuleContext { public var attribute: AttributeGraph.AnyAttribute public init(attribute: AttributeGraph.AnyAttribute) public init(_ ruleContext: AttributeGraph.RuleContext) @@ -458,7 +458,7 @@ public struct AnyRuleContext { extension AttributeGraph.AnyRuleContext : Swift.Equatable { public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool } -public struct RuleContext { +@frozen public struct RuleContext { public var attribute: AttributeGraph.Attribute public init(attribute: AttributeGraph.Attribute) public func update(body: () -> Swift.Void) @@ -507,7 +507,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct WeakAttribute { public var base: AttributeGraph.AnyWeakAttribute public init(base: AttributeGraph.AnyWeakAttribute) public init() @@ -547,6 +547,8 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } +@_silgen_name("AGGraphInternAttributeType") +public func internAttributeType(ctx: AttributeGraph.UnownedGraphContext, body: AttributeGraph.Metadata, makeAttributeType: () -> Swift.UnsafePointer) -> Swift.UInt32 @_silgen_name("AGGraphSetOutputValue") @inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @@ -587,9 +589,6 @@ extension AttributeGraph.Graph { public static func printStack(maxFrames: Swift.Int) public static func stackDescription(maxFrames: Swift.Int) -> Swift.String } -extension AttributeGraph.Graph : @retroactive Swift.Equatable { - public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool -} extension AttributeGraph.Subgraph { public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int } @@ -609,7 +608,7 @@ extension AttributeGraph.TreeElement { } extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute - @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + @_alwaysEmitIntoClient public mutating func next() -> AttributeGraph.AnyAttribute? { let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } @@ -710,3 +709,23 @@ extension AttributeGraph.UnsafeMutableTuple { nonmutating unsafeMutableAddress } } +extension AttributeGraph.Attribute : Swift.Sendable {} +extension AttributeGraph.Attribute : Swift.BitwiseCopyable {} +extension AttributeGraph._External : Swift.Sendable {} +extension AttributeGraph._External : Swift.BitwiseCopyable {} +extension AttributeGraph.External : Swift.Sendable {} +extension AttributeGraph.External : Swift.BitwiseCopyable {} +extension AttributeGraph.IndirectAttribute : Swift.Sendable {} +extension AttributeGraph.IndirectAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.Sendable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.OptionalAttribute : Swift.Sendable {} +extension AttributeGraph.OptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.PointerOffset : Swift.Sendable {} +extension AttributeGraph.PointerOffset : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyRuleContext : Swift.Sendable {} +extension AttributeGraph.AnyRuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.RuleContext : Swift.Sendable {} +extension AttributeGraph.RuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.WeakAttribute : Swift.Sendable {} +extension AttributeGraph.WeakAttribute : Swift.BitwiseCopyable {} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index abca73e..ae0b814 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/maccatalyst-arm64_arm64e_x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -47,7 +47,7 @@ extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { extension AttributeGraph.AnyAttribute { public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue } -@propertyWrapper @dynamicMemberLookup public struct Attribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute { public var identifier: AttributeGraph.AnyAttribute public init(identifier: AttributeGraph.AnyAttribute) public init(_ attribute: AttributeGraph.Attribute) @@ -159,7 +159,7 @@ extension AttributeGraph._AttributeBody { public protocol AttributeBodyVisitor { mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody } -public struct _External { +@frozen public struct _External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -176,7 +176,7 @@ extension AttributeGraph._External : AttributeGraph._AttributeBody { get } } -public struct External { +@frozen public struct External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -193,7 +193,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { get } } -@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { public var identifier: AttributeGraph.AnyAttribute public init(source: AttributeGraph.Attribute) public var source: AttributeGraph.Attribute { @@ -244,7 +244,7 @@ extension AttributeGraph.ObservedAttribute { get } } -public struct AnyOptionalAttribute { +@frozen public struct AnyOptionalAttribute { public static var current: AttributeGraph.AnyOptionalAttribute { get } @@ -275,7 +275,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { public var base: AttributeGraph.AnyOptionalAttribute public init(base: AttributeGraph.AnyOptionalAttribute) public init() @@ -317,7 +317,7 @@ extension AttributeGraph.OptionalAttribute : Swift.Hashable { get } } -public struct PointerOffset { +@frozen public struct PointerOffset { public var byteOffset: Swift.Int public init(byteOffset: Swift.Int) public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset @@ -343,7 +343,7 @@ extension Swift.UnsafeMutablePointer { unsafeMutableAddress } } -public struct Focus { +@frozen public struct Focus { public var root: AttributeGraph.Attribute public var keyPath: Swift.KeyPath public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) @@ -361,7 +361,7 @@ extension AttributeGraph.Focus : Swift.CustomStringConvertible { get } } -public struct Map { +@frozen public struct Map { public var arg: AttributeGraph.Attribute public var body: (Arg) -> Value public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) @@ -437,7 +437,7 @@ extension AttributeGraph.StatefulRule { get } } -public struct AnyRuleContext { +@frozen public struct AnyRuleContext { public var attribute: AttributeGraph.AnyAttribute public init(attribute: AttributeGraph.AnyAttribute) public init(_ ruleContext: AttributeGraph.RuleContext) @@ -458,7 +458,7 @@ public struct AnyRuleContext { extension AttributeGraph.AnyRuleContext : Swift.Equatable { public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool } -public struct RuleContext { +@frozen public struct RuleContext { public var attribute: AttributeGraph.Attribute public init(attribute: AttributeGraph.Attribute) public func update(body: () -> Swift.Void) @@ -507,7 +507,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct WeakAttribute { public var base: AttributeGraph.AnyWeakAttribute public init(base: AttributeGraph.AnyWeakAttribute) public init() @@ -547,6 +547,8 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } +@_silgen_name("AGGraphInternAttributeType") +public func internAttributeType(ctx: AttributeGraph.UnownedGraphContext, body: AttributeGraph.Metadata, makeAttributeType: () -> Swift.UnsafePointer) -> Swift.UInt32 @_silgen_name("AGGraphSetOutputValue") @inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @@ -587,9 +589,6 @@ extension AttributeGraph.Graph { public static func printStack(maxFrames: Swift.Int) public static func stackDescription(maxFrames: Swift.Int) -> Swift.String } -extension AttributeGraph.Graph : @retroactive Swift.Equatable { - public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool -} extension AttributeGraph.Subgraph { public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int } @@ -609,7 +608,7 @@ extension AttributeGraph.TreeElement { } extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute - @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + @_alwaysEmitIntoClient public mutating func next() -> AttributeGraph.AnyAttribute? { let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } @@ -710,3 +709,23 @@ extension AttributeGraph.UnsafeMutableTuple { nonmutating unsafeMutableAddress } } +extension AttributeGraph.Attribute : Swift.Sendable {} +extension AttributeGraph.Attribute : Swift.BitwiseCopyable {} +extension AttributeGraph._External : Swift.Sendable {} +extension AttributeGraph._External : Swift.BitwiseCopyable {} +extension AttributeGraph.External : Swift.Sendable {} +extension AttributeGraph.External : Swift.BitwiseCopyable {} +extension AttributeGraph.IndirectAttribute : Swift.Sendable {} +extension AttributeGraph.IndirectAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.Sendable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.OptionalAttribute : Swift.Sendable {} +extension AttributeGraph.OptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.PointerOffset : Swift.Sendable {} +extension AttributeGraph.PointerOffset : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyRuleContext : Swift.Sendable {} +extension AttributeGraph.AnyRuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.RuleContext : Swift.Sendable {} +extension AttributeGraph.RuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.WeakAttribute : Swift.Sendable {} +extension AttributeGraph.WeakAttribute : Swift.BitwiseCopyable {} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraph.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraph.h index f558fba..80c8791 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraph.h +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGGraph.h @@ -33,7 +33,7 @@ AG_EXTERN_C_BEGIN // MARK: CFType typedef struct AG_BRIDGED_TYPE(id) AGGraphStorage *AGGraphRef AG_SWIFT_NAME(Graph); -typedef void *AGUnownedGraphContextRef AG_SWIFT_STRUCT; +typedef void *AGUnownedGraphContextRef AG_SWIFT_STRUCT AG_SWIFT_NAME(UnownedGraphContext); AG_EXPORT AG_REFINED_FOR_SWIFT diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTraceType.h b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTraceType.h index ecae4e5..d22355b 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTraceType.h +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Headers/AGTraceType.h @@ -16,7 +16,7 @@ typedef AG_ENUM(uint64_t, AGTraceTypeVersion) { AGTraceTypeVersionCompareFailed = 4, }; -typedef struct AGTraceType { +typedef struct AG_SWIFT_NAME(TraceType) AGTraceType { AGTraceTypeVersion version; void (*_Nullable begin_trace)(void *_Nullable context, AGGraphRef graph); diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface index 21f43c8..ec13440 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface @@ -47,7 +47,7 @@ extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { extension AttributeGraph.AnyAttribute { public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue } -@propertyWrapper @dynamicMemberLookup public struct Attribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute { public var identifier: AttributeGraph.AnyAttribute public init(identifier: AttributeGraph.AnyAttribute) public init(_ attribute: AttributeGraph.Attribute) @@ -159,7 +159,7 @@ extension AttributeGraph._AttributeBody { public protocol AttributeBodyVisitor { mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody } -public struct _External { +@frozen public struct _External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -176,7 +176,7 @@ extension AttributeGraph._External : AttributeGraph._AttributeBody { get } } -public struct External { +@frozen public struct External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -193,7 +193,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { get } } -@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { public var identifier: AttributeGraph.AnyAttribute public init(source: AttributeGraph.Attribute) public var source: AttributeGraph.Attribute { @@ -244,7 +244,7 @@ extension AttributeGraph.ObservedAttribute { get } } -public struct AnyOptionalAttribute { +@frozen public struct AnyOptionalAttribute { public static var current: AttributeGraph.AnyOptionalAttribute { get } @@ -275,7 +275,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { public var base: AttributeGraph.AnyOptionalAttribute public init(base: AttributeGraph.AnyOptionalAttribute) public init() @@ -317,7 +317,7 @@ extension AttributeGraph.OptionalAttribute : Swift.Hashable { get } } -public struct PointerOffset { +@frozen public struct PointerOffset { public var byteOffset: Swift.Int public init(byteOffset: Swift.Int) public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset @@ -343,7 +343,7 @@ extension Swift.UnsafeMutablePointer { unsafeMutableAddress } } -public struct Focus { +@frozen public struct Focus { public var root: AttributeGraph.Attribute public var keyPath: Swift.KeyPath public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) @@ -361,7 +361,7 @@ extension AttributeGraph.Focus : Swift.CustomStringConvertible { get } } -public struct Map { +@frozen public struct Map { public var arg: AttributeGraph.Attribute public var body: (Arg) -> Value public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) @@ -437,7 +437,7 @@ extension AttributeGraph.StatefulRule { get } } -public struct AnyRuleContext { +@frozen public struct AnyRuleContext { public var attribute: AttributeGraph.AnyAttribute public init(attribute: AttributeGraph.AnyAttribute) public init(_ ruleContext: AttributeGraph.RuleContext) @@ -458,7 +458,7 @@ public struct AnyRuleContext { extension AttributeGraph.AnyRuleContext : Swift.Equatable { public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool } -public struct RuleContext { +@frozen public struct RuleContext { public var attribute: AttributeGraph.Attribute public init(attribute: AttributeGraph.Attribute) public func update(body: () -> Swift.Void) @@ -507,7 +507,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct WeakAttribute { public var base: AttributeGraph.AnyWeakAttribute public init(base: AttributeGraph.AnyWeakAttribute) public init() @@ -547,6 +547,8 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } +@_silgen_name("AGGraphInternAttributeType") +public func internAttributeType(ctx: AttributeGraph.UnownedGraphContext, body: AttributeGraph.Metadata, makeAttributeType: () -> Swift.UnsafePointer) -> Swift.UInt32 @_silgen_name("AGGraphSetOutputValue") @inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @@ -587,9 +589,6 @@ extension AttributeGraph.Graph { public static func printStack(maxFrames: Swift.Int) public static func stackDescription(maxFrames: Swift.Int) -> Swift.String } -extension AttributeGraph.Graph : @retroactive Swift.Equatable { - public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool -} extension AttributeGraph.Subgraph { public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int } @@ -609,7 +608,7 @@ extension AttributeGraph.TreeElement { } extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute - @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + @_alwaysEmitIntoClient public mutating func next() -> AttributeGraph.AnyAttribute? { let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } @@ -710,3 +709,23 @@ extension AttributeGraph.UnsafeMutableTuple { nonmutating unsafeMutableAddress } } +extension AttributeGraph.Attribute : Swift.Sendable {} +extension AttributeGraph.Attribute : Swift.BitwiseCopyable {} +extension AttributeGraph._External : Swift.Sendable {} +extension AttributeGraph._External : Swift.BitwiseCopyable {} +extension AttributeGraph.External : Swift.Sendable {} +extension AttributeGraph.External : Swift.BitwiseCopyable {} +extension AttributeGraph.IndirectAttribute : Swift.Sendable {} +extension AttributeGraph.IndirectAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.Sendable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.OptionalAttribute : Swift.Sendable {} +extension AttributeGraph.OptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.PointerOffset : Swift.Sendable {} +extension AttributeGraph.PointerOffset : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyRuleContext : Swift.Sendable {} +extension AttributeGraph.AnyRuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.RuleContext : Swift.Sendable {} +extension AttributeGraph.RuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.WeakAttribute : Swift.Sendable {} +extension AttributeGraph.WeakAttribute : Swift.BitwiseCopyable {} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface index ff2c6c6..655340a 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface @@ -47,7 +47,7 @@ extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { extension AttributeGraph.AnyAttribute { public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue } -@propertyWrapper @dynamicMemberLookup public struct Attribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute { public var identifier: AttributeGraph.AnyAttribute public init(identifier: AttributeGraph.AnyAttribute) public init(_ attribute: AttributeGraph.Attribute) @@ -159,7 +159,7 @@ extension AttributeGraph._AttributeBody { public protocol AttributeBodyVisitor { mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody } -public struct _External { +@frozen public struct _External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -176,7 +176,7 @@ extension AttributeGraph._External : AttributeGraph._AttributeBody { get } } -public struct External { +@frozen public struct External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -193,7 +193,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { get } } -@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { public var identifier: AttributeGraph.AnyAttribute public init(source: AttributeGraph.Attribute) public var source: AttributeGraph.Attribute { @@ -244,7 +244,7 @@ extension AttributeGraph.ObservedAttribute { get } } -public struct AnyOptionalAttribute { +@frozen public struct AnyOptionalAttribute { public static var current: AttributeGraph.AnyOptionalAttribute { get } @@ -275,7 +275,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { public var base: AttributeGraph.AnyOptionalAttribute public init(base: AttributeGraph.AnyOptionalAttribute) public init() @@ -317,7 +317,7 @@ extension AttributeGraph.OptionalAttribute : Swift.Hashable { get } } -public struct PointerOffset { +@frozen public struct PointerOffset { public var byteOffset: Swift.Int public init(byteOffset: Swift.Int) public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset @@ -343,7 +343,7 @@ extension Swift.UnsafeMutablePointer { unsafeMutableAddress } } -public struct Focus { +@frozen public struct Focus { public var root: AttributeGraph.Attribute public var keyPath: Swift.KeyPath public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) @@ -361,7 +361,7 @@ extension AttributeGraph.Focus : Swift.CustomStringConvertible { get } } -public struct Map { +@frozen public struct Map { public var arg: AttributeGraph.Attribute public var body: (Arg) -> Value public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) @@ -437,7 +437,7 @@ extension AttributeGraph.StatefulRule { get } } -public struct AnyRuleContext { +@frozen public struct AnyRuleContext { public var attribute: AttributeGraph.AnyAttribute public init(attribute: AttributeGraph.AnyAttribute) public init(_ ruleContext: AttributeGraph.RuleContext) @@ -458,7 +458,7 @@ public struct AnyRuleContext { extension AttributeGraph.AnyRuleContext : Swift.Equatable { public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool } -public struct RuleContext { +@frozen public struct RuleContext { public var attribute: AttributeGraph.Attribute public init(attribute: AttributeGraph.Attribute) public func update(body: () -> Swift.Void) @@ -507,7 +507,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct WeakAttribute { public var base: AttributeGraph.AnyWeakAttribute public init(base: AttributeGraph.AnyWeakAttribute) public init() @@ -547,6 +547,8 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } +@_silgen_name("AGGraphInternAttributeType") +public func internAttributeType(ctx: AttributeGraph.UnownedGraphContext, body: AttributeGraph.Metadata, makeAttributeType: () -> Swift.UnsafePointer) -> Swift.UInt32 @_silgen_name("AGGraphSetOutputValue") @inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @@ -587,9 +589,6 @@ extension AttributeGraph.Graph { public static func printStack(maxFrames: Swift.Int) public static func stackDescription(maxFrames: Swift.Int) -> Swift.String } -extension AttributeGraph.Graph : @retroactive Swift.Equatable { - public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool -} extension AttributeGraph.Subgraph { public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int } @@ -609,7 +608,7 @@ extension AttributeGraph.TreeElement { } extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute - @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + @_alwaysEmitIntoClient public mutating func next() -> AttributeGraph.AnyAttribute? { let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } @@ -710,3 +709,23 @@ extension AttributeGraph.UnsafeMutableTuple { nonmutating unsafeMutableAddress } } +extension AttributeGraph.Attribute : Swift.Sendable {} +extension AttributeGraph.Attribute : Swift.BitwiseCopyable {} +extension AttributeGraph._External : Swift.Sendable {} +extension AttributeGraph._External : Swift.BitwiseCopyable {} +extension AttributeGraph.External : Swift.Sendable {} +extension AttributeGraph.External : Swift.BitwiseCopyable {} +extension AttributeGraph.IndirectAttribute : Swift.Sendable {} +extension AttributeGraph.IndirectAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.Sendable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.OptionalAttribute : Swift.Sendable {} +extension AttributeGraph.OptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.PointerOffset : Swift.Sendable {} +extension AttributeGraph.PointerOffset : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyRuleContext : Swift.Sendable {} +extension AttributeGraph.AnyRuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.RuleContext : Swift.Sendable {} +extension AttributeGraph.RuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.WeakAttribute : Swift.Sendable {} +extension AttributeGraph.WeakAttribute : Swift.BitwiseCopyable {} diff --git a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface index 0d6810c..7d8f690 100644 --- a/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface +++ b/CompatibilityTesting/Frameworks/AttributeGraph.xcframework/macos-arm64_arm64e_x86_64/AttributeGraph.framework/Versions/A/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface @@ -47,7 +47,7 @@ extension AttributeGraph.AnyAttribute : @retroactive Swift.Hashable { extension AttributeGraph.AnyAttribute { public typealias _ObjectiveCType = AttributeGraph.AnyAttribute.RawValue } -@propertyWrapper @dynamicMemberLookup public struct Attribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute { public var identifier: AttributeGraph.AnyAttribute public init(identifier: AttributeGraph.AnyAttribute) public init(_ attribute: AttributeGraph.Attribute) @@ -159,7 +159,7 @@ extension AttributeGraph._AttributeBody { public protocol AttributeBodyVisitor { mutating func visit(body: Swift.UnsafePointer) where Body : AttributeGraph._AttributeBody } -public struct _External { +@frozen public struct _External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -176,7 +176,7 @@ extension AttributeGraph._External : AttributeGraph._AttributeBody { get } } -public struct External { +@frozen public struct External { public init() public static func _update(_: Swift.UnsafeMutableRawPointer, attribute: AttributeGraph.AnyAttribute) } @@ -193,7 +193,7 @@ extension AttributeGraph.External : Swift.CustomStringConvertible { get } } -@propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct IndirectAttribute { public var identifier: AttributeGraph.AnyAttribute public init(source: AttributeGraph.Attribute) public var source: AttributeGraph.Attribute { @@ -244,7 +244,7 @@ extension AttributeGraph.ObservedAttribute { get } } -public struct AnyOptionalAttribute { +@frozen public struct AnyOptionalAttribute { public static var current: AttributeGraph.AnyOptionalAttribute { get } @@ -275,7 +275,7 @@ extension AttributeGraph.AnyOptionalAttribute : Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct OptionalAttribute { public var base: AttributeGraph.AnyOptionalAttribute public init(base: AttributeGraph.AnyOptionalAttribute) public init() @@ -317,7 +317,7 @@ extension AttributeGraph.OptionalAttribute : Swift.Hashable { get } } -public struct PointerOffset { +@frozen public struct PointerOffset { public var byteOffset: Swift.Int public init(byteOffset: Swift.Int) public static func of(_ member: inout Member) -> AttributeGraph.PointerOffset @@ -343,7 +343,7 @@ extension Swift.UnsafeMutablePointer { unsafeMutableAddress } } -public struct Focus { +@frozen public struct Focus { public var root: AttributeGraph.Attribute public var keyPath: Swift.KeyPath public init(root: AttributeGraph.Attribute, keyPath: Swift.KeyPath) @@ -361,7 +361,7 @@ extension AttributeGraph.Focus : Swift.CustomStringConvertible { get } } -public struct Map { +@frozen public struct Map { public var arg: AttributeGraph.Attribute public var body: (Arg) -> Value public init(_ arg: AttributeGraph.Attribute, _ body: @escaping (Arg) -> Value) @@ -437,7 +437,7 @@ extension AttributeGraph.StatefulRule { get } } -public struct AnyRuleContext { +@frozen public struct AnyRuleContext { public var attribute: AttributeGraph.AnyAttribute public init(attribute: AttributeGraph.AnyAttribute) public init(_ ruleContext: AttributeGraph.RuleContext) @@ -458,7 +458,7 @@ public struct AnyRuleContext { extension AttributeGraph.AnyRuleContext : Swift.Equatable { public static func == (lhs: AttributeGraph.AnyRuleContext, rhs: AttributeGraph.AnyRuleContext) -> Swift.Bool } -public struct RuleContext { +@frozen public struct RuleContext { public var attribute: AttributeGraph.Attribute public init(attribute: AttributeGraph.Attribute) public func update(body: () -> Swift.Void) @@ -507,7 +507,7 @@ extension AttributeGraph.AnyWeakAttribute : @retroactive Swift.Hashable { get } } -@propertyWrapper @dynamicMemberLookup public struct WeakAttribute { +@frozen @propertyWrapper @dynamicMemberLookup public struct WeakAttribute { public var base: AttributeGraph.AnyWeakAttribute public init(base: AttributeGraph.AnyWeakAttribute) public init() @@ -547,6 +547,8 @@ extension AttributeGraph.WeakAttribute : Swift.Hashable { get } } +@_silgen_name("AGGraphInternAttributeType") +public func internAttributeType(ctx: AttributeGraph.UnownedGraphContext, body: AttributeGraph.Metadata, makeAttributeType: () -> Swift.UnsafePointer) -> Swift.UInt32 @_silgen_name("AGGraphSetOutputValue") @inline(__always) @inlinable internal func AGGraphSetOutputValue(_ value: Swift.UnsafeRawPointer, of type: AttributeGraph.Metadata) extension AttributeGraph.Graph { @@ -587,9 +589,6 @@ extension AttributeGraph.Graph { public static func printStack(maxFrames: Swift.Int) public static func stackDescription(maxFrames: Swift.Int) -> Swift.String } -extension AttributeGraph.Graph : @retroactive Swift.Equatable { - public static func == (lhs: AttributeGraph.Graph, rhs: AttributeGraph.Graph) -> Swift.Bool -} extension AttributeGraph.Subgraph { public func addObserver(_ observer: @escaping () -> Swift.Void) -> Swift.Int } @@ -609,7 +608,7 @@ extension AttributeGraph.TreeElement { } extension AttributeGraph.Nodes : @retroactive Swift.IteratorProtocol { public typealias Element = AttributeGraph.AnyAttribute - @inlinable public mutating func next() -> AttributeGraph.AnyAttribute? { + @_alwaysEmitIntoClient public mutating func next() -> AttributeGraph.AnyAttribute? { let result = __AGTreeElementGetNextNode(&self) return result == .nil ? nil : result } @@ -710,3 +709,23 @@ extension AttributeGraph.UnsafeMutableTuple { nonmutating unsafeMutableAddress } } +extension AttributeGraph.Attribute : Swift.Sendable {} +extension AttributeGraph.Attribute : Swift.BitwiseCopyable {} +extension AttributeGraph._External : Swift.Sendable {} +extension AttributeGraph._External : Swift.BitwiseCopyable {} +extension AttributeGraph.External : Swift.Sendable {} +extension AttributeGraph.External : Swift.BitwiseCopyable {} +extension AttributeGraph.IndirectAttribute : Swift.Sendable {} +extension AttributeGraph.IndirectAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.Sendable {} +extension AttributeGraph.AnyOptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.OptionalAttribute : Swift.Sendable {} +extension AttributeGraph.OptionalAttribute : Swift.BitwiseCopyable {} +extension AttributeGraph.PointerOffset : Swift.Sendable {} +extension AttributeGraph.PointerOffset : Swift.BitwiseCopyable {} +extension AttributeGraph.AnyRuleContext : Swift.Sendable {} +extension AttributeGraph.AnyRuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.RuleContext : Swift.Sendable {} +extension AttributeGraph.RuleContext : Swift.BitwiseCopyable {} +extension AttributeGraph.WeakAttribute : Swift.Sendable {} +extension AttributeGraph.WeakAttribute : Swift.BitwiseCopyable {} From 8b44cb18fcae9fd8150d76af95d6a3c36f182160 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 17 Jun 2026 22:59:07 +0200 Subject: [PATCH 16/18] fixup env vars --- Tests/ComputeLayoutDescriptorTests/Shims.swift | 4 ++++ Tests/ComputeTests/Shims.swift | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Tests/ComputeLayoutDescriptorTests/Shims.swift b/Tests/ComputeLayoutDescriptorTests/Shims.swift index 5c0effc..3e3f732 100644 --- a/Tests/ComputeLayoutDescriptorTests/Shims.swift +++ b/Tests/ComputeLayoutDescriptorTests/Shims.swift @@ -1 +1,5 @@ @_exported public import Compute + +let prefetchLayoutsEnvironmentVariable = "IAG_PREFETCH_LAYOUTS" +let asyncLayoutsEnvironmentVariable = "IAG_ASYNC_LAYOUTS" +let printLayoutsEnvironmentVariable = "IAG_PRINT_LAYOUTS" diff --git a/Tests/ComputeTests/Shims.swift b/Tests/ComputeTests/Shims.swift index 5c0effc..3e3f732 100644 --- a/Tests/ComputeTests/Shims.swift +++ b/Tests/ComputeTests/Shims.swift @@ -1 +1,5 @@ @_exported public import Compute + +let prefetchLayoutsEnvironmentVariable = "IAG_PREFETCH_LAYOUTS" +let asyncLayoutsEnvironmentVariable = "IAG_ASYNC_LAYOUTS" +let printLayoutsEnvironmentVariable = "IAG_PRINT_LAYOUTS" From 0130d601e723459a64637973418c017def197791 Mon Sep 17 00:00:00 2001 From: James Moschou Date: Thu, 18 Jun 2026 09:46:28 +0200 Subject: [PATCH 17/18] Fix UtilitiesTests C++ interop when using OSS toolchain --- .../Utilities/include/Utilities/HashTable.h | 7 +- Sources/Utilities/include/Utilities/Heap.h | 7 +- Sources/Utilities/include/Utilities/List.h | 7 +- .../include/Utilities/SwiftBridging.h | 311 ++++++++++++++++++ 4 files changed, 314 insertions(+), 18 deletions(-) create mode 100644 Sources/Utilities/include/Utilities/SwiftBridging.h diff --git a/Sources/Utilities/include/Utilities/HashTable.h b/Sources/Utilities/include/Utilities/HashTable.h index d188135..85e0a9b 100644 --- a/Sources/Utilities/include/Utilities/HashTable.h +++ b/Sources/Utilities/include/Utilities/HashTable.h @@ -1,12 +1,7 @@ #pragma once -#if __has_include() -#include -#else -#define SWIFT_UNSAFE_REFERENCE -#endif - #include +#include UTIL_ASSUME_NONNULL_BEGIN diff --git a/Sources/Utilities/include/Utilities/Heap.h b/Sources/Utilities/include/Utilities/Heap.h index 9565cd0..c6b6b1d 100644 --- a/Sources/Utilities/include/Utilities/Heap.h +++ b/Sources/Utilities/include/Utilities/Heap.h @@ -1,12 +1,7 @@ #pragma once -#if __has_include() -#include -#else -#define SWIFT_UNSAFE_REFERENCE -#endif - #include +#include UTIL_ASSUME_NONNULL_BEGIN diff --git a/Sources/Utilities/include/Utilities/List.h b/Sources/Utilities/include/Utilities/List.h index 2013e39..2e58aa2 100644 --- a/Sources/Utilities/include/Utilities/List.h +++ b/Sources/Utilities/include/Utilities/List.h @@ -1,13 +1,8 @@ #pragma once -#if __has_include() -#include -#else -#define SWIFT_UNSAFE_REFERENCE -#endif - #include #include +#include UTIL_ASSUME_NONNULL_BEGIN diff --git a/Sources/Utilities/include/Utilities/SwiftBridging.h b/Sources/Utilities/include/Utilities/SwiftBridging.h new file mode 100644 index 0000000..05eca1b --- /dev/null +++ b/Sources/Utilities/include/Utilities/SwiftBridging.h @@ -0,0 +1,311 @@ +#if __has_include() +#include +#else + +// Copied from https://github.com/swiftlang/swift/blob/release/6.3/lib/ClangImporter/SwiftBridging/swift/bridging + +// -*- C -*- +//===------------------ bridging - C and Swift Interop ----------*- C++ -*-===// +// +// This source file is part of the Swift.org open source project +// +// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors +// Licensed under Apache License v2.0 with Runtime Library Exception +// +// See https://swift.org/LICENSE.txt for license information +// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors +// +//===----------------------------------------------------------------------===// +// +// This file provides common utilities and annotations that are useful for C++ +// codebases that interoperate with Swift. +// +//===----------------------------------------------------------------------===// +#ifndef SWIFT_CLANGIMPORTER_SWIFT_INTEROP_SUPPORT_H +#define SWIFT_CLANGIMPORTER_SWIFT_INTEROP_SUPPORT_H + +#ifdef __has_attribute +#define _CXX_INTEROP_HAS_ATTRIBUTE(x) __has_attribute(x) +#else +#define _CXX_INTEROP_HAS_ATTRIBUTE(x) 0 +#endif + +#if _CXX_INTEROP_HAS_ATTRIBUTE(swift_attr) + +/// Specifies that a C++ `class` or `struct` owns and controls the lifetime of all +/// of the objects it references. Such type should not reference any objects whose +/// lifetime is controlled externally. This annotation allows Swift to import methods +/// that return a `class` or `struct` type that is annotated with this macro. +#define SWIFT_SELF_CONTAINED __attribute__((swift_attr("import_owned"))) + +/// Specifies that a method returns a value that is presumed to contain +/// objects whose lifetime is not dependent on `this` or other parameters passed +/// to the method. +#define SWIFT_RETURNS_INDEPENDENT_VALUE __attribute__((swift_attr("import_unsafe"))) + +#define _CXX_INTEROP_STRINGIFY(_x) #_x + +#define _CXX_INTEROP_CONCAT_(a,b,c,d,e,f,g,i,j,k,l,m,n,o,p,...) \ + #a "," #b "," #c "," #d "," #e "," #f "," #g "," #i "," #j "," #k "," \ + #l "," #m "," #n "," #o "," #p +#define _CXX_INTEROP_CONCAT(...) \ + _CXX_INTEROP_CONCAT_(__VA_ARGS__,,,,,,,,,,,,,,,,,) + +/// Specifies that a `class` or `struct` is reference-counted using +/// the given `retain` and `release` functions. This annotation lets Swift import +/// such a type as reference counted type in Swift, taking advantage of Swift's +/// automatic reference counting. +/// +/// This example shows how to use this macro to let Swift know that +/// a reference counted C++ class can be imported as a reference counted type in Swift: +/// ```c++ +/// class SWIFT_SHARED_REFERENCE(retainSharedObject, releaseSharedObject) +/// SharedObject : IntrusiveReferenceCounted { +/// public: +/// static SharedObject* create(); +/// void doSomething(); +/// }; +/// +/// void retainSharedObject(SharedObject *); +/// void releaseSharedObject(SharedObject *); +/// ``` +/// +/// Then, the Swift programmer would be able to use it in the following manner: +/// +/// ```swift +/// let object = SharedObject.create() +/// object.doSomething() +/// // The Swift compiler will release object here. +/// ``` +#define SWIFT_SHARED_REFERENCE(_retain, _release) \ + __attribute__((swift_attr("import_reference"))) \ + __attribute__((swift_attr(_CXX_INTEROP_STRINGIFY(retain:_retain)))) \ + __attribute__((swift_attr(_CXX_INTEROP_STRINGIFY(release:_release)))) + +/// Specifies that a `class` or `struct` is a reference type whose lifetime +/// is presumed to be immortal, i.e. the reference to such object is presumed to +/// always be valid. This annotation lets Swift import such a type as a reference +/// type in Swift. +//// +/// This example shows how to use this macro to let Swift know that +/// a singleton C++ class can be imported as a reference type in Swift: +/// ```c++ +/// class SWIFT_IMMORTAL_REFERENCE LoggerSingleton { +/// public: +/// static LoggerSingleton &getInstance(); +/// void log(int x); +/// }; +/// ``` +/// +/// Then, the Swift programmer would be able to use it in the following manner: +/// +/// ```swift +/// let logger = LoggerSingleton.getInstance() +/// logger.log(123) +/// ``` +#define SWIFT_IMMORTAL_REFERENCE \ + __attribute__((swift_attr("import_reference"))) \ + __attribute__((swift_attr("retain:immortal"))) \ + __attribute__((swift_attr("release:immortal"))) + +/// Specifies that a `class` or `struct` is a reference type whose lifetime +/// is not managed automatically. The programmer must validate that any reference +/// to such object is valid themselves. This annotation lets Swift import such a type as a reference type in Swift. +#define SWIFT_UNSAFE_REFERENCE \ + __attribute__((swift_attr("import_reference"))) \ + __attribute__((swift_attr("retain:immortal"))) \ + __attribute__((swift_attr("release:immortal"))) \ + __attribute__((swift_attr("unsafe"))) + +/// Specifies a name that will be used in Swift for this declaration instead of its original name. +#define SWIFT_NAME(_name) __attribute__((swift_name(#_name))) + +/// Specifies that a specific `class` or `struct` conforms to a +/// a specific Swift protocol. +/// +/// This example shows how to use this macro to conform a class template to a Swift protocol: +/// ``` +/// template +/// class SWIFT_CONFORMS_TO_PROTOCOL(SwiftModule.ProtocolName) +/// CustomClass {}; +/// ``` +#define SWIFT_CONFORMS_TO_PROTOCOL(_moduleName_protocolName) \ + __attribute__((swift_attr(_CXX_INTEROP_STRINGIFY(conforms_to:_moduleName_protocolName)))) + +/// Specifies that a specific C++ method should be imported as a computed +/// property. If this macro is specified on a getter, a getter will be +/// synthesized. If this macro is specified on a setter, both a getter and +/// setter will be synthesized. +/// +/// For example: +/// ``` +/// int getX() SWIFT_COMPUTED_PROPERTY; +/// ``` +/// Will be imported as `var x: CInt {...}`. +#define SWIFT_COMPUTED_PROPERTY \ + __attribute__((swift_attr("import_computed_property"))) + +/// Specifies that a specific **constant** C++ member function should be imported as +/// `mutating` Swift method. This annotation should be added to constant C++ member functions +/// that mutate `mutable` fields in a C++ object, to let Swift know that this function is still mutating +/// and thus that it should become a `mutating` method in Swift. +#define SWIFT_MUTATING \ + __attribute__((swift_attr("mutating"))) + +/// Specifies that a specific class or struct should be imported as type marked +/// as `@unchecked Sendable` type in swift. If this annotation is used, the type is therefore allowed to +/// use safely across async contexts. +/// +/// For example +/// ``` +/// class SWIFT_UNCHECKED_SENDABLE CustomUserType +/// { ... } +/// ``` +/// Will be imported as `struct CustomUserType: @unchecked Sendable` +#define SWIFT_UNCHECKED_SENDABLE \ + __attribute__((swift_attr("@Sendable"))) + +/// Specifies that a `class` or `struct` should be imported as a non-copyable +/// Swift value type. +#define SWIFT_NONCOPYABLE \ + __attribute__((swift_attr("~Copyable"))) + +/// Specifies that a `class` or `struct` should be imported as a non-copyable +/// Swift value type that calls the given `_destroy` function when a value is no +/// longer used. +/// +/// This example shows how to use this macro to let Swift know that +/// a given C struct should have its members freed when it goes out of scope: +/// ```c +/// typedef struct SWIFT_NONCOPYABLE_WITH_DESTROY(mytypeFreeMembers) MyType { +/// void *storage +/// } MyType; +/// +/// void mytypeFreeMembers(MyType toBeDestroyed); +/// MyType mytypeCreate(void); +/// ``` +/// +/// Usage in Swift: +/// ```swift +/// let mt = mytypeCreate() +/// let mt2 = mt // consumes mt +/// // once mt2 is unused, Swift will call mytypeFreeMembers(mt2) +/// ``` +#define SWIFT_NONCOPYABLE_WITH_DESTROY(_destroy) \ + __attribute__((swift_attr("~Copyable"))) \ + __attribute__((swift_attr(_CXX_INTEROP_STRINGIFY(destroy:_destroy)))) + +/// Specifies that a C++ `class` or `struct` should be imported as a copyable +/// Swift value if all of the specified template arguments are copyable. +#define SWIFT_COPYABLE_IF(...) \ + __attribute__((swift_attr("copyable_if:" _CXX_INTEROP_CONCAT(__VA_ARGS__)))) + +/// Specifies that a specific class or struct should be imported +/// as a non-escapable Swift value type. +#define SWIFT_NONESCAPABLE \ + __attribute__((swift_attr("~Escapable"))) + +/// Specifies that a specific class or struct should be imported +/// as an escapable Swift value. While this matches the default behavior, +/// in safe mode interop mode it ensures that the type is not marked as +/// unsafe. +#define SWIFT_ESCAPABLE \ + __attribute__((swift_attr("Escapable"))) + +/// Specifies that a C++ `class` or `struct` should be imported as a escapable +/// Swift value if all of the specified template arguments are escapable. +#define SWIFT_ESCAPABLE_IF(...) \ + __attribute__((swift_attr("escapable_if:" _CXX_INTEROP_CONCAT(__VA_ARGS__)))) + +/// Specifies that the return value is passed as owned for functions and +/// methods returning types annotated as `SWIFT_SHARED_REFERENCE` +#define SWIFT_RETURNS_RETAINED __attribute__((swift_attr("returns_retained"))) +/// Specifies that the return value is passed as unowned for functions and +/// methods returning types annotated as `SWIFT_SHARED_REFERENCE` +#define SWIFT_RETURNS_UNRETAINED \ + __attribute__((swift_attr("returns_unretained"))) + +/// Applied to a foreign reference type annotated with +/// SWIFT_SHARED_REFERENCE. Indicates that APIs returning this type are +/// assumed to return an unowned (+0) value by default, unless explicitly annotated +/// with SWIFT_RETURNS_RETAINED. +/// +/// For example: +/// ```c++ +/// struct SWIFT_SHARED_REFERENCE(retainBar, releaseBar) +/// SWIFT_RETURNED_AS_UNRETAINED_BY_DEFAULT +/// Bar { ... }; +/// ``` +/// +/// In Swift, APIs returning `Bar*` will be assumed to return an unowned +/// value. +#define SWIFT_RETURNED_AS_UNRETAINED_BY_DEFAULT \ + __attribute__((swift_attr("returned_as_unretained_by_default"))) + +/// Specifies that the non-public members of a C++ class, struct, or union can +/// be accessed from extensions of that type, in the given file ID. +/// +/// In other words, Swift's access controls will behave as if the non-public +/// members of the annotated C++ class were privated declared in the specified +/// Swift source file, rather than in a C++ header file/Clang module. +/// +/// For example, we can annotate a C++ class definition like this: +/// +/// ```c++ +/// class SWIFT_PRIVATE_FILEID("MySwiftModule/MySwiftFile.swift") +/// MyCxxClass { +/// private: +/// void privateMethod(); +/// int privateStorage; +/// }; +/// ``` +/// +/// Then, Swift extensions of `MyCxxClass` in `MySwiftModule/MySwiftFile.swift` +/// are allowed to access `privateMethod()` and `privateStorage`: +/// +/// ```swift +/// //-- MySwiftModule/SwiftFile.swift +/// extension MyCxxClass { +/// func ext() { +/// privateMethod() +/// print("\(privateStorage)") +/// } +/// } +/// ``` +/// +/// Non-public access is still forbidden outside of extensions and outside of +/// the designated file ID. +#define SWIFT_PRIVATE_FILEID(_fileID) \ + __attribute__((swift_attr("private_fileid:" _fileID))) + +#else // #if _CXX_INTEROP_HAS_ATTRIBUTE(swift_attr) + +// Empty defines for compilers that don't support `attribute(swift_attr)`. +#define SWIFT_SELF_CONTAINED +#define SWIFT_RETURNS_INDEPENDENT_VALUE +#define SWIFT_SHARED_REFERENCE(_retain, _release) +#define SWIFT_IMMORTAL_REFERENCE +#define SWIFT_UNSAFE_REFERENCE +#define SWIFT_NAME(_name) +#define SWIFT_CONFORMS_TO_PROTOCOL(_moduleName_protocolName) +#define SWIFT_COMPUTED_PROPERTY +#define SWIFT_MUTATING +#define SWIFT_UNCHECKED_SENDABLE +#define SWIFT_NONCOPYABLE +#define SWIDT_NONCOPYABLE_WITH_DESTROY(_destroy) +#define SWIFT_COPYABLE_IF(...) +#define SWIFT_NONESCAPABLE +#define SWIFT_ESCAPABLE +#define SWIFT_ESCAPABLE_IF(...) +#define SWIFT_RETURNS_RETAINED +#define SWIFT_RETURNS_UNRETAINED +#define SWIFT_RETURNED_AS_UNRETAINED_BY_DEFAULT +#define SWIFT_PRIVATE_FILEID(_fileID) + +#endif // #if _CXX_INTEROP_HAS_ATTRIBUTE(swift_attr) + +#undef _CXX_INTEROP_HAS_ATTRIBUTE + +#endif // SWIFT_CLANGIMPORTER_SWIFT_INTEROP_SUPPORT_H + +#endif From 96415b7f4678a956624937a059836f3de65d6c9d Mon Sep 17 00:00:00 2001 From: James Moschou Date: Thu, 18 Jun 2026 09:50:08 +0200 Subject: [PATCH 18/18] Run tests in GitHub actions --- .github/workflows/swift.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index cb4659b..493e59e 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -21,6 +21,11 @@ jobs: submodules: true - name: Build run: swift build + - name: Test + run: swift test + - name: Test Compatibility + working-directory: ./CompatibilityTesting + run: swift test - name: Build XCFramework run: ./Scripts/create-xcframework.sh - name: Upload XCFramework @@ -47,3 +52,5 @@ jobs: submodules: true - name: Build run: swift build + - name: Test + run: swift test