Skip to content

Commit 0528edb

Browse files
committed
Add AGGraphAnyInputsChanged API
1 parent e12014b commit 0528edb

File tree

29 files changed

+147
-0
lines changed

29 files changed

+147
-0
lines changed

AG/2021/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#define AG_COUNTED_BY(N) __counted_by(N)
47+
4648
#include <CoreFoundation/CoreFoundation.h>
4749
#include <TargetConditionals.h>
4850
#ifndef TARGET_OS_DARWIN

AG/2021/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Headers/AGGraph.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ AG_EXPORT
103103
AG_REFINED_FOR_SWIFT
104104
void AGGraphSetNeedsUpdate(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.setNeedsUpdate(self:));
105105

106+
AG_EXPORT
107+
AG_REFINED_FOR_SWIFT
108+
bool AGGraphAnyInputsChanged(const AGAttribute *inputs AG_COUNTED_BY(count), size_t count);
109+
106110
AG_EXTERN_C_END
107111

108112
AG_ASSUME_NONNULL_END

AG/2021/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios.swiftinterface

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ extension AnyAttribute : Swift.CustomStringConvertible {
4242
}
4343
}
4444
public typealias AttributeUpdateBlock = () -> (Swift.UnsafeMutableRawPointer, AnyAttribute) -> Swift.Void
45+
extension Swift.Array where Element == AnyAttribute {
46+
@_transparent public var anyInputsChanged: Swift.Bool {
47+
@_transparent get {
48+
__AGGraphAnyInputsChanged(self, count)
49+
}
50+
}
51+
}
4552
@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute<Value> {
4653
public var identifier: AnyAttribute
4754
public init(identifier: AnyAttribute)

AG/2021/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-ios.swiftinterface

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ extension AnyAttribute : Swift.CustomStringConvertible {
4242
}
4343
}
4444
public typealias AttributeUpdateBlock = () -> (Swift.UnsafeMutableRawPointer, AnyAttribute) -> Swift.Void
45+
extension Swift.Array where Element == AnyAttribute {
46+
@_transparent public var anyInputsChanged: Swift.Bool {
47+
@_transparent get {
48+
__AGGraphAnyInputsChanged(self, count)
49+
}
50+
}
51+
}
4552
@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute<Value> {
4653
public var identifier: AnyAttribute
4754
public init(identifier: AnyAttribute)

AG/2021/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#define AG_COUNTED_BY(N) __counted_by(N)
47+
4648
#include <CoreFoundation/CoreFoundation.h>
4749
#include <TargetConditionals.h>
4850
#ifndef TARGET_OS_DARWIN

AG/2021/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGGraph.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ AG_EXPORT
103103
AG_REFINED_FOR_SWIFT
104104
void AGGraphSetNeedsUpdate(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.setNeedsUpdate(self:));
105105

106+
AG_EXPORT
107+
AG_REFINED_FOR_SWIFT
108+
bool AGGraphAnyInputsChanged(const AGAttribute *inputs AG_COUNTED_BY(count), size_t count);
109+
106110
AG_EXTERN_C_END
107111

108112
AG_ASSUME_NONNULL_END

AG/2021/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ extension AnyAttribute : Swift.CustomStringConvertible {
4242
}
4343
}
4444
public typealias AttributeUpdateBlock = () -> (Swift.UnsafeMutableRawPointer, AnyAttribute) -> Swift.Void
45+
extension Swift.Array where Element == AnyAttribute {
46+
@_transparent public var anyInputsChanged: Swift.Bool {
47+
@_transparent get {
48+
__AGGraphAnyInputsChanged(self, count)
49+
}
50+
}
51+
}
4552
@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute<Value> {
4653
public var identifier: AnyAttribute
4754
public init(identifier: AnyAttribute)

AG/2021/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ extension AnyAttribute : Swift.CustomStringConvertible {
4242
}
4343
}
4444
public typealias AttributeUpdateBlock = () -> (Swift.UnsafeMutableRawPointer, AnyAttribute) -> Swift.Void
45+
extension Swift.Array where Element == AnyAttribute {
46+
@_transparent public var anyInputsChanged: Swift.Bool {
47+
@_transparent get {
48+
__AGGraphAnyInputsChanged(self, count)
49+
}
50+
}
51+
}
4552
@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute<Value> {
4653
public var identifier: AnyAttribute
4754
public init(identifier: AnyAttribute)

AG/2021/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#define AG_COUNTED_BY(N) __counted_by(N)
47+
4648
#include <CoreFoundation/CoreFoundation.h>
4749
#include <TargetConditionals.h>
4850
#ifndef TARGET_OS_DARWIN

AG/2021/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGGraph.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ AG_EXPORT
103103
AG_REFINED_FOR_SWIFT
104104
void AGGraphSetNeedsUpdate(AGGraphRef graph) AG_SWIFT_NAME(AGGraphRef.setNeedsUpdate(self:));
105105

106+
AG_EXPORT
107+
AG_REFINED_FOR_SWIFT
108+
bool AGGraphAnyInputsChanged(const AGAttribute *inputs AG_COUNTED_BY(count), size_t count);
109+
106110
AG_EXTERN_C_END
107111

108112
AG_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)