This commit is contained in:
Gwendal Roué committed 2016-02-07 12:13:02 +01:00
1 parent 9396982fa7
commit 8237ec8a2a
2 files changed
+2 -1

No files matched your search

-1
View File
@@ -1,6 +1,5 @@
import Foundation
let SQLITE_TRANSIENT = unsafeBitCast(COpaquePointer(bitPattern: -1), sqlite3_destructor_type.self)
typealias SQLiteValue = COpaquePointer
// MARK: - DatabaseValue
+2
View File
@@ -24,6 +24,8 @@ public func databaseQuestionMarks(count count: Int) -> String {
// MARK: - Internal
let SQLITE_TRANSIENT = unsafeBitCast(COpaquePointer(bitPattern: -1), sqlite3_destructor_type.self)
/// A function declared as rethrows that synchronously executes a throwing
/// block in a dispatch_queue.
func dispatchSync<T>(queue: dispatch_queue_t, block: () throws -> T) rethrows -> T {