version 1.1.1.1, 2012/02/21 23:05:51
|
version 1.1.1.3, 2013/07/22 08:25:55
|
Line 7
|
Line 7
|
|
|
/* This file contains definitions of the property values that are returned by |
/* This file contains definitions of the property values that are returned by |
the UCD access macros. New values that are added for new releases of Unicode |
the UCD access macros. New values that are added for new releases of Unicode |
should always be at the end of each enum, for backwards compatibility. */ | should always be at the end of each enum, for backwards compatibility. |
|
|
|
IMPORTANT: Note also that the specific numeric values of the enums have to be |
|
the same as the values that are generated by the maint/MultiStage2.py script, |
|
where the equivalent property descriptive names are listed in vectors. */ |
|
|
/* These are the general character categories. */ |
/* These are the general character categories. */ |
|
|
enum { |
enum { |
Line 21 enum {
|
Line 25 enum {
|
ucp_Z /* Separator */ |
ucp_Z /* Separator */ |
}; |
}; |
|
|
/* These are the particular character types. */ | /* These are the particular character categories. */ |
|
|
enum { |
enum { |
ucp_Cc, /* Control */ |
ucp_Cc, /* Control */ |
Line 56 enum {
|
Line 60 enum {
|
ucp_Zs /* Space separator */ |
ucp_Zs /* Space separator */ |
}; |
}; |
|
|
|
/* These are grapheme break properties. Note that the code for processing them |
|
assumes that the values are less than 16. If more values are added that take |
|
the number to 16 or more, the code will have to be rewritten. */ |
|
|
|
enum { |
|
ucp_gbCR, /* 0 */ |
|
ucp_gbLF, /* 1 */ |
|
ucp_gbControl, /* 2 */ |
|
ucp_gbExtend, /* 3 */ |
|
ucp_gbPrepend, /* 4 */ |
|
ucp_gbSpacingMark, /* 5 */ |
|
ucp_gbL, /* 6 Hangul syllable type L */ |
|
ucp_gbV, /* 7 Hangul syllable type V */ |
|
ucp_gbT, /* 8 Hangul syllable type T */ |
|
ucp_gbLV, /* 9 Hangul syllable type LV */ |
|
ucp_gbLVT, /* 10 Hangul syllable type LVT */ |
|
ucp_gbRegionalIndicator, /* 11 */ |
|
ucp_gbOther /* 12 */ |
|
}; |
|
|
/* These are the script identifications. */ |
/* These are the script identifications. */ |
|
|
enum { |
enum { |
Line 157 enum {
|
Line 181 enum {
|
/* New for Unicode 6.0.0: */ |
/* New for Unicode 6.0.0: */ |
ucp_Batak, |
ucp_Batak, |
ucp_Brahmi, |
ucp_Brahmi, |
ucp_Mandaic | ucp_Mandaic, |
| /* New for Unicode 6.1.0: */ |
| ucp_Chakma, |
| ucp_Meroitic_Cursive, |
| ucp_Meroitic_Hieroglyphs, |
| ucp_Miao, |
| ucp_Sharada, |
| ucp_Sora_Sompeng, |
| ucp_Takri |
}; |
}; |
|
|
#endif |
#endif |