mirror of
https://github.com/apple/swift-atomics
synced 2026-11-24 04:27:48 +00:00
Mark the additional Bool methods as public
…inline with the static methods on AtomicStorage and AtomicIntegerStorage.
This commit is contained in:
1 parent
3e95ba32cd
commit
7e101a5653
2 files changed
+4
-4
No files matched your search
@@ -202,7 +202,7 @@ extension Bool.AtomicRepresentation {
|
||||
/// - Returns: The original value before the operation.
|
||||
@_semantics("atomics.requires_constant_orderings")
|
||||
@_transparent @_alwaysEmitIntoClient
|
||||
static func atomicLoadThen${name}(
|
||||
public static func atomicLoadThen${name}(
|
||||
${label} operand: Value,
|
||||
at pointer: UnsafeMutablePointer<Self>,
|
||||
ordering: AtomicUpdateOrdering
|
||||
|
||||
@@ -358,7 +358,7 @@ extension Bool.AtomicRepresentation {
|
||||
/// - Returns: The original value before the operation.
|
||||
@_semantics("atomics.requires_constant_orderings")
|
||||
@_transparent @_alwaysEmitIntoClient
|
||||
static func atomicLoadThenLogicalAnd(
|
||||
public static func atomicLoadThenLogicalAnd(
|
||||
with operand: Value,
|
||||
at pointer: UnsafeMutablePointer<Self>,
|
||||
ordering: AtomicUpdateOrdering
|
||||
@@ -399,7 +399,7 @@ extension Bool.AtomicRepresentation {
|
||||
/// - Returns: The original value before the operation.
|
||||
@_semantics("atomics.requires_constant_orderings")
|
||||
@_transparent @_alwaysEmitIntoClient
|
||||
static func atomicLoadThenLogicalOr(
|
||||
public static func atomicLoadThenLogicalOr(
|
||||
with operand: Value,
|
||||
at pointer: UnsafeMutablePointer<Self>,
|
||||
ordering: AtomicUpdateOrdering
|
||||
@@ -440,7 +440,7 @@ extension Bool.AtomicRepresentation {
|
||||
/// - Returns: The original value before the operation.
|
||||
@_semantics("atomics.requires_constant_orderings")
|
||||
@_transparent @_alwaysEmitIntoClient
|
||||
static func atomicLoadThenLogicalXor(
|
||||
public static func atomicLoadThenLogicalXor(
|
||||
with operand: Value,
|
||||
at pointer: UnsafeMutablePointer<Self>,
|
||||
ordering: AtomicUpdateOrdering
|
||||
|
||||
Reference in new issue
Block a user