Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1449)

Side by Side Diff: source/common/unicode/uchar.h

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/common/unicode/ubrk.h ('k') | source/common/unicode/ucharstriebuilder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ********************************************************************** 2 **********************************************************************
3 * Copyright (C) 1997-2013, International Business Machines 3 * Copyright (C) 1997-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * 6 *
7 * File UCHAR.H 7 * File UCHAR.H
8 * 8 *
9 * Modification History: 9 * Modification History:
10 * 10 *
11 * Date Name Description 11 * Date Name Description
12 * 04/02/97 aliu Creation. 12 * 04/02/97 aliu Creation.
13 * 03/29/99 helena Updated for C APIs. 13 * 03/29/99 helena Updated for C APIs.
(...skipping 18 matching lines...) Expand all
32 /*==========================================================================*/ 32 /*==========================================================================*/
33 /** 33 /**
34 * Unicode version number, default for the current ICU version. 34 * Unicode version number, default for the current ICU version.
35 * The actual Unicode Character Database (UCD) data is stored in uprops.dat 35 * The actual Unicode Character Database (UCD) data is stored in uprops.dat
36 * and may be generated from UCD files from a different Unicode version. 36 * and may be generated from UCD files from a different Unicode version.
37 * Call u_getUnicodeVersion to get the actual Unicode version of the data. 37 * Call u_getUnicodeVersion to get the actual Unicode version of the data.
38 * 38 *
39 * @see u_getUnicodeVersion 39 * @see u_getUnicodeVersion
40 * @stable ICU 2.0 40 * @stable ICU 2.0
41 */ 41 */
42 #define U_UNICODE_VERSION "6.3" 42 #define U_UNICODE_VERSION "7.0"
43 43
44 /** 44 /**
45 * \file 45 * \file
46 * \brief C API: Unicode Properties 46 * \brief C API: Unicode Properties
47 * 47 *
48 * This C API provides low-level access to the Unicode Character Database. 48 * This C API provides low-level access to the Unicode Character Database.
49 * In addition to raw property values, some convenience functions calculate 49 * In addition to raw property values, some convenience functions calculate
50 * derived properties, for example for Java-style programming. 50 * derived properties, for example for Java-style programming.
51 * 51 *
52 * Unicode assigns each code point (not just assigned character) values for 52 * Unicode assigns each code point (not just assigned character) values for
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 UBLOCK_MIAO = 216, /*[16F00]*/ 1445 UBLOCK_MIAO = 216, /*[16F00]*/
1446 /** @stable ICU 49 */ 1446 /** @stable ICU 49 */
1447 UBLOCK_SHARADA = 217, /*[11180]*/ 1447 UBLOCK_SHARADA = 217, /*[11180]*/
1448 /** @stable ICU 49 */ 1448 /** @stable ICU 49 */
1449 UBLOCK_SORA_SOMPENG = 218, /*[110D0]*/ 1449 UBLOCK_SORA_SOMPENG = 218, /*[110D0]*/
1450 /** @stable ICU 49 */ 1450 /** @stable ICU 49 */
1451 UBLOCK_SUNDANESE_SUPPLEMENT = 219, /*[1CC0]*/ 1451 UBLOCK_SUNDANESE_SUPPLEMENT = 219, /*[1CC0]*/
1452 /** @stable ICU 49 */ 1452 /** @stable ICU 49 */
1453 UBLOCK_TAKRI = 220, /*[11680]*/ 1453 UBLOCK_TAKRI = 220, /*[11680]*/
1454 1454
1455 /* New blocks in Unicode 7.0 */
1456
1457 /** @stable ICU 54 */
1458 UBLOCK_BASSA_VAH = 221, /*[16AD0]*/
1459 /** @stable ICU 54 */
1460 UBLOCK_CAUCASIAN_ALBANIAN = 222, /*[10530]*/
1461 /** @stable ICU 54 */
1462 UBLOCK_COPTIC_EPACT_NUMBERS = 223, /*[102E0]*/
1463 /** @stable ICU 54 */
1464 UBLOCK_COMBINING_DIACRITICAL_MARKS_EXTENDED = 224, /*[1AB0]*/
1465 /** @stable ICU 54 */
1466 UBLOCK_DUPLOYAN = 225, /*[1BC00]*/
1467 /** @stable ICU 54 */
1468 UBLOCK_ELBASAN = 226, /*[10500]*/
1469 /** @stable ICU 54 */
1470 UBLOCK_GEOMETRIC_SHAPES_EXTENDED = 227, /*[1F780]*/
1471 /** @stable ICU 54 */
1472 UBLOCK_GRANTHA = 228, /*[11300]*/
1473 /** @stable ICU 54 */
1474 UBLOCK_KHOJKI = 229, /*[11200]*/
1475 /** @stable ICU 54 */
1476 UBLOCK_KHUDAWADI = 230, /*[112B0]*/
1477 /** @stable ICU 54 */
1478 UBLOCK_LATIN_EXTENDED_E = 231, /*[AB30]*/
1479 /** @stable ICU 54 */
1480 UBLOCK_LINEAR_A = 232, /*[10600]*/
1481 /** @stable ICU 54 */
1482 UBLOCK_MAHAJANI = 233, /*[11150]*/
1483 /** @stable ICU 54 */
1484 UBLOCK_MANICHAEAN = 234, /*[10AC0]*/
1485 /** @stable ICU 54 */
1486 UBLOCK_MENDE_KIKAKUI = 235, /*[1E800]*/
1487 /** @stable ICU 54 */
1488 UBLOCK_MODI = 236, /*[11600]*/
1489 /** @stable ICU 54 */
1490 UBLOCK_MRO = 237, /*[16A40]*/
1491 /** @stable ICU 54 */
1492 UBLOCK_MYANMAR_EXTENDED_B = 238, /*[A9E0]*/
1493 /** @stable ICU 54 */
1494 UBLOCK_NABATAEAN = 239, /*[10880]*/
1495 /** @stable ICU 54 */
1496 UBLOCK_OLD_NORTH_ARABIAN = 240, /*[10A80]*/
1497 /** @stable ICU 54 */
1498 UBLOCK_OLD_PERMIC = 241, /*[10350]*/
1499 /** @stable ICU 54 */
1500 UBLOCK_ORNAMENTAL_DINGBATS = 242, /*[1F650]*/
1501 /** @stable ICU 54 */
1502 UBLOCK_PAHAWH_HMONG = 243, /*[16B00]*/
1503 /** @stable ICU 54 */
1504 UBLOCK_PALMYRENE = 244, /*[10860]*/
1505 /** @stable ICU 54 */
1506 UBLOCK_PAU_CIN_HAU = 245, /*[11AC0]*/
1507 /** @stable ICU 54 */
1508 UBLOCK_PSALTER_PAHLAVI = 246, /*[10B80]*/
1509 /** @stable ICU 54 */
1510 UBLOCK_SHORTHAND_FORMAT_CONTROLS = 247, /*[1BCA0]*/
1511 /** @stable ICU 54 */
1512 UBLOCK_SIDDHAM = 248, /*[11580]*/
1513 /** @stable ICU 54 */
1514 UBLOCK_SINHALA_ARCHAIC_NUMBERS = 249, /*[111E0]*/
1515 /** @stable ICU 54 */
1516 UBLOCK_SUPPLEMENTAL_ARROWS_C = 250, /*[1F800]*/
1517 /** @stable ICU 54 */
1518 UBLOCK_TIRHUTA = 251, /*[11480]*/
1519 /** @stable ICU 54 */
1520 UBLOCK_WARANG_CITI = 252, /*[118A0]*/
1521
1455 /** @stable ICU 2.0 */ 1522 /** @stable ICU 2.0 */
1456 UBLOCK_COUNT = 221, 1523 UBLOCK_COUNT = 253,
1457 1524
1458 /** @stable ICU 2.0 */ 1525 /** @stable ICU 2.0 */
1459 UBLOCK_INVALID_CODE=-1 1526 UBLOCK_INVALID_CODE=-1
1460 }; 1527 };
1461 1528
1462 /** @stable ICU 2.0 */ 1529 /** @stable ICU 2.0 */
1463 typedef enum UBlockCode UBlockCode; 1530 typedef enum UBlockCode UBlockCode;
1464 1531
1465 /** 1532 /**
1466 * East Asian Width constants. 1533 * East Asian Width constants.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 U_JG_YUDH, 1722 U_JG_YUDH,
1656 U_JG_YUDH_HE, 1723 U_JG_YUDH_HE,
1657 U_JG_ZAIN, 1724 U_JG_ZAIN,
1658 U_JG_FE, /**< @stable ICU 2.6 */ 1725 U_JG_FE, /**< @stable ICU 2.6 */
1659 U_JG_KHAPH, /**< @stable ICU 2.6 */ 1726 U_JG_KHAPH, /**< @stable ICU 2.6 */
1660 U_JG_ZHAIN, /**< @stable ICU 2.6 */ 1727 U_JG_ZHAIN, /**< @stable ICU 2.6 */
1661 U_JG_BURUSHASKI_YEH_BARREE, /**< @stable ICU 4.0 */ 1728 U_JG_BURUSHASKI_YEH_BARREE, /**< @stable ICU 4.0 */
1662 U_JG_FARSI_YEH, /**< @stable ICU 4.4 */ 1729 U_JG_FARSI_YEH, /**< @stable ICU 4.4 */
1663 U_JG_NYA, /**< @stable ICU 4.4 */ 1730 U_JG_NYA, /**< @stable ICU 4.4 */
1664 U_JG_ROHINGYA_YEH, /**< @stable ICU 49 */ 1731 U_JG_ROHINGYA_YEH, /**< @stable ICU 49 */
1732 U_JG_MANICHAEAN_ALEPH, /**< @stable ICU 54 */
1733 U_JG_MANICHAEAN_AYIN, /**< @stable ICU 54 */
1734 U_JG_MANICHAEAN_BETH, /**< @stable ICU 54 */
1735 U_JG_MANICHAEAN_DALETH, /**< @stable ICU 54 */
1736 U_JG_MANICHAEAN_DHAMEDH, /**< @stable ICU 54 */
1737 U_JG_MANICHAEAN_FIVE, /**< @stable ICU 54 */
1738 U_JG_MANICHAEAN_GIMEL, /**< @stable ICU 54 */
1739 U_JG_MANICHAEAN_HETH, /**< @stable ICU 54 */
1740 U_JG_MANICHAEAN_HUNDRED, /**< @stable ICU 54 */
1741 U_JG_MANICHAEAN_KAPH, /**< @stable ICU 54 */
1742 U_JG_MANICHAEAN_LAMEDH, /**< @stable ICU 54 */
1743 U_JG_MANICHAEAN_MEM, /**< @stable ICU 54 */
1744 U_JG_MANICHAEAN_NUN, /**< @stable ICU 54 */
1745 U_JG_MANICHAEAN_ONE, /**< @stable ICU 54 */
1746 U_JG_MANICHAEAN_PE, /**< @stable ICU 54 */
1747 U_JG_MANICHAEAN_QOPH, /**< @stable ICU 54 */
1748 U_JG_MANICHAEAN_RESH, /**< @stable ICU 54 */
1749 U_JG_MANICHAEAN_SADHE, /**< @stable ICU 54 */
1750 U_JG_MANICHAEAN_SAMEKH, /**< @stable ICU 54 */
1751 U_JG_MANICHAEAN_TAW, /**< @stable ICU 54 */
1752 U_JG_MANICHAEAN_TEN, /**< @stable ICU 54 */
1753 U_JG_MANICHAEAN_TETH, /**< @stable ICU 54 */
1754 U_JG_MANICHAEAN_THAMEDH, /**< @stable ICU 54 */
1755 U_JG_MANICHAEAN_TWENTY, /**< @stable ICU 54 */
1756 U_JG_MANICHAEAN_WAW, /**< @stable ICU 54 */
1757 U_JG_MANICHAEAN_YODH, /**< @stable ICU 54 */
1758 U_JG_MANICHAEAN_ZAYIN, /**< @stable ICU 54 */
1759 U_JG_STRAIGHT_WAW, /**< @stable ICU 54 */
1665 U_JG_COUNT 1760 U_JG_COUNT
1666 } UJoiningGroup; 1761 } UJoiningGroup;
1667 1762
1668 /** 1763 /**
1669 * Grapheme Cluster Break constants. 1764 * Grapheme Cluster Break constants.
1670 * 1765 *
1671 * @see UCHAR_GRAPHEME_CLUSTER_BREAK 1766 * @see UCHAR_GRAPHEME_CLUSTER_BREAK
1672 * @stable ICU 3.4 1767 * @stable ICU 3.4
1673 */ 1768 */
1674 typedef enum UGraphemeClusterBreak { 1769 typedef enum UGraphemeClusterBreak {
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
2733 * The comment will be zero-terminated if possible. 2828 * The comment will be zero-terminated if possible.
2734 * If there is no comment, then the buffer will be set to the empty string. 2829 * If there is no comment, then the buffer will be set to the empty string.
2735 * @param destCapacity <code>==sizeof(dest)</code> 2830 * @param destCapacity <code>==sizeof(dest)</code>
2736 * @param pErrorCode Pointer to a UErrorCode variable; 2831 * @param pErrorCode Pointer to a UErrorCode variable;
2737 * check for <code>U_SUCCESS()</code> after <code>u_getISOComment()</code > 2832 * check for <code>U_SUCCESS()</code> after <code>u_getISOComment()</code >
2738 * returns. 2833 * returns.
2739 * @return 0 2834 * @return 0
2740 * 2835 *
2741 * @deprecated ICU 49 2836 * @deprecated ICU 49
2742 */ 2837 */
2743 U_STABLE int32_t U_EXPORT2 2838 U_DEPRECATED int32_t U_EXPORT2
2744 u_getISOComment(UChar32 c, 2839 u_getISOComment(UChar32 c,
2745 char *dest, int32_t destCapacity, 2840 char *dest, int32_t destCapacity,
2746 UErrorCode *pErrorCode); 2841 UErrorCode *pErrorCode);
2747 #endif /* U_HIDE_DEPRECATED_API */ 2842 #endif /* U_HIDE_DEPRECATED_API */
2748 2843
2749 /** 2844 /**
2750 * Find a Unicode character by its name and return its code point value. 2845 * Find a Unicode character by its name and return its code point value.
2751 * The name is matched exactly and completely. 2846 * The name is matched exactly and completely.
2752 * If the name does not correspond to a code point, <i>pErrorCode</i> 2847 * If the name does not correspond to a code point, <i>pErrorCode</i>
2753 * is set to <code>U_INVALID_CHAR_FOUND</code>. 2848 * is set to <code>U_INVALID_CHAR_FOUND</code>.
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
3322 U_STABLE int32_t U_EXPORT2 3417 U_STABLE int32_t U_EXPORT2
3323 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *p ErrorCode); 3418 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *p ErrorCode);
3324 3419
3325 #endif 3420 #endif
3326 3421
3327 3422
3328 U_CDECL_END 3423 U_CDECL_END
3329 3424
3330 #endif /*_UCHAR*/ 3425 #endif /*_UCHAR*/
3331 /*eof*/ 3426 /*eof*/
OLDNEW
« no previous file with comments | « source/common/unicode/ubrk.h ('k') | source/common/unicode/ucharstriebuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698