mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 09:54:52 +01:00
781125c9e9
This originally use Xapian::Unicode::is_wordchar, but that forces clients to link directly to libxapian, which seems like it might be busywork if nothing else.
12 lines
261 B
C
12 lines
261 B
C
#ifndef UNICODE_UTIL_H
|
|
#define UNICODE_UTIL_H
|
|
|
|
#include <stdbool.h>
|
|
#include <gmodule.h>
|
|
|
|
/* The utf8 encoded string would tokenize as a single word, according
|
|
* to xapian. */
|
|
bool unicode_word_utf8 (const char *str);
|
|
typedef gunichar notmuch_unichar;
|
|
|
|
#endif
|