- MacOS (07-10)
- Linux (07-20 | 16.04)
- MacOS (07-10)
- Linux (07-20 | 16.04)
// setup | |
enum Value: String, CaseIterable, Equatable { | |
case ace, | |
two, | |
three, | |
four, | |
five, | |
six, | |
seven, |
@propertyWrapper | |
struct DontEncode<T: Codable> { | |
var wrappedValue: T | |
} | |
extension DontEncode: Codable { | |
init(from decoder: Decoder) throws { | |
self.wrappedValue = try T(from: decoder) | |
} |
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERFACE
const char *swift_EnumCaseName(OpaqueValue *value, const Metadata *type) {
// Build a magic mirror. Unconditionally destroy the value at the end.
const Metadata *mirrorType;
const OpaqueValue *cMirrorValue;
std::tie(mirrorType, cMirrorValue) = unwrapExistential(type, value);
Compile CLibreSSL posix_win.c
Compile CLibreSSL v3_ia5.c
Compile CLibreSSL v3_bcons.c
Compile CLibreSSL sha1_one.c
Compile CLibreSSL ncbc_enc.c
Compile CLibreSSL bs_ber.c
Compile CLibreSSL ocsp_ext.c
Compile CLibreSSL d1_enc.c
Compile CLibreSSL v3_int.c
public class Queue { | |
private var strand: Strand! = nil | |
private var queue: [Strand.Closure] = [] | |
private let lock = Lock() | |
public init(_ operation: Strand.Closure? = nil) throws { | |
if let operation = operation { queue.append(operation) } | |
strand = try Strand { [weak self] in | |
while let welf = self { |