Skip to content

Commit

Permalink
enable @_implementationOnly for Swift 5.3 (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
weissi authored Jan 16, 2020
1 parent 75f7b54 commit cf54f5c
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Sources/NIOSSL/ByteBufferBIO.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

import NIO
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/NIOSSLHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

import NIO
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLCallbacks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLCertificate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
@_implementationOnly import CNIOBoringSSLShims
#else
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

import NIO
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

import NIO
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
@_implementationOnly import CNIOBoringSSLShims
#else
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLInit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLPKCS12Bundle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLPrivateKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/SSLPublicKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
import NIO

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSL/TLSConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Tests/NIOSSLTests/ByteBufferBIOTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import XCTest
import NIO
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Tests/NIOSSLTests/NIOSSLALPNTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

import XCTest
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Tests/NIOSSLTests/NIOSSLIntegrationTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

import XCTest
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Tests/NIOSSLTests/NIOSSLTestHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

import Foundation
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down
2 changes: 1 addition & 1 deletion Tests/NIOSSLTests/TLSConfigurationTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

import XCTest
#if compiler(>=5.1) && compiler(<5.2)
#if compiler(>=5.1) && compiler(<5.3)
@_implementationOnly import CNIOBoringSSL
#else
import CNIOBoringSSL
Expand Down

0 comments on commit cf54f5c

Please sign in to comment.