Skip to content

Commit

Permalink
#154 Improve Embedded Swift support
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Nov 7, 2024
1 parent 46992c0 commit 6208f2e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions Sources/Bluetooth/SFloat.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
// Copyright © 2018 PureSwift. All rights reserved.
//

#if canImport(Foundation)
import Foundation
#endif

#if !os(macOS) && !(os(iOS) && targetEnvironment(macCatalyst))
@available(iOS 14.0, watchOS 7.0, tvOS 14.0, *)
@available(macOS, unavailable)
Expand Down
4 changes: 0 additions & 4 deletions Sources/Bluetooth/Unit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
// Copyright © 2018 PureSwift. All rights reserved.
//

#if canImport(Foundation)
import Foundation
#endif

/// Type that represents a unit of measurement defined by Bluetooth.
public protocol BluetoothUnit: RawRepresentable {

Expand Down
4 changes: 0 additions & 4 deletions Sources/Bluetooth/UnitIdentifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
// Copyright © 2018 PureSwift. All rights reserved.
//

#if canImport(Foundation)
import Foundation
#endif

@frozen
public struct UnitIdentifier: RawRepresentable, Equatable, Hashable, Sendable {

Expand Down

0 comments on commit 6208f2e

Please sign in to comment.