Index: source/common/unicode/utypes.h |
diff --git a/source/common/unicode/utypes.h b/source/common/unicode/utypes.h |
index 6c1a540ca00ca6e0de909358d7957af4deaf8ff0..1bd437dc8209a094f999b873d41b149153a0ae77 100644 |
--- a/source/common/unicode/utypes.h |
+++ b/source/common/unicode/utypes.h |
@@ -1,6 +1,6 @@ |
/* |
********************************************************************** |
-* Copyright (C) 1996-2014, International Business Machines |
+* Copyright (C) 1996-2015, International Business Machines |
* Corporation and others. All Rights Reserved. |
********************************************************************** |
* |
@@ -137,7 +137,7 @@ |
#define U_ICUDATA_NAME "icudt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER |
#ifndef U_HIDE_INTERNAL_API |
#define U_USRDATA_NAME "usrdt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER /**< @internal */ |
-#define U_USE_USRDATA 1 /**< @internal */ |
+#define U_USE_USRDATA 0 /**< @internal */ |
#endif /* U_HIDE_INTERNAL_API */ |
/** |
@@ -305,11 +305,7 @@ typedef double UDate; |
#define U_IO_API |
#define U_TOOLUTIL_API |
#elif defined(U_COMMON_IMPLEMENTATION) |
-#if defined(U_ICUDATAENTRY_IN_COMMON) |
-#define U_DATA_API U_EXPORT |
-#else |
#define U_DATA_API U_IMPORT |
-#endif |
#define U_COMMON_API U_EXPORT |
#define U_I18N_API U_IMPORT |
#define U_LAYOUT_API U_IMPORT |
@@ -645,14 +641,19 @@ typedef enum UErrorCode { |
U_REGEX_INVALID_FLAG, /**< Invalid value for match mode flags. */ |
U_REGEX_LOOK_BEHIND_LIMIT, /**< Look-Behind pattern matches must have a bounded maximum length. */ |
U_REGEX_SET_CONTAINS_STRING, /**< Regexps cannot have UnicodeSets containing strings.*/ |
+#ifndef U_HIDE_DEPRECATED_API |
U_REGEX_OCTAL_TOO_BIG, /**< Octal character constants must be <= 0377. @deprecated ICU 54. This error cannot occur. */ |
- U_REGEX_MISSING_CLOSE_BRACKET, /**< Missing closing bracket on a bracket expression. */ |
+#endif /* U_HIDE_DEPRECATED_API */ |
+ U_REGEX_MISSING_CLOSE_BRACKET=U_REGEX_SET_CONTAINS_STRING+2, /**< Missing closing bracket on a bracket expression. */ |
U_REGEX_INVALID_RANGE, /**< In a character range [x-y], x is greater than y. */ |
U_REGEX_STACK_OVERFLOW, /**< Regular expression backtrack stack overflow. */ |
U_REGEX_TIME_OUT, /**< Maximum allowed match time exceeded */ |
U_REGEX_STOPPED_BY_CALLER, /**< Matching operation aborted by user callback fn. */ |
- U_REGEX_PATTERN_TOO_BIG, /**< Pattern exceeds limits on size or complexity. @draft ICU 55 */ |
- U_REGEX_ERROR_LIMIT, /**< This must always be the last value to indicate the limit for regexp errors */ |
+#ifndef U_HIDE_DRAFT_API |
+ U_REGEX_PATTERN_TOO_BIG, /**< Pattern exceeds limits on size or complexity. @draft ICU 55 */ |
+ U_REGEX_INVALID_CAPTURE_GROUP_NAME, /**< Invalid capture group name. @draft ICU 55 */ |
+#endif /* U_HIDE_DRAFT_API */ |
+ U_REGEX_ERROR_LIMIT=U_REGEX_STOPPED_BY_CALLER+3, /**< This must always be the last value to indicate the limit for regexp errors */ |
/* |
* The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes |