summaryrefslogtreecommitdiff
path: root/src/static_libs/libunibreak/linebreakdef.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-24 11:14:57 +0100
committerTom Hacohen <tom@stosb.com>2016-08-24 11:15:59 +0100
commita016ab751c4875d66e7c7c8dd5c5272a6f03f084 (patch)
tree2cd99a3282106cf4e2bf3c943706f4409dee7ece /src/static_libs/libunibreak/linebreakdef.c
parent2483f30f48c4795ab7375e08db28534b7b235804 (diff)
Static deps unibreak: Update to latest git version.
This version reduces the number of dirty pages used by libunibreak. Reference git hash: ad5a524b0128eec644a8cae52fb75ed1f597c0ee @feature
Diffstat (limited to 'src/static_libs/libunibreak/linebreakdef.c')
-rw-r--r--src/static_libs/libunibreak/linebreakdef.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/static_libs/libunibreak/linebreakdef.c b/src/static_libs/libunibreak/linebreakdef.c
index 72ea420be2..daa7cb5e42 100644
--- a/src/static_libs/libunibreak/linebreakdef.c
+++ b/src/static_libs/libunibreak/linebreakdef.c
@@ -53,7 +53,7 @@
53/** 53/**
54 * English-specifc data over the default Unicode rules. 54 * English-specifc data over the default Unicode rules.
55 */ 55 */
56static struct LineBreakProperties lb_prop_English[] = { 56static const struct LineBreakProperties lb_prop_English[] = {
57 { 0x2018, 0x2018, LBP_OP }, /* Left single quotation mark: opening */ 57 { 0x2018, 0x2018, LBP_OP }, /* Left single quotation mark: opening */
58 { 0x201C, 0x201C, LBP_OP }, /* Left double quotation mark: opening */ 58 { 0x201C, 0x201C, LBP_OP }, /* Left double quotation mark: opening */
59 { 0x201D, 0x201D, LBP_CL }, /* Right double quotation mark: closing */ 59 { 0x201D, 0x201D, LBP_CL }, /* Right double quotation mark: closing */
@@ -63,7 +63,7 @@ static struct LineBreakProperties lb_prop_English[] = {
63/** 63/**
64 * German-specifc data over the default Unicode rules. 64 * German-specifc data over the default Unicode rules.
65 */ 65 */
66static struct LineBreakProperties lb_prop_German[] = { 66static const struct LineBreakProperties lb_prop_German[] = {
67 { 0x00AB, 0x00AB, LBP_CL }, /* Left double angle quotation mark: closing */ 67 { 0x00AB, 0x00AB, LBP_CL }, /* Left double angle quotation mark: closing */
68 { 0x00BB, 0x00BB, LBP_OP }, /* Right double angle quotation mark: opening */ 68 { 0x00BB, 0x00BB, LBP_OP }, /* Right double angle quotation mark: opening */
69 { 0x2018, 0x2018, LBP_CL }, /* Left single quotation mark: closing */ 69 { 0x2018, 0x2018, LBP_CL }, /* Left single quotation mark: closing */
@@ -76,7 +76,7 @@ static struct LineBreakProperties lb_prop_German[] = {
76/** 76/**
77 * Spanish-specifc data over the default Unicode rules. 77 * Spanish-specifc data over the default Unicode rules.
78 */ 78 */
79static struct LineBreakProperties lb_prop_Spanish[] = { 79static const struct LineBreakProperties lb_prop_Spanish[] = {
80 { 0x00AB, 0x00AB, LBP_OP }, /* Left double angle quotation mark: opening */ 80 { 0x00AB, 0x00AB, LBP_OP }, /* Left double angle quotation mark: opening */
81 { 0x00BB, 0x00BB, LBP_CL }, /* Right double angle quotation mark: closing */ 81 { 0x00BB, 0x00BB, LBP_CL }, /* Right double angle quotation mark: closing */
82 { 0x2018, 0x2018, LBP_OP }, /* Left single quotation mark: opening */ 82 { 0x2018, 0x2018, LBP_OP }, /* Left single quotation mark: opening */
@@ -90,7 +90,7 @@ static struct LineBreakProperties lb_prop_Spanish[] = {
90/** 90/**
91 * French-specifc data over the default Unicode rules. 91 * French-specifc data over the default Unicode rules.
92 */ 92 */
93static struct LineBreakProperties lb_prop_French[] = { 93static const struct LineBreakProperties lb_prop_French[] = {
94 { 0x00AB, 0x00AB, LBP_OP }, /* Left double angle quotation mark: opening */ 94 { 0x00AB, 0x00AB, LBP_OP }, /* Left double angle quotation mark: opening */
95 { 0x00BB, 0x00BB, LBP_CL }, /* Right double angle quotation mark: closing */ 95 { 0x00BB, 0x00BB, LBP_CL }, /* Right double angle quotation mark: closing */
96 { 0x2018, 0x2018, LBP_OP }, /* Left single quotation mark: opening */ 96 { 0x2018, 0x2018, LBP_OP }, /* Left single quotation mark: opening */
@@ -104,7 +104,7 @@ static struct LineBreakProperties lb_prop_French[] = {
104/** 104/**
105 * Russian-specifc data over the default Unicode rules. 105 * Russian-specifc data over the default Unicode rules.
106 */ 106 */
107static struct LineBreakProperties lb_prop_Russian[] = { 107static const struct LineBreakProperties lb_prop_Russian[] = {
108 { 0x00AB, 0x00AB, LBP_OP }, /* Left double angle quotation mark: opening */ 108 { 0x00AB, 0x00AB, LBP_OP }, /* Left double angle quotation mark: opening */
109 { 0x00BB, 0x00BB, LBP_CL }, /* Right double angle quotation mark: closing */ 109 { 0x00BB, 0x00BB, LBP_CL }, /* Right double angle quotation mark: closing */
110 { 0x201C, 0x201C, LBP_CL }, /* Left double quotation mark: closing */ 110 { 0x201C, 0x201C, LBP_CL }, /* Left double quotation mark: closing */
@@ -114,7 +114,7 @@ static struct LineBreakProperties lb_prop_Russian[] = {
114/** 114/**
115 * Chinese-specifc data over the default Unicode rules. 115 * Chinese-specifc data over the default Unicode rules.
116 */ 116 */
117static struct LineBreakProperties lb_prop_Chinese[] = { 117static const struct LineBreakProperties lb_prop_Chinese[] = {
118 { 0x2018, 0x2018, LBP_OP }, /* Left single quotation mark: opening */ 118 { 0x2018, 0x2018, LBP_OP }, /* Left single quotation mark: opening */
119 { 0x2019, 0x2019, LBP_CL }, /* Right single quotation mark: closing */ 119 { 0x2019, 0x2019, LBP_CL }, /* Right single quotation mark: closing */
120 { 0x201C, 0x201C, LBP_OP }, /* Left double quotation mark: opening */ 120 { 0x201C, 0x201C, LBP_OP }, /* Left double quotation mark: opening */
@@ -128,7 +128,7 @@ static struct LineBreakProperties lb_prop_Chinese[] = {
128 * file. If you want more flexibility, or do not need the data here, 128 * file. If you want more flexibility, or do not need the data here,
129 * you may want to redefine \e lb_prop_lang_map in your C source file. 129 * you may want to redefine \e lb_prop_lang_map in your C source file.
130 */ 130 */
131struct LineBreakPropertiesLang lb_prop_lang_map[] = { 131const struct LineBreakPropertiesLang lb_prop_lang_map[] = {
132 { "en", 2, lb_prop_English }, 132 { "en", 2, lb_prop_English },
133 { "de", 2, lb_prop_German }, 133 { "de", 2, lb_prop_German },
134 { "es", 2, lb_prop_Spanish }, 134 { "es", 2, lb_prop_Spanish },