SwiftExtensions.swift 641 B

1234567891011121314151617
  1. //===----------------------------------------------------------------------===//
  2. //
  3. // This source file is part of the Swift Argument Parser open source project
  4. //
  5. // Copyright (c) 2020 Apple Inc. and the Swift project authors
  6. // Licensed under Apache License v2.0 with Runtime Library Exception
  7. //
  8. // See https://swift.org/LICENSE.txt for license information
  9. //
  10. //===----------------------------------------------------------------------===//
  11. #if compiler(>=6.2)
  12. /// Designates a type as having a sendable metatype.
  13. @_marker public protocol _SendableMetatype: SendableMetatype {}
  14. #else
  15. @_marker public protocol _SendableMetatype {}
  16. #endif