diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-09-26 18:39:54 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-09-26 18:39:54 +0000 |
commit | 4fc082098826f3f9b9cf12b69b6d6eb515a76ac9 (patch) | |
tree | df57d6323ff12d18aee1792422e558501dbabc94 /glib/gunicomp.h | |
parent | 75f13548eae1827c71d045ba41ab0348aea188a6 (diff) | |
download | glib-4fc082098826f3f9b9cf12b69b6d6eb515a76ac9.tar.gz |
Patch from Andrew Taylor to make much of the unicode table data const so
Wed Sep 26 14:37:52 2001 Owen Taylor <otaylor@redhat.com>
* glib/gen-unicode-tables.pl glib/guniprop.c
glib/{gunibreak,gunichartables,gunidecomp}.h:
Patch from Andrew Taylor to make much of the unicode
table data const so that it can be made read-only
and shared.
Diffstat (limited to 'glib/gunicomp.h')
-rw-r--r-- | glib/gunicomp.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/glib/gunicomp.h b/glib/gunicomp.h index f2414ca56..b1b4965fa 100644 --- a/glib/gunicomp.h +++ b/glib/gunicomp.h @@ -3,7 +3,7 @@ #define COMPOSE_SECOND_START 357 #define COMPOSE_SECOND_SINGLE_START 388 -static gushort compose_page0[256] = { +static const gushort compose_page0[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 147, 148, 149, 0, 0, 1, 2, 3, 4, 5, 150, 6, @@ -18,7 +18,7 @@ static gushort compose_page0[256] = { 164, 0, 0, 0, 60, 0, 0, 0 }; -static gushort compose_page1[256] = { +static const gushort compose_page1[256] = { 0, 0, 61, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -32,7 +32,7 @@ static gushort compose_page1[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page2[256] = { +static const gushort compose_page2[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 178, 179, 180, 0, 0, 0, 0, 181, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -46,7 +46,7 @@ static gushort compose_page2[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page3[256] = { +static const gushort compose_page3[256] = { 357, 358, 359, 360, 361, 0, 362, 363, 364, 365, 366, 367, 368, 0, 0, 369, 0, 370, 0, 371, 372, 0, 0, 0, 0, 0, 0, 373, 0, 0, 0, 0, 0, 0, 0, 374, 375, 376, 377, 378, 379, 0, 0, 0, 0, 380, 381, 0, 382, 383, 0, 0, 0, 0, 0, 0, 0, @@ -61,7 +61,7 @@ static gushort compose_page3[256] = { 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page4[256] = { +static const gushort compose_page4[256] = { 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89, 0, 0, 189, 0, 90, 91, 190, 92, 0, 191, 0, 0, 0, 192, 0, 0, 0, 0, 93, 0, 0, 0, 193, 0, 0, 0, 194, 0, 195, 0, 0, 94, 0, 0, 196, 0, 95, 96, 197, 97, 0, 198, 0, 0, 0, 199, 0, @@ -75,7 +75,7 @@ static gushort compose_page4[256] = { 208, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page6[256] = { +static const gushort compose_page6[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 0, @@ -89,7 +89,7 @@ static gushort compose_page6[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page9[256] = { +static const gushort compose_page9[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 215, 0, 0, 0, 0, 0, 0, 0, 216, 0, 0, 217, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -103,7 +103,7 @@ static gushort compose_page9[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page11[256] = { +static const gushort compose_page11[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 393, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, @@ -117,7 +117,7 @@ static gushort compose_page11[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page12[256] = { +static const gushort compose_page12[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 220, 0, 0, 0, @@ -131,7 +131,7 @@ static gushort compose_page12[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page13[256] = { +static const gushort compose_page13[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401, 0, 0, 0, 0, 0, 0, 0, 104, 223, 0, @@ -145,7 +145,7 @@ static gushort compose_page13[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page16[256] = { +static const gushort compose_page16[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 225, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -159,7 +159,7 @@ static gushort compose_page16[256] = { 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page30[256] = { +static const gushort compose_page30[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 226, 227, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -173,7 +173,7 @@ static gushort compose_page30[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page31[256] = { +static const gushort compose_page31[256] = { 108, 109, 236, 237, 238, 239, 240, 241, 110, 111, 242, 243, 244, 245, 246, 247, 112, 113, 0, 0, 0, 0, 0, 0, 114, 115, 0, 0, 0, 0, 0, 0, 116, 117, 248, 249, 250, 251, 252, 253, 118, 119, 254, 255, 256, 257, 258, 259, 120, 121, @@ -189,7 +189,7 @@ static gushort compose_page31[256] = { 136, 0 }; -static gushort compose_page33[256] = { +static const gushort compose_page33[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -203,7 +203,7 @@ static gushort compose_page33[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static gushort compose_page34[256] = { +static const gushort compose_page34[256] = { 0, 0, 0, 284, 0, 0, 0, 0, 285, 0, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 287, 0, 288, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 289, 0, 0, 0, 0, 0, 0, 290, 0, 291, @@ -218,7 +218,7 @@ static gushort compose_page34[256] = { 0, 0, 0, 0 }; -static gushort compose_page48[256] = { +static const gushort compose_page48[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 319, 0, 0, 0, @@ -233,7 +233,7 @@ static gushort compose_page48[256] = { 354, 355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 356, 0, 0 }; -static unsigned short *compose_table[256] = { +static const unsigned short *compose_table[256] = { compose_page0, compose_page1, compose_page2, @@ -285,7 +285,7 @@ static unsigned short *compose_table[256] = { compose_page48 }; -static gushort compose_first_single[][2] = { +static const gushort compose_first_single[][2] = { { 0x0338, 0x226e }, { 0x0338, 0x2260 }, { 0x0338, 0x226f }, @@ -497,7 +497,7 @@ static gushort compose_first_single[][2] = { { 0x3099, 0x30fa }, { 0x3099, 0x30fe } }; -static gushort compose_second_single[][2] = { +static const gushort compose_second_single[][2] = { { 0x0627, 0x0622 }, { 0x0627, 0x0623 }, { 0x0627, 0x0625 }, @@ -517,7 +517,7 @@ static gushort compose_second_single[][2] = { { 0x0dd9, 0x0ddc }, { 0x0dd9, 0x0dde } }; -static gushort compose_array[146][31] = { +static const gushort compose_array[146][31] = { { 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x0100, 0x0102, 0x0226, 0x00c4, 0x1ea2, 0x00c5, 0, 0x01cd, 0x0200, 0x0202, 0, 0, 0, 0x1ea0, 0, 0x1e00, 0, 0, 0x0104, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0x1e02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1e04, 0, 0, 0, 0, 0, 0, 0, 0, 0x1e06, 0, 0, 0, 0 }, { 0, 0x0106, 0x0108, 0, 0, 0, 0x010a, 0, 0, 0, 0, 0x010c, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00c7, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, |