mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Documentation
This commit is contained in:
1 parent
7bd014f9de
commit
fd55aa61cf
2 files changed
+2
-2
No files matched your search
@@ -1,5 +1,5 @@
|
||||
#if SQLITE_ENABLE_FTS5
|
||||
/// A low-level SQLite function that lets tokenizers notify tokens.
|
||||
/// A low-level SQLite function that lets FTS5Tokenizer notify tokens.
|
||||
///
|
||||
/// See FTS5Tokenizer.tokenize(context:flags:pText:nText:tokenCallback:)
|
||||
public typealias FTS5TokenCallback = @convention(c) (_ context: UnsafeMutableRawPointer?, _ flags: Int32, _ pToken: UnsafePointer<Int8>?, _ nToken: Int32, _ iStart: Int32, _ iEnd: Int32) -> Int32
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
public static let colocated = FTS5TokenFlags(rawValue: FTS5_TOKEN_COLOCATED)
|
||||
}
|
||||
|
||||
/// A function that lets tokenizers notify tokens.
|
||||
/// A function that lets FTS5WrapperTokenizer notify tokens.
|
||||
public typealias FTS5WrapperTokenCallback = (_ token: String, _ flags: FTS5TokenFlags) throws -> ()
|
||||
|
||||
/// The protocol for custom FTS5 tokenizers that wrap another tokenizer.
|
||||
|
||||
Reference in new issue
Block a user