47#ifndef GRAPHEMEBREAK_H
48#define GRAPHEMEBREAK_H
57#define GRAPHEMEBREAK_BREAK 0
58#define GRAPHEMEBREAK_NOBREAK 1
59#define GRAPHEMEBREAK_INSIDEACHAR 2
65 const char *lang,
char *brks);
67 const char *lang,
char *brks);
void set_graphemebreaks_utf32(const utf32_t *s, size_t len, const char *lang, char *brks)
Sets the grapheme breaking information for a UTF-32 input string.
Definition graphemebreak.c:305
void set_graphemebreaks_utf16(const utf16_t *s, size_t len, const char *lang, char *brks)
Sets the grapheme breaking information for a UTF-16 input string.
Definition graphemebreak.c:284
void init_graphemebreak(void)
Initializes the wordbreak internals.
Definition graphemebreak.c:58
void set_graphemebreaks_utf8(const utf8_t *s, size_t len, const char *lang, char *brks)
Sets the grapheme breaking information for a UTF-8 input string.
Definition graphemebreak.c:263
Header file for common definitions in the libunibreak library.
unsigned short utf16_t
Type for UTF-16 data points.
Definition unibreakbase.h:48
unsigned int utf32_t
Type for UTF-32 data points.
Definition unibreakbase.h:49
unsigned char utf8_t
Type for UTF-8 data points.
Definition unibreakbase.h:47