mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Minor
This commit is contained in:
1 parent
9396982fa7
commit
8237ec8a2a
2 files changed
+2
-1
No files matched your search
@@ -1,6 +1,5 @@
|
||||
import Foundation
|
||||
|
||||
let SQLITE_TRANSIENT = unsafeBitCast(COpaquePointer(bitPattern: -1), sqlite3_destructor_type.self)
|
||||
typealias SQLiteValue = COpaquePointer
|
||||
|
||||
// MARK: - DatabaseValue
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user