mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-26 12:55:18 +01:00
20 lines
329 B
C
20 lines
329 B
C
|
#ifndef UNICODE_UTIL_H
|
||
|
#define UNICODE_UTIL_H
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <gmodule.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/* The utf8 encoded string would tokenize as a single word, according
|
||
|
* to xapian. */
|
||
|
bool unicode_word_utf8 (const char *str);
|
||
|
typedef gunichar notmuch_unichar;
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif
|