From 7e101a5653b91a91d84ff9cf4f5303e0fa9c1938 Mon Sep 17 00:00:00 2001 From: Akis Kesoglou Date: Sun, 14 Mar 2021 19:12:10 +0200 Subject: [PATCH] Mark the additional Bool methods as public MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …inline with the static methods on AtomicStorage and AtomicIntegerStorage. --- Sources/Atomics/AtomicBool.swift.gyb | 2 +- Sources/Atomics/autogenerated/AtomicBool.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/Atomics/AtomicBool.swift.gyb b/Sources/Atomics/AtomicBool.swift.gyb index 69a0bc4..b3d54b1 100644 --- a/Sources/Atomics/AtomicBool.swift.gyb +++ b/Sources/Atomics/AtomicBool.swift.gyb @@ -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, ordering: AtomicUpdateOrdering diff --git a/Sources/Atomics/autogenerated/AtomicBool.swift b/Sources/Atomics/autogenerated/AtomicBool.swift index bbff151..1c4d83b 100644 --- a/Sources/Atomics/autogenerated/AtomicBool.swift +++ b/Sources/Atomics/autogenerated/AtomicBool.swift @@ -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, 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, 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, ordering: AtomicUpdateOrdering