notmuch/util/unicode-util.h

20 lines
329 B
C
Raw Normal View History

#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