Rename exporter APIs
[glib.git] / glib / update-pcre / utt.patch
blob171445f716545e083f83043dcc266c998d2bdb66
1 --- pcre_compile.c 2006-10-10 12:00:00.000000000 +0200
2 +++ pcre_compile.c 2006-10-10 12:00:00.000000000 +0200
3 @@ -589,7 +589,7 @@ while (bot < top)
4 while (bot < top)
6 i = (bot + top) >> 1;
7 - c = strcmp(name, _pcre_utt[i].name);
8 + c = strcmp(name, &_pcre_ucp_names[_pcre_utt[i].offset]);
9 if (c == 0)
11 *dptr = _pcre_utt[i].value;
12 --- pcre_internal.h 2006-10-10 12:00:00.000000000 +0200
13 +++ pcre_internal.h 2006-10-10 12:00:00.000000000 +0200
14 @@ -993,7 +993,7 @@ codes. */
15 codes. */
17 typedef struct {
18 - const char *name;
19 + pcre_uint16 offset;
20 pcre_uint16 type;
21 pcre_uint16 value;
22 } ucp_type_table;
23 @@ -1011,6 +1011,7 @@ extern const uschar _pcre_utf8_table4[];
25 extern const int _pcre_utf8_table1_size;
27 +extern const char _pcre_ucp_names[];
28 extern const ucp_type_table _pcre_utt[];
29 extern const int _pcre_utt_size;