File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 88
88
typedef struct
89
89
{
90
90
uint32 codepoint; /* Unicode codepoint */
91
- uint8 class; /* combining class of character */
91
+ uint8 comb_class; /* combining class of character */
92
92
uint8 dec_size_flags; /* size and flags of decomposition code list */
93
93
uint16 dec_index; /* index into UnicodeDecomp_codepoints, or the
94
94
* decomposition itself if DECOMP_INLINE */
Original file line number Diff line number Diff line change @@ -369,10 +369,10 @@ unicode_normalize_kc(const pg_wchar *input)
369
369
* combining class for the second, and the second is not a starter. A
370
370
* character is a starter if its combining class is 0.
371
371
*/
372
- if (nextEntry -> class == 0x0 || prevEntry -> class == 0x0 )
372
+ if (nextEntry -> comb_class == 0x0 || prevEntry -> comb_class == 0x0 )
373
373
continue ;
374
374
375
- if (prevEntry -> class <= nextEntry -> class )
375
+ if (prevEntry -> comb_class <= nextEntry -> comb_class )
376
376
continue ;
377
377
378
378
/* exchange can happen */
@@ -407,7 +407,7 @@ unicode_normalize_kc(const pg_wchar *input)
407
407
{
408
408
pg_wchar ch = decomp_chars [count ];
409
409
pg_unicode_decomposition * ch_entry = get_code_entry (ch );
410
- int ch_class = (ch_entry == NULL ) ? 0 : ch_entry -> class ;
410
+ int ch_class = (ch_entry == NULL ) ? 0 : ch_entry -> comb_class ;
411
411
pg_wchar composite ;
412
412
413
413
if (last_class < ch_class &&
Original file line number Diff line number Diff line change 19
19
typedef struct
20
20
{
21
21
uint32 codepoint ; /* Unicode codepoint */
22
- uint8 class ; /* combining class of character */
22
+ uint8 comb_class ; /* combining class of character */
23
23
uint8 dec_size_flags ; /* size and flags of decomposition code list */
24
24
uint16 dec_index ; /* index into UnicodeDecomp_codepoints, or the
25
25
* decomposition itself if DECOMP_INLINE */
You can’t perform that action at this time.
0 commit comments