Documentation

This commit is contained in:
Gwendal Roué committed 2016-10-10 20:28:04 +02:00
1 parent 7bd014f9de
commit fd55aa61cf
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.