/[pcre]/code/trunk/ucp.h
ViewVC logotype

Diff of /code/trunk/ucp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC revision 1050 by chpe, Sun Sep 30 18:20:10 2012 UTC
# Line 6  Line 6 
6  #define _UCP_H  #define _UCP_H
7    
8  /* This file contains definitions of the property values that are returned by  /* This file contains definitions of the property values that are returned by
9  the function _pcre_ucp_findprop(). New values that are added for new releases  the UCD access macros. New values that are added for new releases of Unicode
10  of Unicode should always be at the end of each enum, for backwards  should always be at the end of each enum, for backwards compatibility.
11  compatibility. */  
12    IMPORTANT: Note also that the specific numeric values of the enums have to be
13    the same as the values that are generated by the maint/MultiStage2.py script,
14    where the equivalent property descriptive names are listed in vectors. */
15    
16  /* These are the general character categories. */  /* These are the general character categories. */
17    
# Line 22  enum { Line 25  enum {
25    ucp_Z      /* Separator */    ucp_Z      /* Separator */
26  };  };
27    
28  /* These are the particular character types. */  /* These are the particular character categories. */
29    
30  enum {  enum {
31    ucp_Cc,    /* Control */    ucp_Cc,    /* Control */
# Line 57  enum { Line 60  enum {
60    ucp_Zs     /* Space separator */    ucp_Zs     /* Space separator */
61  };  };
62    
63    /* These are grapheme break properties. Note that the code for processing them
64    assumes that the values are less than 16. If more values are added that take
65    the number to 16 or more, the code will have to be rewritten. */
66    
67    enum {
68      ucp_gbCR,                /*  0 */
69      ucp_gbLF,                /*  1 */
70      ucp_gbControl,           /*  2 */
71      ucp_gbExtend,            /*  3 */
72      ucp_gbPrepend,           /*  4 */
73      ucp_gbSpacingMark,       /*  5 */
74      ucp_gbL,                 /*  6 Hangul syllable type L */
75      ucp_gbV,                 /*  7 Hangul syllable type V */
76      ucp_gbT,                 /*  8 Hangul syllable type T */
77      ucp_gbLV,                /*  9 Hangul syllable type LV */
78      ucp_gbLVT,               /* 10 Hangul syllable type LVT */
79      ucp_gbRegionalIndicator, /* 11 */
80      ucp_gbOther              /* 12 */
81    };
82    
83  /* These are the script identifications. */  /* These are the script identifications. */
84    
85  enum {  enum {
# Line 121  enum { Line 144  enum {
144    ucp_Tifinagh,    ucp_Tifinagh,
145    ucp_Ugaritic,    ucp_Ugaritic,
146    ucp_Yi,    ucp_Yi,
147    ucp_Balinese,      /* New for Unicode 5.0.0 */    /* New for Unicode 5.0: */
148    ucp_Cuneiform,     /* New for Unicode 5.0.0 */    ucp_Balinese,
149    ucp_Nko,           /* New for Unicode 5.0.0 */    ucp_Cuneiform,
150    ucp_Phags_Pa,      /* New for Unicode 5.0.0 */    ucp_Nko,
151    ucp_Phoenician     /* New for Unicode 5.0.0 */    ucp_Phags_Pa,
152      ucp_Phoenician,
153      /* New for Unicode 5.1: */
154      ucp_Carian,
155      ucp_Cham,
156      ucp_Kayah_Li,
157      ucp_Lepcha,
158      ucp_Lycian,
159      ucp_Lydian,
160      ucp_Ol_Chiki,
161      ucp_Rejang,
162      ucp_Saurashtra,
163      ucp_Sundanese,
164      ucp_Vai,
165      /* New for Unicode 5.2: */
166      ucp_Avestan,
167      ucp_Bamum,
168      ucp_Egyptian_Hieroglyphs,
169      ucp_Imperial_Aramaic,
170      ucp_Inscriptional_Pahlavi,
171      ucp_Inscriptional_Parthian,
172      ucp_Javanese,
173      ucp_Kaithi,
174      ucp_Lisu,
175      ucp_Meetei_Mayek,
176      ucp_Old_South_Arabian,
177      ucp_Old_Turkic,
178      ucp_Samaritan,
179      ucp_Tai_Tham,
180      ucp_Tai_Viet,
181      /* New for Unicode 6.0.0: */
182      ucp_Batak,
183      ucp_Brahmi,
184      ucp_Mandaic,
185      /* New for Unicode 6.1.0: */
186      ucp_Chakma,
187      ucp_Meroitic_Cursive,
188      ucp_Meroitic_Hieroglyphs,
189      ucp_Miao,
190      ucp_Sharada,
191      ucp_Sora_Sompeng,
192      ucp_Takri
193  };  };
194    
195  #endif  #endif

Legend:
Removed from v.93  
changed lines
  Added in v.1050

  ViewVC Help
Powered by ViewVC 1.1.5