Compare commits

..
6 Commits
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ let package = Package(
.macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9) .macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9)
], ],
products: [ products: [
.library(name: "CoreStore", targets: ["CoreStore"]) .library(name: "CoreStore", type: .dynamic, targets: ["CoreStore"])
], ],
dependencies: [], dependencies: [],
targets: [ targets: [
-8
View File
@@ -82,14 +82,6 @@ extension DispatchQueue {
return self.sync { autoreleasepool(invoking: closure) } return self.sync { autoreleasepool(invoking: closure) }
} }
@nonobjc @inline(__always)
internal func cs_sync<T>(
_ closure: () throws(any Swift.Error) -> T
) throws(any Swift.Error) -> T {
return try self.sync { try autoreleasepool(invoking: closure) }
}
@nonobjc @inline(__always) @nonobjc @inline(__always)
internal func cs_sync<T>( internal func cs_sync<T>(
_ closure: () throws(CoreStoreError) -> T _ closure: () throws(CoreStoreError) -> T