mirror of
https://github.com/apple/swift-foundation.git
synced 2025-05-17 02:22:10 +08:00
23 lines
657 B
Swift
23 lines
657 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2024 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#if FOUNDATION_FRAMEWORK
|
|
|
|
internal import os
|
|
|
|
/// Wrapper for OSLog until it is marked as Sendable.
|
|
package struct SendableOSLog : @unchecked Sendable {
|
|
init(_ log: OSLog) { self.log = log }
|
|
let log: OSLog
|
|
}
|
|
|
|
#endif
|