OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (c) 2002-2011, International Business Machines | 3 * Copyright (c) 2002-2014, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * Author: Alan Liu | 6 * Author: Alan Liu |
7 * Created: October 30 2002 | 7 * Created: October 30 2002 |
8 * Since: ICU 2.4 | 8 * Since: ICU 2.4 |
9 * 2010nov19 Markus Scherer Rewrite for formatVersion 2. | 9 * 2010nov19 Markus Scherer Rewrite for formatVersion 2. |
10 ********************************************************************** | 10 ********************************************************************** |
11 */ | 11 */ |
12 #include "propname.h" | 12 #include "propname.h" |
13 #include "unicode/uchar.h" | 13 #include "unicode/uchar.h" |
14 #include "unicode/udata.h" | 14 #include "unicode/udata.h" |
15 #include "unicode/uscript.h" | 15 #include "unicode/uscript.h" |
16 #include "umutex.h" | 16 #include "umutex.h" |
17 #include "cmemory.h" | 17 #include "cmemory.h" |
18 #include "cstring.h" | 18 #include "cstring.h" |
19 #include "ucln_cmn.h" | |
20 #include "uarrsort.h" | 19 #include "uarrsort.h" |
21 #include "uinvchar.h" | 20 #include "uinvchar.h" |
22 | 21 |
23 #define INCLUDED_FROM_PROPNAME_CPP | 22 #define INCLUDED_FROM_PROPNAME_CPP |
24 #include "propname_data.h" | 23 #include "propname_data.h" |
25 | 24 |
26 U_CDECL_BEGIN | 25 U_CDECL_BEGIN |
27 | 26 |
28 /** | 27 /** |
29 * Get the next non-ignorable ASCII character from a property name | 28 * Get the next non-ignorable ASCII character from a property name |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 uscript_getName(UScriptCode scriptCode){ | 317 uscript_getName(UScriptCode scriptCode){ |
319 return u_getPropertyValueName(UCHAR_SCRIPT, scriptCode, | 318 return u_getPropertyValueName(UCHAR_SCRIPT, scriptCode, |
320 U_LONG_PROPERTY_NAME); | 319 U_LONG_PROPERTY_NAME); |
321 } | 320 } |
322 | 321 |
323 U_CAPI const char* U_EXPORT2 | 322 U_CAPI const char* U_EXPORT2 |
324 uscript_getShortName(UScriptCode scriptCode){ | 323 uscript_getShortName(UScriptCode scriptCode){ |
325 return u_getPropertyValueName(UCHAR_SCRIPT, scriptCode, | 324 return u_getPropertyValueName(UCHAR_SCRIPT, scriptCode, |
326 U_SHORT_PROPERTY_NAME); | 325 U_SHORT_PROPERTY_NAME); |
327 } | 326 } |
OLD | NEW |