Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 ********************************************************************** | 2 ********************************************************************** |
| 3 * Copyright (C) 1996-2014, International Business Machines | 3 * Copyright (C) 1996-2014, International Business Machines |
| 4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
| 5 ********************************************************************** | 5 ********************************************************************** |
| 6 * | 6 * |
| 7 * FILE NAME : UTYPES.H (formerly ptypes.h) | 7 * FILE NAME : UTYPES.H (formerly ptypes.h) |
| 8 * | 8 * |
| 9 * Date Name Description | 9 * Date Name Description |
| 10 * 12/11/96 helena Creation. | 10 * 12/11/96 helena Creation. |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 298 #define U_TOOLUTIL_API U_EXPORT | 298 #define U_TOOLUTIL_API U_EXPORT |
| 299 #elif defined(U_STATIC_IMPLEMENTATION) | 299 #elif defined(U_STATIC_IMPLEMENTATION) |
| 300 #define U_DATA_API | 300 #define U_DATA_API |
| 301 #define U_COMMON_API | 301 #define U_COMMON_API |
| 302 #define U_I18N_API | 302 #define U_I18N_API |
| 303 #define U_LAYOUT_API | 303 #define U_LAYOUT_API |
| 304 #define U_LAYOUTEX_API | 304 #define U_LAYOUTEX_API |
| 305 #define U_IO_API | 305 #define U_IO_API |
| 306 #define U_TOOLUTIL_API | 306 #define U_TOOLUTIL_API |
| 307 #elif defined(U_COMMON_IMPLEMENTATION) | 307 #elif defined(U_COMMON_IMPLEMENTATION) |
| 308 #define U_DATA_API U_IMPORT | 308 #define U_DATA_API U_EXPORT |
|
Mark Mentovai
2015/01/09 22:17:39
Double-check this. Have they made it so that data
jungshik at Google
2015/01/09 23:33:22
It's done for this bug : https://code.google.com/p
| |
| 309 #define U_COMMON_API U_EXPORT | 309 #define U_COMMON_API U_EXPORT |
| 310 #define U_I18N_API U_IMPORT | 310 #define U_I18N_API U_IMPORT |
| 311 #define U_LAYOUT_API U_IMPORT | 311 #define U_LAYOUT_API U_IMPORT |
| 312 #define U_LAYOUTEX_API U_IMPORT | 312 #define U_LAYOUTEX_API U_IMPORT |
| 313 #define U_IO_API U_IMPORT | 313 #define U_IO_API U_IMPORT |
| 314 #define U_TOOLUTIL_API U_IMPORT | 314 #define U_TOOLUTIL_API U_IMPORT |
| 315 #elif defined(U_I18N_IMPLEMENTATION) | 315 #elif defined(U_I18N_IMPLEMENTATION) |
| 316 #define U_DATA_API U_IMPORT | 316 #define U_DATA_API U_IMPORT |
| 317 #define U_COMMON_API U_IMPORT | 317 #define U_COMMON_API U_IMPORT |
| 318 #define U_I18N_API U_EXPORT | 318 #define U_I18N_API U_EXPORT |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 640 U_REGEX_INVALID_BACK_REF, /**< Back-reference to a non-existent capture group. */ | 640 U_REGEX_INVALID_BACK_REF, /**< Back-reference to a non-existent capture group. */ |
| 641 U_REGEX_INVALID_FLAG, /**< Invalid value for match mode flag s. */ | 641 U_REGEX_INVALID_FLAG, /**< Invalid value for match mode flag s. */ |
| 642 U_REGEX_LOOK_BEHIND_LIMIT, /**< Look-Behind pattern matches must have a bounded maximum length. */ | 642 U_REGEX_LOOK_BEHIND_LIMIT, /**< Look-Behind pattern matches must have a bounded maximum length. */ |
| 643 U_REGEX_SET_CONTAINS_STRING, /**< Regexps cannot have UnicodeSets c ontaining strings.*/ | 643 U_REGEX_SET_CONTAINS_STRING, /**< Regexps cannot have UnicodeSets c ontaining strings.*/ |
| 644 U_REGEX_OCTAL_TOO_BIG, /**< Octal character constants must be <= 0377. @deprecated ICU 54. This error cannot occur. */ | 644 U_REGEX_OCTAL_TOO_BIG, /**< Octal character constants must be <= 0377. @deprecated ICU 54. This error cannot occur. */ |
| 645 U_REGEX_MISSING_CLOSE_BRACKET, /**< Missing closing bracket on a brac ket expression. */ | 645 U_REGEX_MISSING_CLOSE_BRACKET, /**< Missing closing bracket on a brac ket expression. */ |
| 646 U_REGEX_INVALID_RANGE, /**< In a character range [x-y], x is greater than y. */ | 646 U_REGEX_INVALID_RANGE, /**< In a character range [x-y], x is greater than y. */ |
| 647 U_REGEX_STACK_OVERFLOW, /**< Regular expression backtrack stac k overflow. */ | 647 U_REGEX_STACK_OVERFLOW, /**< Regular expression backtrack stac k overflow. */ |
| 648 U_REGEX_TIME_OUT, /**< Maximum allowed match time exceed ed */ | 648 U_REGEX_TIME_OUT, /**< Maximum allowed match time exceed ed */ |
| 649 U_REGEX_STOPPED_BY_CALLER, /**< Matching operation aborted by use r callback fn. */ | 649 U_REGEX_STOPPED_BY_CALLER, /**< Matching operation aborted by use r callback fn. */ |
| 650 U_REGEX_PATTERN_TOO_BIG, /**< Pattern exceeds limits on size or complexity. @draft ICU 55 */ | |
| 650 U_REGEX_ERROR_LIMIT, /**< This must always be the last valu e to indicate the limit for regexp errors */ | 651 U_REGEX_ERROR_LIMIT, /**< This must always be the last valu e to indicate the limit for regexp errors */ |
| 651 | 652 |
| 652 /* | 653 /* |
| 653 * The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes | 654 * The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes |
| 654 */ | 655 */ |
| 655 U_IDNA_PROHIBITED_ERROR=0x10400, | 656 U_IDNA_PROHIBITED_ERROR=0x10400, |
| 656 U_IDNA_ERROR_START=0x10400, | 657 U_IDNA_ERROR_START=0x10400, |
| 657 U_IDNA_UNASSIGNED_ERROR, | 658 U_IDNA_UNASSIGNED_ERROR, |
| 658 U_IDNA_CHECK_BIDI_ERROR, | 659 U_IDNA_CHECK_BIDI_ERROR, |
| 659 U_IDNA_STD3_ASCII_RULES_ERROR, | 660 U_IDNA_STD3_ASCII_RULES_ERROR, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 714 * Return a string for a UErrorCode value. | 715 * Return a string for a UErrorCode value. |
| 715 * The string will be the same as the name of the error code constant | 716 * The string will be the same as the name of the error code constant |
| 716 * in the UErrorCode enum above. | 717 * in the UErrorCode enum above. |
| 717 * @stable ICU 2.0 | 718 * @stable ICU 2.0 |
| 718 */ | 719 */ |
| 719 U_STABLE const char * U_EXPORT2 | 720 U_STABLE const char * U_EXPORT2 |
| 720 u_errorName(UErrorCode code); | 721 u_errorName(UErrorCode code); |
| 721 | 722 |
| 722 | 723 |
| 723 #endif /* _UTYPES */ | 724 #endif /* _UTYPES */ |
| OLD | NEW |