mirror of
https://github.com/apple/swift-collections
synced 2026-11-29 05:14:20 +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
|
||||
|
||||
/// A set of `_Bucket` values, represented by a 32-bit wide bitset.
|
||||
@usableFromInline
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
extension _HashNode {
|
||||
@usableFromInline
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
extension _HashNode {
|
||||
@inlinable @inline(__always)
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
/// A base representation of a hash tree node, capturing functionality
|
||||
/// independent of the `Key` and `Value` types.
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
extension _HashNode {
|
||||
@inlinable
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
extension _HashNode {
|
||||
@inlinable
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import _CollectionsUtilities
|
||||
#endif
|
||||
|
||||
/// An unsafe, unowned, type-erased reference to a hash tree node; essentially
|
||||
/// just a lightweight wrapper around `Unmanaged<_RawHashStorage>`.
|
||||
|
||||
Reference in new issue
Block a user