OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (C) 1996-2012, 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. |
11 * 02/27/97 aliu Added typedefs for UClassID, int8, int16, int32, | 11 * 02/27/97 aliu Added typedefs for UClassID, int8, int16, int32, |
12 * uint8, uint16, and uint32. | 12 * uint8, uint16, and uint32. |
13 * 04/01/97 aliu Added XP_CPLUSPLUS and modified to work under C as | 13 * 04/01/97 aliu Added XP_CPLUSPLUS and modified to work under C as |
(...skipping 284 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_EXPORT | 308 #define U_DATA_API U_IMPORT |
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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 U_REGEX_PROPERTY_SYNTAX, /**< Incorrect Unicode property
*/ | 634 U_REGEX_PROPERTY_SYNTAX, /**< Incorrect Unicode property
*/ |
635 U_REGEX_UNIMPLEMENTED, /**< Use of regexp feature that is not
yet implemented. */ | 635 U_REGEX_UNIMPLEMENTED, /**< Use of regexp feature that is not
yet implemented. */ |
636 U_REGEX_MISMATCHED_PAREN, /**< Incorrectly nested parentheses in
regexp pattern. */ | 636 U_REGEX_MISMATCHED_PAREN, /**< Incorrectly nested parentheses in
regexp pattern. */ |
637 U_REGEX_NUMBER_TOO_BIG, /**< Decimal number is too large.
*/ | 637 U_REGEX_NUMBER_TOO_BIG, /**< Decimal number is too large.
*/ |
638 U_REGEX_BAD_INTERVAL, /**< Error in {min,max} interval
*/ | 638 U_REGEX_BAD_INTERVAL, /**< Error in {min,max} interval
*/ |
639 U_REGEX_MAX_LT_MIN, /**< In {min,max}, max is less than mi
n. */ | 639 U_REGEX_MAX_LT_MIN, /**< In {min,max}, max is less than mi
n. */ |
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. */ | 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. */ | |
651 U_REGEX_ERROR_LIMIT, /**< This must always be the last valu
e to indicate the limit for regexp errors */ | 650 U_REGEX_ERROR_LIMIT, /**< This must always be the last valu
e to indicate the limit for regexp errors */ |
652 | 651 |
653 /* | 652 /* |
654 * The error code in the range 0x10400-0x104ff are reserved for IDNA related
error codes | 653 * The error code in the range 0x10400-0x104ff are reserved for IDNA related
error codes |
655 */ | 654 */ |
656 U_IDNA_PROHIBITED_ERROR=0x10400, | 655 U_IDNA_PROHIBITED_ERROR=0x10400, |
657 U_IDNA_ERROR_START=0x10400, | 656 U_IDNA_ERROR_START=0x10400, |
658 U_IDNA_UNASSIGNED_ERROR, | 657 U_IDNA_UNASSIGNED_ERROR, |
659 U_IDNA_CHECK_BIDI_ERROR, | 658 U_IDNA_CHECK_BIDI_ERROR, |
660 U_IDNA_STD3_ASCII_RULES_ERROR, | 659 U_IDNA_STD3_ASCII_RULES_ERROR, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 * Return a string for a UErrorCode value. | 714 * Return a string for a UErrorCode value. |
716 * The string will be the same as the name of the error code constant | 715 * The string will be the same as the name of the error code constant |
717 * in the UErrorCode enum above. | 716 * in the UErrorCode enum above. |
718 * @stable ICU 2.0 | 717 * @stable ICU 2.0 |
719 */ | 718 */ |
720 U_STABLE const char * U_EXPORT2 | 719 U_STABLE const char * U_EXPORT2 |
721 u_errorName(UErrorCode code); | 720 u_errorName(UErrorCode code); |
722 | 721 |
723 | 722 |
724 #endif /* _UTYPES */ | 723 #endif /* _UTYPES */ |
OLD | NEW |