Skip to content

Commit 224aec5

Browse files
committed
---
yaml --- r: 347631 b: refs/heads/master c: c9ecad1 h: refs/heads/master i: 347629: c8f81a7 347627: 0e9a280 347623: 39f4980 347615: 49937c7
1 parent 7e456ca commit 224aec5

12 files changed

+19
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d9602be71598fe7fb927202077b0615b8007bbc5
2+
refs/heads/master: c9ecad182aad65462ac513f0004cf4e8587e4fb3
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/stdlib/public/Darwin/Accelerate/Accelerate.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ public enum vDSP {}
1717
public enum vForce {}
1818

1919
extension vDSP {
20+
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)
2021
public struct VectorizableFloat {
2122
public typealias Scalar = Float
2223
}
23-
24+
25+
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)
2426
public struct VectorizableDouble {
2527
public typealias Scalar = Double
2628
}

trunk/stdlib/public/Darwin/Accelerate/vDSP_Biquad.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
14-
import Accelerate
15-
1613
//===----------------------------------------------------------------------===//
1714
//
1815
// Biquad Structure
@@ -240,9 +237,12 @@ public protocol vDSP_FloatingPointBiquadFilterable: BinaryFloatingPoint {
240237
associatedtype BiquadFunctions: vDSP_BiquadFunctions where BiquadFunctions.Scalar == Self
241238
}
242239

240+
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)
243241
extension Float: vDSP_FloatingPointBiquadFilterable {
244242
public typealias BiquadFunctions = vDSP.VectorizableFloat
245243
}
244+
245+
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)
246246
extension Double: vDSP_FloatingPointBiquadFilterable {
247247
public typealias BiquadFunctions = vDSP.VectorizableDouble
248248
}

trunk/stdlib/public/Darwin/Accelerate/vDSP_ClippingLimitThreshold.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ extension vDSP {
305305
}
306306

307307
// MARK: Vector threshold.
308-
308+
309+
@available(iOS 9999, macOS 9999, tvOS 9999, watchOS 9999, *)
309310
public enum ThresholdRule<T: BinaryFloatingPoint> {
310311
/// Returns threshold if input is less than threshold; otherwise input value.
311312
case clampToThreshold

trunk/stdlib/public/Darwin/Accelerate/vDSP_Conversion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ extension vDSP {
339339
}
340340

341341
// MARK: Floating-point to integer conversion
342-
342+
@available(iOS 9999, macOS 9999, tvOS 9999, watchOS 9999, *)
343343
public enum RoundingMode {
344344
case towardZero
345345
case towardNearestInteger

trunk/stdlib/public/Darwin/Accelerate/vDSP_DCT.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
import Accelerate
14-
1513
extension vDSP {
1614

1715
/// An enum that specifies which DCT variant to perform.
@@ -132,6 +130,7 @@ fileprivate protocol vDSP_DCTFunctions {
132130
U.Element == Scalar, V.Element == Scalar
133131
}
134132

133+
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)
135134
extension vDSP.VectorizableFloat: vDSP_DCTFunctions {
136135

137136
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)

trunk/stdlib/public/Darwin/Accelerate/vDSP_DFT.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ extension vDSP {
2020

2121
/// An enumeration that specifies whether to perform complex-to-complex or
2222
/// complex-to-real discrete Fourier transform.
23+
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)
24+
// TODO: Should probably be @_frozen; check with Accelerate.
2325
public enum DFTTransformType {
2426
/// Specifies complex-to-complex discrete Fourier transform, forward
2527
/// or inverse

trunk/stdlib/public/Darwin/Accelerate/vDSP_FFT.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
import Accelerate
14-
1513
//===----------------------------------------------------------------------===//
1614
//
1715
// 1D and 2D Fast Fourier Transform
@@ -22,6 +20,7 @@ import Accelerate
2220
extension vDSP {
2321

2422
/// An enumeration that defines the size of the FFT decomposition.
23+
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)
2524
public enum Radix {
2625
case radix2
2726
case radix3

trunk/stdlib/public/Darwin/Accelerate/vDSP_FFT_DFT_Common.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
extension vDSP {
14-
14+
@available(iOS 9999, macOS 9999, tvOS 9999, watchOS 9999, *)
1515
public enum FourierTransformDirection {
1616
case forward
1717
case inverse

trunk/stdlib/public/Darwin/Accelerate/vDSP_FillClearGenerate.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ extension vDSP {
9898
}
9999

100100
/// Enum specifying window sequence.
101+
@available(iOS 9999, macOS 9999, tvOS 9999, watchOS 9999, *)
101102
public enum WindowSequence {
102103
/// Creates a normalized Hanning window.
103104
case hanningNormalized

trunk/stdlib/public/Darwin/Accelerate/vDSP_Integration.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
extension vDSP {
14+
15+
@available(iOS 9999, OSX 9999, tvOS 9999, watchOS 9999, *)
1416
public enum IntegrationRule {
1517
case runningSum
1618
case simpson

trunk/stdlib/public/Darwin/Accelerate/vDSP_SingleVectorOperations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ extension vDSP {
606606
}
607607

608608
// MARK: Sorting
609-
609+
@available(iOS 9999, macOS 9999, tvOS 9999, watchOS 9999, *)
610610
public enum SortOrder: Int32 {
611611
case ascending = 1
612612
case descending = -1

0 commit comments

Comments
 (0)