/[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 654 by ph10, Tue Aug 2 11:00:40 2011 UTC revision 1011 by ph10, Sat Aug 25 11:36:15 2012 UTC
# Line 7  Line 7 
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 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
10  should always be at the end of each enum, for backwards compatibility. */  should always be at the end of each enum, for backwards compatibility.
11    
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 21  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 56  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_gbOther,          /* 11 */
80      ucp_gbCount           /* 12 The number of properties */
81    };
82    
83  /* These are the script identifications. */  /* These are the script identifications. */
84    
85  enum {  enum {
# Line 157  enum { Line 181  enum {
181    /* New for Unicode 6.0.0: */    /* New for Unicode 6.0.0: */
182    ucp_Batak,    ucp_Batak,
183    ucp_Brahmi,    ucp_Brahmi,
184    ucp_Mandaic    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.654  
changed lines
  Added in v.1011

  ViewVC Help
Powered by ViewVC 1.1.5