mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
Introduce COLLECTIONS_SINGLE_MODULE condition
This commit is contained in:
103 files changed
+276
-38
No files matched your search
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
internal struct _ChunkedBitsForwardIterator {
|
||||
internal typealias _BitPosition = _UnsafeBitSet.Index
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
extension BitArray {
|
||||
internal mutating func _copy(
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
extension BitArray {
|
||||
/// True if consistency checking is enabled in the implementation of this
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
extension BitArray {
|
||||
/// An unsafe-unowned bitarray view over `UInt` storage, providing bit array
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
/// An ordered, random-access collection of `Bool` values, implemented as an
|
||||
/// uncompressed bitmap of as many bits as the count of the array.
|
||||
|
||||
Reference in new issue
Block a user