OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * | 3 * |
4 * Copyright (C) 2004-2013, International Business Machines | 4 * Copyright (C) 2004-2014, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ******************************************************************************* | 7 ******************************************************************************* |
8 * file name: ubidi_props.h | 8 * file name: ubidi_props.h |
9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
11 * indentation:4 | 11 * indentation:4 |
12 * | 12 * |
13 * created on: 2004dec30 | 13 * created on: 2004dec30 |
14 * created by: Markus W. Scherer | 14 * created by: Markus W. Scherer |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 /* indexes into indexes[] */ | 84 /* indexes into indexes[] */ |
85 enum { | 85 enum { |
86 UBIDI_IX_INDEX_TOP, | 86 UBIDI_IX_INDEX_TOP, |
87 UBIDI_IX_LENGTH, | 87 UBIDI_IX_LENGTH, |
88 UBIDI_IX_TRIE_SIZE, | 88 UBIDI_IX_TRIE_SIZE, |
89 UBIDI_IX_MIRROR_LENGTH, | 89 UBIDI_IX_MIRROR_LENGTH, |
90 | 90 |
91 UBIDI_IX_JG_START, | 91 UBIDI_IX_JG_START, |
92 UBIDI_IX_JG_LIMIT, | 92 UBIDI_IX_JG_LIMIT, |
| 93 UBIDI_IX_JG_START2, /* new in format version 2.2, ICU 54 */ |
| 94 UBIDI_IX_JG_LIMIT2, |
93 | 95 |
94 UBIDI_MAX_VALUES_INDEX=15, | 96 UBIDI_MAX_VALUES_INDEX=15, |
95 UBIDI_IX_TOP=16 | 97 UBIDI_IX_TOP=16 |
96 }; | 98 }; |
97 | 99 |
98 /* definitions for 16-bit bidi/shaping properties word ---------------------- */ | 100 /* definitions for 16-bit bidi/shaping properties word ---------------------- */ |
99 | 101 |
100 enum { | 102 enum { |
101 /* UBIDI_CLASS_SHIFT=0, */ /* bidi class: 5 bits (4..0) */ | 103 /* UBIDI_CLASS_SHIFT=0, */ /* bidi class: 5 bits (4..0) */ |
102 UBIDI_JT_SHIFT=5, /* joining type: 3 bits (7..5) */ | 104 UBIDI_JT_SHIFT=5, /* joining type: 3 bits (7..5) */ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 UBIDI_MAX_MIRROR_INDEX=0x7ff | 143 UBIDI_MAX_MIRROR_INDEX=0x7ff |
142 }; | 144 }; |
143 | 145 |
144 #define UBIDI_GET_MIRROR_CODE_POINT(m) (UChar32)((m)&0x1fffff) | 146 #define UBIDI_GET_MIRROR_CODE_POINT(m) (UChar32)((m)&0x1fffff) |
145 | 147 |
146 #define UBIDI_GET_MIRROR_INDEX(m) ((m)>>UBIDI_MIRROR_INDEX_SHIFT) | 148 #define UBIDI_GET_MIRROR_INDEX(m) ((m)>>UBIDI_MIRROR_INDEX_SHIFT) |
147 | 149 |
148 U_CDECL_END | 150 U_CDECL_END |
149 | 151 |
150 #endif | 152 #endif |
OLD | NEW |