summaryrefslogtreecommitdiff
path: root/lib/unigbrk.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unigbrk.in.h')
-rw-r--r--lib/unigbrk.in.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/unigbrk.in.h b/lib/unigbrk.in.h
index 8551ee47..7f8bd605 100644
--- a/lib/unigbrk.in.h
+++ b/lib/unigbrk.in.h
@@ -1,5 +1,5 @@
/* Grapheme cluster breaks in Unicode strings.
- Copyright (C) 2010-2016 Free Software Foundation, Inc.
+ Copyright (C) 2010-2017 Free Software Foundation, Inc.
Written by Ben Pfaff <blp@cs.stanford.edu>, 2010.
This program is free software: you can redistribute it and/or
@@ -22,7 +22,7 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
#ifndef _UNIGBRK_H
#define _UNIGBRK_H
@@ -61,7 +61,12 @@ enum
GBP_T = 9,
GBP_LV = 10,
GBP_LVT = 11,
- GBP_RI = 12
+ GBP_RI = 12,
+ GBP_ZWJ = 13,
+ GBP_EB = 14,
+ GBP_EM = 15,
+ GBP_GAZ = 16,
+ GBP_EBG = 17
};
/* Return the Grapheme_Cluster_Break property of a Unicode character. */
@@ -127,6 +132,8 @@ extern void
u32_grapheme_breaks (const uint32_t *s, size_t n, char *p);
extern void
ulc_grapheme_breaks (const char *s, size_t n, char *p);
+extern void
+ uc_grapheme_breaks (const ucs4_t *s, size_t n, char *p);
/* ========================================================================= */