aboutsummaryrefslogtreecommitdiff
path: root/util/unicode-util.h
blob: 1bb9336a2ed6c615dd8aacce4618800000527691 (plain)
#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