ICU 4.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
utypes.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (C) 1996-2009, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 *
7 * FILE NAME : UTYPES.H (formerly ptypes.h)
8 *
9 * Date Name Description
10 * 12/11/96 helena Creation.
11 * 02/27/97 aliu Added typedefs for UClassID, int8, int16, int32,
12 * uint8, uint16, and uint32.
13 * 04/01/97 aliu Added XP_CPLUSPLUS and modified to work under C as
14 * well as C++.
15 * Modified to use memcpy() for uprv_arrayCopy() fns.
16 * 04/14/97 aliu Added TPlatformUtilities.
17 * 05/07/97 aliu Added import/export specifiers (replacing the old
18 * broken EXT_CLASS). Added version number for our
19 * code. Cleaned up header.
20 * 6/20/97 helena Java class name change.
21 * 08/11/98 stephen UErrorCode changed from typedef to enum
22 * 08/12/98 erm Changed T_ANALYTIC_PACKAGE_VERSION to 3
23 * 08/14/98 stephen Added uprv_arrayCopy() for int8_t, int16_t, int32_t
24 * 12/09/98 jfitz Added BUFFER_OVERFLOW_ERROR (bug 1100066)
25 * 04/20/99 stephen Cleaned up & reworked for autoconf.
26 * Renamed to utypes.h.
27 * 05/05/99 stephen Changed to use <inttypes.h>
28 * 12/07/99 helena Moved copyright notice string from ucnv_bld.h here.
29 *******************************************************************************
30 */
31 
32 #ifndef UTYPES_H
33 #define UTYPES_H
34 
35 
36 #include "unicode/umachine.h"
37 #include "unicode/utf.h"
38 #include "unicode/uversion.h"
39 #include "unicode/uconfig.h"
40 
45 #if !U_DEFAULT_SHOW_DRAFT && !defined(U_SHOW_DRAFT_API)
46 #define U_HIDE_DRAFT_API 1
47 #endif
48 
49 #ifdef U_HIDE_DRAFT_API
50 #include "unicode/udraft.h"
51 #endif
52 
53 #ifdef U_HIDE_DEPRECATED_API
54 #include "unicode/udeprctd.h"
55 #endif
56 
57 #ifdef U_HIDE_DEPRECATED_API
58 #include "unicode/uobslete.h"
59 #endif
60 
61 #ifdef U_HIDE_INTERNAL_API
62 #include "unicode/uintrnal.h"
63 #endif
64 
65 #ifdef U_HIDE_SYSTEM_API
66 #include "unicode/usystem.h"
67 #endif
68 
79 /*===========================================================================*/
80 /* char Character set family */
81 /*===========================================================================*/
82 
87 #define U_ASCII_FAMILY 0
88 
93 #define U_EBCDIC_FAMILY 1
94 
138 #ifndef U_CHARSET_FAMILY
139 # define U_CHARSET_FAMILY 0
140 #endif
141 
162 #ifndef U_CHARSET_IS_UTF8
163 # define U_CHARSET_IS_UTF8 0
164 #endif
165 
166 /*===========================================================================*/
167 /* ICUDATA naming scheme */
168 /*===========================================================================*/
169 
186 #if U_CHARSET_FAMILY
187 # if U_IS_BIG_ENDIAN
188  /* EBCDIC - should always be BE */
189 # define U_ICUDATA_TYPE_LETTER "e"
190 # define U_ICUDATA_TYPE_LITLETTER e
191 # else
192 # error "Don't know what to do with little endian EBCDIC!"
193 # define U_ICUDATA_TYPE_LETTER "x"
194 # define U_ICUDATA_TYPE_LITLETTER x
195 # endif
196 #else
197 # if U_IS_BIG_ENDIAN
198  /* Big-endian ASCII */
199 # define U_ICUDATA_TYPE_LETTER "b"
200 # define U_ICUDATA_TYPE_LITLETTER b
201 # else
202  /* Little-endian ASCII */
203 # define U_ICUDATA_TYPE_LETTER "l"
204 # define U_ICUDATA_TYPE_LITLETTER l
205 # endif
206 #endif
207 
213 #define U_ICUDATA_NAME "icudt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER
214 
215 
227 #define U_ICUDATA_ENTRY_POINT U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM)
228 
233 #define U_DEF2_ICUDATA_ENTRY_POINT(major, minor) U_DEF_ICUDATA_ENTRY_POINT(major, minor)
234 
238 #define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt##major##minor##_dat
239 
251 #if defined(OS390) && (__COMPILER_VER__ < 0x41020000) && defined(XP_CPLUSPLUS)
252 # define U_CALLCONV __cdecl
253 #else
254 # define U_CALLCONV U_EXPORT2
255 #endif
256 
262 #ifndef NULL
263 #ifdef XP_CPLUSPLUS
264 #define NULL 0
265 #else
266 #define NULL ((void *)0)
267 #endif
268 #endif
269 
270 /*===========================================================================*/
271 /* Calendar/TimeZone data types */
272 /*===========================================================================*/
273 
281 typedef double UDate;
282 
284 #define U_MILLIS_PER_SECOND (1000)
285 
286 #define U_MILLIS_PER_MINUTE (60000)
287 
288 #define U_MILLIS_PER_HOUR (3600000)
289 
290 #define U_MILLIS_PER_DAY (86400000)
291 
292 
293 /*===========================================================================*/
294 /* UClassID-based RTTI */
295 /*===========================================================================*/
296 
339 typedef void* UClassID;
340 
341 /*===========================================================================*/
342 /* Shared library/DLL import-export API control */
343 /*===========================================================================*/
344 
345 /*
346  * Control of symbol import/export.
347  * ICU is separated into three libraries.
348  */
349 
350 /*
351  * \def U_COMBINED_IMPLEMENTATION
352  * Set to export library symbols from inside the ICU library
353  * when all of ICU is in a single library.
354  * This can be set as a compiler option while building ICU, and it
355  * needs to be the first one tested to override U_COMMON_API, U_I18N_API, etc.
356  * @stable ICU 2.0
357  */
358 
408 #if defined(U_COMBINED_IMPLEMENTATION)
409 #define U_DATA_API U_EXPORT
410 #define U_COMMON_API U_EXPORT
411 #define U_I18N_API U_EXPORT
412 #define U_LAYOUT_API U_EXPORT
413 #define U_LAYOUTEX_API U_EXPORT
414 #define U_IO_API U_EXPORT
415 #define U_TOOLUTIL_API U_EXPORT
416 #elif defined(U_STATIC_IMPLEMENTATION)
417 #define U_DATA_API
418 #define U_COMMON_API
419 #define U_I18N_API
420 #define U_LAYOUT_API
421 #define U_LAYOUTEX_API
422 #define U_IO_API
423 #define U_TOOLUTIL_API
424 #elif defined(U_COMMON_IMPLEMENTATION)
425 #define U_DATA_API U_IMPORT
426 #define U_COMMON_API U_EXPORT
427 #define U_I18N_API U_IMPORT
428 #define U_LAYOUT_API U_IMPORT
429 #define U_LAYOUTEX_API U_IMPORT
430 #define U_IO_API U_IMPORT
431 #define U_TOOLUTIL_API U_IMPORT
432 #elif defined(U_I18N_IMPLEMENTATION)
433 #define U_DATA_API U_IMPORT
434 #define U_COMMON_API U_IMPORT
435 #define U_I18N_API U_EXPORT
436 #define U_LAYOUT_API U_IMPORT
437 #define U_LAYOUTEX_API U_IMPORT
438 #define U_IO_API U_IMPORT
439 #define U_TOOLUTIL_API U_IMPORT
440 #elif defined(U_LAYOUT_IMPLEMENTATION)
441 #define U_DATA_API U_IMPORT
442 #define U_COMMON_API U_IMPORT
443 #define U_I18N_API U_IMPORT
444 #define U_LAYOUT_API U_EXPORT
445 #define U_LAYOUTEX_API U_IMPORT
446 #define U_IO_API U_IMPORT
447 #define U_TOOLUTIL_API U_IMPORT
448 #elif defined(U_LAYOUTEX_IMPLEMENTATION)
449 #define U_DATA_API U_IMPORT
450 #define U_COMMON_API U_IMPORT
451 #define U_I18N_API U_IMPORT
452 #define U_LAYOUT_API U_IMPORT
453 #define U_LAYOUTEX_API U_EXPORT
454 #define U_IO_API U_IMPORT
455 #define U_TOOLUTIL_API U_IMPORT
456 #elif defined(U_IO_IMPLEMENTATION)
457 #define U_DATA_API U_IMPORT
458 #define U_COMMON_API U_IMPORT
459 #define U_I18N_API U_IMPORT
460 #define U_LAYOUT_API U_IMPORT
461 #define U_LAYOUTEX_API U_IMPORT
462 #define U_IO_API U_EXPORT
463 #define U_TOOLUTIL_API U_IMPORT
464 #elif defined(U_TOOLUTIL_IMPLEMENTATION)
465 #define U_DATA_API U_IMPORT
466 #define U_COMMON_API U_IMPORT
467 #define U_I18N_API U_IMPORT
468 #define U_LAYOUT_API U_IMPORT
469 #define U_LAYOUTEX_API U_IMPORT
470 #define U_IO_API U_IMPORT
471 #define U_TOOLUTIL_API U_EXPORT
472 #else
473 #define U_DATA_API U_IMPORT
474 #define U_COMMON_API U_IMPORT
475 #define U_I18N_API U_IMPORT
476 #define U_LAYOUT_API U_IMPORT
477 #define U_LAYOUTEX_API U_IMPORT
478 #define U_IO_API U_IMPORT
479 #define U_TOOLUTIL_API U_IMPORT
480 #endif
481 
487 #ifdef __cplusplus
488 #define U_STANDARD_CPP_NAMESPACE ::
489 #else
490 #define U_STANDARD_CPP_NAMESPACE
491 #endif
492 
493 
494 /*===========================================================================*/
495 /* Global delete operator */
496 /*===========================================================================*/
497 
498 /*
499  * The ICU4C library must not use the global new and delete operators.
500  * These operators here are defined to enable testing for this.
501  * See Jitterbug 2581 for details of why this is necessary.
502  *
503  * Verification that ICU4C's memory usage is correct, i.e.,
504  * that global new/delete are not used:
505  *
506  * a) Check for imports of global new/delete (see uobject.cpp for details)
507  * b) Verify that new is never imported.
508  * c) Verify that delete is only imported from object code for interface/mixin classes.
509  * d) Add global delete and delete[] only for the ICU4C library itself
510  * and define them in a way that crashes or otherwise easily shows a problem.
511  *
512  * The following implements d).
513  * The operator implementations crash; this is intentional and used for library debugging.
514  *
515  * Note: This is currently only done on Windows because
516  * some Linux/Unix compilers have problems with defining global new/delete.
517  * On Windows, U_WINDOWS is defined, and it is _MSC_VER>=1200 for MSVC 6.0 and higher.
518  */
519 #if defined(XP_CPLUSPLUS) && defined(U_WINDOWS) && U_DEBUG && U_OVERRIDE_CXX_ALLOCATION && (_MSC_VER>=1200) && !defined(U_STATIC_IMPLEMENTATION) && (defined(U_COMMON_IMPLEMENTATION) || defined(U_I18N_IMPLEMENTATION) || defined(U_IO_IMPLEMENTATION) || defined(U_LAYOUT_IMPLEMENTATION) || defined(U_LAYOUTEX_IMPLEMENTATION))
520 
521 #ifndef U_HIDE_INTERNAL_API
522 
527 inline void *
528 operator new(size_t /*size*/) {
529  char *q=NULL;
530  *q=5; /* break it */
531  return q;
532 }
533 
534 #ifdef _Ret_bytecap_
535 /* This is only needed to suppress a Visual C++ 2008 warning for operator new[]. */
536 _Ret_bytecap_(_Size)
537 #endif
538 
543 inline void *
544 operator new[](size_t /*size*/) {
545  char *q=NULL;
546  *q=5; /* break it */
547  return q;
548 }
549 
555 inline void
556 operator delete(void * /*p*/) {
557  char *q=NULL;
558  *q=5; /* break it */
559 }
560 
566 inline void
567 operator delete[](void * /*p*/) {
568  char *q=NULL;
569  *q=5; /* break it */
570 }
571 
572 #endif /* U_HIDE_INTERNAL_API */
573 #endif
574 
575 /*===========================================================================*/
576 /* UErrorCode */
577 /*===========================================================================*/
578 
593 typedef enum UErrorCode {
594  /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
595  * and is that way because VC++ debugger displays first encountered constant,
596  * which is not the what the code is used for
597  */
598 
655  /*
656  * the error code range 0x10000 0x10100 are reserved for Transliterator
657  */
696  /*
697  * the error code range 0x10100 0x10200 are reserved for formatting API parsing error
698  */
719  /*
720  * the error code range 0x10200 0x102ff are reserved for Break Iterator related error
721  */
739  /*
740  * The error codes in the range 0x10300-0x103ff are reserved for regular expression related errrs
741  */
765  /*
766  * The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes
767  */
768  U_IDNA_PROHIBITED_ERROR=0x10400,
769  U_IDNA_ERROR_START=0x10400,
770  U_IDNA_UNASSIGNED_ERROR,
771  U_IDNA_CHECK_BIDI_ERROR,
772  U_IDNA_STD3_ASCII_RULES_ERROR,
773  U_IDNA_ACE_PREFIX_ERROR,
774  U_IDNA_VERIFICATION_ERROR,
775  U_IDNA_LABEL_TOO_LONG_ERROR,
776  U_IDNA_ZERO_LENGTH_LABEL_ERROR,
777  U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR,
778  U_IDNA_ERROR_LIMIT,
779  /*
780  * Aliases for StringPrep
781  */
782  U_STRINGPREP_PROHIBITED_ERROR = U_IDNA_PROHIBITED_ERROR,
783  U_STRINGPREP_UNASSIGNED_ERROR = U_IDNA_UNASSIGNED_ERROR,
784  U_STRINGPREP_CHECK_BIDI_ERROR = U_IDNA_CHECK_BIDI_ERROR,
785 
786 
787  U_ERROR_LIMIT=U_IDNA_ERROR_LIMIT
788 } UErrorCode;
789 
790 /* Use the following to determine if an UErrorCode represents */
791 /* operational success or failure. */
792 
793 #ifdef XP_CPLUSPLUS
794 
798  static
799  inline UBool U_SUCCESS(UErrorCode code) { return (UBool)(code<=U_ZERO_ERROR); }
804  static
805  inline UBool U_FAILURE(UErrorCode code) { return (UBool)(code>U_ZERO_ERROR); }
806 #else
807 
811 # define U_SUCCESS(x) ((x)<=U_ZERO_ERROR)
812 
816 # define U_FAILURE(x) ((x)>U_ZERO_ERROR)
817 #endif
818 
825 U_STABLE const char * U_EXPORT2
826 u_errorName(UErrorCode code);
827 
828 
829 #endif /* _UTYPES */
Typo: kept for backward compatibility.
Definition: utypes.h:702
Incorrectly nested parentheses in regexp pattern.
Definition: utypes.h:749
Internal transliterator system error.
Definition: utypes.h:691
const char * u_errorName(UErrorCode code)
Return a string for a UErrorCode value.
This must always be the last warning value to indicate the limit for UErrorCode warnings (last warnin...
Definition: utypes.h:617
Character conversion: Incomplete input sequence.
Definition: utypes.h:632
A compound filter is in an invalid location.
Definition: utypes.h:681
User tried to set variable top to a primary that is longer than two bytes.
Definition: utypes.h:643
A special character is outside its allowed context.
Definition: utypes.h:690
!!option in RBBI rules not recognized.
Definition: utypes.h:735
A variable reference is invalid.
Definition: utypes.h:665
Too many stand-ins generated for the given variable range.
Definition: utypes.h:688
A result would not fit in the supplied buffer.
Definition: utypes.h:636
#define U_SUCCESS(x)
Does the error code indicate success?
Definition: utypes.h:811
Conversion table file not found.
Definition: utypes.h:635
Collator version is not compatible with the base version.
Definition: utypes.h:650
An internal error (bug) was detected.
Definition: utypes.h:742
Switches for excluding parts of ICU library code modules.
Back-reference to a non-existent capture group.
Definition: utypes.h:753
Unrecognized backslash escape sequence in pattern.
Definition: utypes.h:746
#define U_FAILURE(x)
Does the error code indicate a failure?
Definition: utypes.h:816
This converter alias can go to different converter implementations.
Definition: utypes.h:613
ucol_open encountered a mismatch between UCA version and collator image version, so the collator was ...
Definition: utypes.h:615
Use of an undefined $Variable in an RBBI rule.
Definition: utypes.h:732
A variable definition is invalid.
Definition: utypes.h:664
The requested resource cannot be found.
Definition: utypes.h:623
Hex digits expected as part of a escaped char in a rule.
Definition: utypes.h:724
More than one post context.
Definition: utypes.h:674
A SafeClone operation required allocating memory (informational only)
Definition: utypes.h:605
More than one compound filter.
Definition: utypes.h:682
Syntax error in RBBI rule.
Definition: utypes.h:726
double UDate
Date and Time data type.
Definition: utypes.h:281
In {min,max}, max is less than min.
Definition: utypes.h:752
A rule is hidden by an earlier more general rule.
Definition: utypes.h:680
UnicodeSet witing an RBBI rule missing a closing &#39;]&#39;.
Definition: utypes.h:727
The variable range overlaps characters used in rules.
Definition: utypes.h:689
Start of format library errors.
Definition: utypes.h:700
No space available for in-buffer expansion for Arabic shaping.
Definition: utypes.h:641
Indicates a bug in the library code.
Definition: utypes.h:626
More than one percent symbol in number pattern.
Definition: utypes.h:705
Start of Transliterator errors.
Definition: utypes.h:659
Look-Behind pattern matches must have a bounded maximum length.
Definition: utypes.h:755
Elements of a rule are misplaced.
Definition: utypes.h:660
A start anchor appears at an illegal position.
Definition: utypes.h:667
An internal error (bug) was detected.
Definition: utypes.h:722
Decimal number is too large.
Definition: utypes.h:750
Attempt to modify read-only or constant data.
Definition: utypes.h:652
More than one ante context.
Definition: utypes.h:672
No error, no warning.
Definition: utypes.h:620
A closing single quote is missing.
Definition: utypes.h:679
C API: Contains all the important version numbers for ICU.
Unable to convert a UChar* string to char* with the invariant converter.
Definition: utypes.h:648
Octal character constants must be &lt;= 0377.
Definition: utypes.h:757
More than one cursor.
Definition: utypes.h:673
A special character was not quoted or escaped.
Definition: utypes.h:678
Trying to access the index that is out of bounds.
Definition: utypes.h:629
Error in {min,max} interval.
Definition: utypes.h:751
Mis-matched parentheses in an RBBI rule.
Definition: utypes.h:730
More than one decimal separator in number pattern.
Definition: utypes.h:701
Regexps cannot have UnicodeSets containing strings.
Definition: utypes.h:756
Memory allocation error.
Definition: utypes.h:628
Missing closing quote in an RBBI rule.
Definition: utypes.h:731
Initialization failure.
Definition: utypes.h:733
There are too many aliases in the path to the requested resource.
Definition: utypes.h:645
More than one exponent symbol in number pattern.
Definition: utypes.h:703
A resource bundle lookup returned a fallback result (not an error)
Definition: utypes.h:599
Syntax error in RBBI rule assignment statement.
Definition: utypes.h:728
A closing &#39;)&#39; is missing.
Definition: utypes.h:686
UEnumeration out of sync with underlying collection.
Definition: utypes.h:647
A segment reference does not correspond to a defined segment.
Definition: utypes.h:676
The requested file cannot be found.
Definition: utypes.h:625
ICU has to use compatibility layer to construct the service.
Definition: utypes.h:607
This must always be the last value to indicate the limit for UErrorCode (last error code +1) ...
Definition: utypes.h:787
A &quot;::id&quot; rule specifies an unknown transliterator.
Definition: utypes.h:692
Requested operation not supported in current context.
Definition: utypes.h:637
In a character range [x-y], x is greater than y.
Definition: utypes.h:759
UNUSED as of ICU 2.4.
Definition: utypes.h:711
Use of regexp feature that is not yet implemented.
Definition: utypes.h:748
Basic types and constants for UTF.
C API: Code point macros.
A resource bundle lookup returned a result from the root locale (not an error)
Definition: utypes.h:603
A variable reference does not correspond to a defined variable.
Definition: utypes.h:677
Start of codes indicating failure.
Definition: utypes.h:622
Data format is not what is expected.
Definition: utypes.h:624
Invalid value for match mode flags.
Definition: utypes.h:754
A &quot;&amp;fn()&quot; rule specifies an unknown transliterator.
Definition: utypes.h:693
Start of information results (semantically successful)
Definition: utypes.h:601
an operation is requested over a resource that does not support it
Definition: utypes.h:638
Character conversion: Illegal input sequence/combination of input units.
Definition: utypes.h:633
An output string could not be NUL-terminated because output length==destCapacity. ...
Definition: utypes.h:609
Character conversion: Unmappable input sequence.
Definition: utypes.h:631
Syntax error in regexp pattern.
Definition: utypes.h:744
More than one pad symbol in number pattern.
Definition: utypes.h:707
#define NULL
Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.
Definition: utypes.h:266
UNUSED as of ICU 2.4.
Definition: utypes.h:712
Number of levels requested in getBound is higher than the number of levels in the sort key...
Definition: utypes.h:611
A &quot;::id&quot; rule was passed to the RuleBasedTransliterator parser.
Definition: utypes.h:683
Maximum allowed match time exceeded.
Definition: utypes.h:761
Missing &#39;;&#39; at the end of a RBBI rule.
Definition: utypes.h:725
#define U_EXPORT2
Definition: platform.h:338
UNUSED as of ICU 2.4.
Definition: utypes.h:687
Missing DEFAULT rule in plural rules.
Definition: utypes.h:716
Equivalent to Java ParseException.
Definition: utypes.h:630
Unable to parse a message (message format)
Definition: utypes.h:627
Start of codes indicating Regexp failures.
Definition: utypes.h:743
This must always be the last value to indicate the limit for Break Iterator failures.
Definition: utypes.h:737
A rule contains no operator.
Definition: utypes.h:670
Matching operation aborted by user callback fn.
Definition: utypes.h:762
Syntax error in format pattern.
Definition: utypes.h:708
Missing closing bracket on a bracket expression.
Definition: utypes.h:758
UNUSED as of ICU 2.4.
Definition: utypes.h:662
Undefined Pluarl keyword.
Definition: utypes.h:715
Start of codes indicating Break Iterator failures.
Definition: utypes.h:723
Incorrect Unicode property.
Definition: utypes.h:747
The limit for Transliterator errors.
Definition: utypes.h:694
A UnicodeSet pattern is invalid.
Definition: utypes.h:661
Braces do not match in message pattern.
Definition: utypes.h:710
A quantifier appears after a segment close delimiter.
Definition: utypes.h:669
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
Definition: utypes.h:339
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Definition: utypes.h:593
Regular expression backtrack stack overflow.
Definition: utypes.h:760
RegexMatcher in invalid state for requested operation.
Definition: utypes.h:745
ISO-2022 illlegal escape sequence.
Definition: utypes.h:639
This must always be the last value to indicate the limit for standard errors.
Definition: utypes.h:654
Currently used only while setting variable top, but can be used generally.
Definition: utypes.h:642
Rule contains an empty Unicode Set.
Definition: utypes.h:734
UNUSED as of ICU 2.4.
Definition: utypes.h:684
Collator is options only and no base is specified.
Definition: utypes.h:651
A cursor offset occurs at an illegal position.
Definition: utypes.h:668
UNUSED as of ICU 2.4.
Definition: utypes.h:671
Syntax error in format pattern.
Definition: utypes.h:699
Pad symbol misplaced in number pattern.
Definition: utypes.h:709
The {nnn} tag on a rule is mal formed.
Definition: utypes.h:736
Missing &#39;$&#39; or duplicate variable name.
Definition: utypes.h:658
A Unicode escape pattern is invalid.
Definition: utypes.h:663
This must always be the last value to indicate the limit for regexp errors.
Definition: utypes.h:763
Grouping symbol in exponent pattern.
Definition: utypes.h:704
A dangling backslash.
Definition: utypes.h:675
The limit for format library errors.
Definition: utypes.h:717
Requested operation can not be completed with ICU in its current state.
Definition: utypes.h:649
Duplicate keyword in PluralFormat.
Definition: utypes.h:714
ICU cannot construct a service from this state, as it is no longer supported.
Definition: utypes.h:644
ISO-2022 unsupported escape sequence.
Definition: utypes.h:640
A &#39;use&#39; pragma is invlalid.
Definition: utypes.h:685
RBBI rule $Variable redefined.
Definition: utypes.h:729
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
Definition: umachine.h:117
int8_t UBool
The ICU boolean type.
Definition: umachine.h:208
Argument name and argument index mismatch in MessageFormat functions.
Definition: utypes.h:713
More than one permill symbol in number pattern.
Definition: utypes.h:706
Conversion table file found, but corrupted.
Definition: utypes.h:634
UNUSED as of ICU 2.4.
Definition: utypes.h:666