/[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 75 by nigel, Sat Feb 24 21:40:37 2007 UTC revision 96 by nigel, Fri Mar 2 13:10:43 2007 UTC
# Line 1  Line 1 
1  /*************************************************  /*************************************************
2  *     libucp - Unicode Property Table handler    *  *          Unicode Property Table handler        *
3  *************************************************/  *************************************************/
4    
5  /* These are the character categories that are returned by ucp_findchar */  #ifndef _UCP_H
6    #define _UCP_H
7    
8    /* 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
10    of Unicode should always be at the end of each enum, for backwards
11    compatibility. */
12    
13    /* These are the general character categories. */
14    
15  enum {  enum {
16    ucp_C,     /* Other */    ucp_C,     /* Other */
# Line 14  enum { Line 22  enum {
22    ucp_Z      /* Separator */    ucp_Z      /* Separator */
23  };  };
24    
25  /* These are the detailed character types that are returned by ucp_findchar */  /* These are the particular character types. */
26    
27  enum {  enum {
28    ucp_Cc,    /* Control */    ucp_Cc,    /* Control */
# Line 49  enum { Line 57  enum {
57    ucp_Zs     /* Space separator */    ucp_Zs     /* Space separator */
58  };  };
59    
60  /* For use in PCRE we make this function static so that there is no conflict if  /* These are the script identifications. */
61  PCRE is linked with an application that makes use of an external version -  
62  assuming an external version is ever released... */  enum {
63      ucp_Arabic,
64      ucp_Armenian,
65      ucp_Bengali,
66      ucp_Bopomofo,
67      ucp_Braille,
68      ucp_Buginese,
69      ucp_Buhid,
70      ucp_Canadian_Aboriginal,
71      ucp_Cherokee,
72      ucp_Common,
73      ucp_Coptic,
74      ucp_Cypriot,
75      ucp_Cyrillic,
76      ucp_Deseret,
77      ucp_Devanagari,
78      ucp_Ethiopic,
79      ucp_Georgian,
80      ucp_Glagolitic,
81      ucp_Gothic,
82      ucp_Greek,
83      ucp_Gujarati,
84      ucp_Gurmukhi,
85      ucp_Han,
86      ucp_Hangul,
87      ucp_Hanunoo,
88      ucp_Hebrew,
89      ucp_Hiragana,
90      ucp_Inherited,
91      ucp_Kannada,
92      ucp_Katakana,
93      ucp_Kharoshthi,
94      ucp_Khmer,
95      ucp_Lao,
96      ucp_Latin,
97      ucp_Limbu,
98      ucp_Linear_B,
99      ucp_Malayalam,
100      ucp_Mongolian,
101      ucp_Myanmar,
102      ucp_New_Tai_Lue,
103      ucp_Ogham,
104      ucp_Old_Italic,
105      ucp_Old_Persian,
106      ucp_Oriya,
107      ucp_Osmanya,
108      ucp_Runic,
109      ucp_Shavian,
110      ucp_Sinhala,
111      ucp_Syloti_Nagri,
112      ucp_Syriac,
113      ucp_Tagalog,
114      ucp_Tagbanwa,
115      ucp_Tai_Le,
116      ucp_Tamil,
117      ucp_Telugu,
118      ucp_Thaana,
119      ucp_Thai,
120      ucp_Tibetan,
121      ucp_Tifinagh,
122      ucp_Ugaritic,
123      ucp_Yi,
124      ucp_Balinese,      /* New for Unicode 5.0.0 */
125      ucp_Cuneiform,     /* New for Unicode 5.0.0 */
126      ucp_Nko,           /* New for Unicode 5.0.0 */
127      ucp_Phags_Pa,      /* New for Unicode 5.0.0 */
128      ucp_Phoenician     /* New for Unicode 5.0.0 */
129    };
130    
131  static int ucp_findchar(const int, int *, int *);  #endif
132    
133  /* End of ucp.h */  /* End of ucp.h */

Legend:
Removed from v.75  
changed lines
  Added in v.96

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12