<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>ICU 52.1: utypes.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_f59c6450ff718ff1b085cfd1c36acbd7.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">utypes.h</div> </div> </div><!--header--> <div class="contents"> <a href="utypes_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">**********************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (C) 1996-2012, International Business Machines</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">**********************************************************************</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">*</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* FILE NAME : UTYPES.H (formerly ptypes.h)</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">*</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">* Date Name Description</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">* 12/11/96 helena Creation.</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* 02/27/97 aliu Added typedefs for UClassID, int8, int16, int32,</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">* uint8, uint16, and uint32.</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">* 04/01/97 aliu Added XP_CPLUSPLUS and modified to work under C as</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">* well as C++.</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">* Modified to use memcpy() for uprv_arrayCopy() fns.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">* 04/14/97 aliu Added TPlatformUtilities.</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">* 05/07/97 aliu Added import/export specifiers (replacing the old</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">* broken EXT_CLASS). Added version number for our</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">* code. Cleaned up header.</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">* 6/20/97 helena Java class name change.</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">* 08/11/98 stephen UErrorCode changed from typedef to enum</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">* 08/12/98 erm Changed T_ANALYTIC_PACKAGE_VERSION to 3</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">* 08/14/98 stephen Added uprv_arrayCopy() for int8_t, int16_t, int32_t</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">* 12/09/98 jfitz Added BUFFER_OVERFLOW_ERROR (bug 1100066)</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">* 04/20/99 stephen Cleaned up & reworked for autoconf.</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">* Renamed to utypes.h.</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">* 05/05/99 stephen Changed to use <inttypes.h></span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">* 12/07/99 helena Moved copyright notice string from ucnv_bld.h here.</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">*/</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#ifndef UTYPES_H</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor"></span><span class="preprocessor">#define UTYPES_H</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="umachine_8h.html" title="Basic types and constants for UTF.">unicode/umachine.h</a>"</span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="uversion_8h.html" title="C API: API for accessing ICU version numbers.">unicode/uversion.h</a>"</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "<a class="code" href="uconfig_8h.html" title="User-configurable settings.">unicode/uconfig.h</a>"</span></div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <float.h></span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#if !U_NO_DEFAULT_INCLUDE_UTF_HEADERS</span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor"></span><span class="preprocessor"># include "<a class="code" href="utf_8h.html" title="C API: Code point macros.">unicode/utf.h</a>"</span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor"></span><span class="preprocessor"># ifndef U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span><span class="preprocessor"># define U_SHOW_CPLUSPLUS_API 1</span></div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"></span><span class="preprocessor">#else</span></div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor"></span><span class="preprocessor"># undef U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="utypes_8h.html#ad8fa5bb3076c4f8cdb9ba547089f2ca6"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor"># define U_SHOW_CPLUSPLUS_API 0</span></div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor">#if !U_DEFAULT_SHOW_DRAFT && !defined(U_SHOW_DRAFT_API)</span></div> <div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="utypes_8h.html#a06945159db789670a11e785b4f691b41"> 82</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_HIDE_DRAFT_API 1</span></div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor"></span><span class="preprocessor">#if !U_DEFAULT_SHOW_DRAFT && !defined(U_SHOW_INTERNAL_API)</span></div> <div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="utypes_8h.html#a6269f8232c52d3a2c83545cd2e7d9293"> 85</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_HIDE_INTERNAL_API 1</span></div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment">/* ICUDATA naming scheme */</span></div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor">#if U_CHARSET_FAMILY</span></div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor"></span><span class="preprocessor"># if U_IS_BIG_ENDIAN</span></div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="preprocessor"></span> <span class="comment">/* EBCDIC - should always be BE */</span></div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor"># define U_ICUDATA_TYPE_LETTER "e"</span></div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor"></span><span class="preprocessor"># define U_ICUDATA_TYPE_LITLETTER e</span></div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor"></span><span class="preprocessor"># error "Don't know what to do with little endian EBCDIC!"</span></div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor"></span><span class="preprocessor"># define U_ICUDATA_TYPE_LETTER "x"</span></div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="preprocessor"></span><span class="preprocessor"># define U_ICUDATA_TYPE_LITLETTER x</span></div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor"></span><span class="preprocessor">#else</span></div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor"></span><span class="preprocessor"># if U_IS_BIG_ENDIAN</span></div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor"></span> <span class="comment">/* Big-endian ASCII */</span></div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor"># define U_ICUDATA_TYPE_LETTER "b"</span></div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="preprocessor"></span><span class="preprocessor"># define U_ICUDATA_TYPE_LITLETTER b</span></div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor"></span> <span class="comment">/* Little-endian ASCII */</span></div> <div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="utypes_8h.html#a5ffc2b3a9a3b3e33c35e8b9f1d5b5055"> 127</a></span> <span class="preprocessor"># define U_ICUDATA_TYPE_LETTER "l"</span></div> <div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="utypes_8h.html#a8f6a7088610de8810d4892c72d07f857"> 128</a></span> <span class="preprocessor"></span><span class="preprocessor"># define U_ICUDATA_TYPE_LITLETTER l</span></div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00137"></a><span class="lineno"><a class="code" href="utypes_8h.html#a2c1a674c492e0cd5019006c64ed1fa32"> 137</a></span> <span class="preprocessor">#define U_ICUDATA_NAME "icudt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER</span></div> <div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="preprocessor"></span><span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="preprocessor"></span><span class="preprocessor">#define U_USRDATA_NAME "usrdt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER </span></div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor">#define U_USE_USRDATA 1 </span></div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="utypes_8h.html#a1d160c8ac5758feae64eccf08557d9e5"> 154</a></span> <span class="preprocessor">#define U_ICUDATA_ENTRY_POINT U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM,U_LIB_SUFFIX_C_NAME)</span></div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor">#define U_DEF2_ICUDATA_ENTRY_POINT(major,suff) U_DEF_ICUDATA_ENTRY_POINT(major,suff)</span></div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="preprocessor">#ifndef U_DEF_ICUDATA_ENTRY_POINT</span></div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="preprocessor"></span><span class="comment">/* affected by symbol renaming. See platform.h */</span></div> <div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="preprocessor">#ifndef U_LIB_SUFFIX_C_NAME</span></div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DEF_ICUDATA_ENTRY_POINT(major, suff) icudt##major##_dat</span></div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="preprocessor"></span><span class="preprocessor">#else</span></div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DEF_ICUDATA_ENTRY_POINT(major, suff) icudt##suff ## major##_dat</span></div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="preprocessor">#ifndef NULL</span></div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="preprocessor"></span><span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="preprocessor"></span><span class="preprocessor">#define NULL 0</span></div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="preprocessor"></span><span class="preprocessor">#else</span></div> <div class="line"><a name="l00186"></a><span class="lineno"><a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4"> 186</a></span> <span class="preprocessor"></span><span class="preprocessor">#define NULL ((void *)0)</span></div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="comment">/* Calendar/TimeZone data types */</span></div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div> <div class="line"><a name="l00201"></a><span class="lineno"><a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039"> 201</a></span> <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>;</div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div> <div class="line"><a name="l00204"></a><span class="lineno"><a class="code" href="utypes_8h.html#a38068d79565f22b0f14ff562f2fb5b19"> 204</a></span> <span class="preprocessor">#define U_MILLIS_PER_SECOND (1000)</span></div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="utypes_8h.html#aabc4b1495952bc1ad9707930dd4562b0"> 206</a></span> <span class="preprocessor">#define U_MILLIS_PER_MINUTE (60000)</span></div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00208"></a><span class="lineno"><a class="code" href="utypes_8h.html#ada7332e7606334a9c09e510862f1b80e"> 208</a></span> <span class="preprocessor">#define U_MILLIS_PER_HOUR (3600000)</span></div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00210"></a><span class="lineno"><a class="code" href="utypes_8h.html#ad0729b7981555063c58da3cc3969dc33"> 210</a></span> <span class="preprocessor">#define U_MILLIS_PER_DAY (86400000)</span></div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00216"></a><span class="lineno"><a class="code" href="utypes_8h.html#ad047bd98b890fc992cbf550ed3cf2b11"> 216</a></span> <span class="preprocessor">#define U_DATE_MAX DBL_MAX</span></div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00222"></a><span class="lineno"><a class="code" href="utypes_8h.html#a040c4cf82b8780ca1daeb5bab0f659c2"> 222</a></span> <span class="preprocessor">#define U_DATE_MIN -U_DATE_MAX</span></div> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="comment">/* Shared library/DLL import-export API control */</span></div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="comment">/*</span></div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="comment"> * Control of symbol import/export.</span></div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"> * ICU is separated into three libraries.</span></div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment"> */</span></div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="preprocessor">#if defined(U_COMBINED_IMPLEMENTATION)</span></div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API U_EXPORT</span></div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API U_EXPORT</span></div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API U_EXPORT</span></div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API U_EXPORT</span></div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API U_EXPORT</span></div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API U_EXPORT</span></div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API U_EXPORT</span></div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(U_STATIC_IMPLEMENTATION)</span></div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API</span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API</span></div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API</span></div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API</span></div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API</span></div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API</span></div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API</span></div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(U_COMMON_IMPLEMENTATION)</span></div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API U_IMPORT</span></div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API U_EXPORT</span></div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API U_IMPORT</span></div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API U_IMPORT</span></div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API U_IMPORT</span></div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API U_IMPORT</span></div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API U_IMPORT</span></div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(U_I18N_IMPLEMENTATION)</span></div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API U_IMPORT</span></div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API U_IMPORT</span></div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API U_EXPORT</span></div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API U_IMPORT</span></div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API U_IMPORT</span></div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API U_IMPORT</span></div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API U_IMPORT</span></div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(U_LAYOUT_IMPLEMENTATION)</span></div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API U_IMPORT</span></div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API U_IMPORT</span></div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API U_IMPORT</span></div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API U_EXPORT</span></div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API U_IMPORT</span></div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API U_IMPORT</span></div> <div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API U_IMPORT</span></div> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(U_LAYOUTEX_IMPLEMENTATION)</span></div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API U_IMPORT</span></div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API U_IMPORT</span></div> <div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API U_IMPORT</span></div> <div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API U_IMPORT</span></div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API U_EXPORT</span></div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API U_IMPORT</span></div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API U_IMPORT</span></div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(U_IO_IMPLEMENTATION)</span></div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API U_IMPORT</span></div> <div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API U_IMPORT</span></div> <div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API U_IMPORT</span></div> <div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API U_IMPORT</span></div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API U_IMPORT</span></div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API U_EXPORT</span></div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API U_IMPORT</span></div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(U_TOOLUTIL_IMPLEMENTATION)</span></div> <div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API U_IMPORT</span></div> <div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API U_IMPORT</span></div> <div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API U_IMPORT</span></div> <div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API U_IMPORT</span></div> <div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API U_IMPORT</span></div> <div class="line"><a name="l00353"></a><span class="lineno"> 353</span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API U_IMPORT</span></div> <div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API U_EXPORT</span></div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="preprocessor"></span><span class="preprocessor">#else</span></div> <div class="line"><a name="l00356"></a><span class="lineno"><a class="code" href="utypes_8h.html#a12732929e67c6d977b94c68c8911ae21"> 356</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_DATA_API U_IMPORT</span></div> <div class="line"><a name="l00357"></a><span class="lineno"><a class="code" href="utypes_8h.html#a559955ec3bc692657c5d8b1c6de8e334"> 357</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_COMMON_API U_IMPORT</span></div> <div class="line"><a name="l00358"></a><span class="lineno"><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a"> 358</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_I18N_API U_IMPORT</span></div> <div class="line"><a name="l00359"></a><span class="lineno"><a class="code" href="utypes_8h.html#a623f81640d6092d9141a1d4d24ccaffc"> 359</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUT_API U_IMPORT</span></div> <div class="line"><a name="l00360"></a><span class="lineno"><a class="code" href="utypes_8h.html#a29c71565364a6e97d98b45c4e928d567"> 360</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_LAYOUTEX_API U_IMPORT</span></div> <div class="line"><a name="l00361"></a><span class="lineno"><a class="code" href="utypes_8h.html#a845bce6fe50083b4fc9c890286aa509e"> 361</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_IO_API U_IMPORT</span></div> <div class="line"><a name="l00362"></a><span class="lineno"><a class="code" href="utypes_8h.html#aa03f48d3ba4dd985dcde4d6c0e5b2d07"> 362</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_TOOLUTIL_API U_IMPORT</span></div> <div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</span> <span class="preprocessor"></span><span class="preprocessor">#define U_STANDARD_CPP_NAMESPACE ::</span></div> <div class="line"><a name="l00372"></a><span class="lineno"> 372</span> <span class="preprocessor"></span><span class="preprocessor">#else</span></div> <div class="line"><a name="l00373"></a><span class="lineno"><a class="code" href="utypes_8h.html#a13b45bffcfdecc8f549963443b5aeac9"> 373</a></span> <span class="preprocessor"></span><span class="preprocessor">#define U_STANDARD_CPP_NAMESPACE</span></div> <div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <span class="comment">/* Global delete operator */</span></div> <div class="line"><a name="l00379"></a><span class="lineno"> 379</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00380"></a><span class="lineno"> 380</span> </div> <div class="line"><a name="l00381"></a><span class="lineno"> 381</span> <span class="comment">/*</span></div> <div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="comment"> * The ICU4C library must not use the global new and delete operators.</span></div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span> <span class="comment"> * These operators here are defined to enable testing for this.</span></div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="comment"> * See Jitterbug 2581 for details of why this is necessary.</span></div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="comment"> *</span></div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span> <span class="comment"> * Verification that ICU4C's memory usage is correct, i.e.,</span></div> <div class="line"><a name="l00387"></a><span class="lineno"> 387</span> <span class="comment"> * that global new/delete are not used:</span></div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <span class="comment"> *</span></div> <div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <span class="comment"> * a) Check for imports of global new/delete (see uobject.cpp for details)</span></div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span> <span class="comment"> * b) Verify that new is never imported.</span></div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="comment"> * c) Verify that delete is only imported from object code for interface/mixin classes.</span></div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="comment"> * d) Add global delete and delete[] only for the ICU4C library itself</span></div> <div class="line"><a name="l00393"></a><span class="lineno"> 393</span> <span class="comment"> * and define them in a way that crashes or otherwise easily shows a problem.</span></div> <div class="line"><a name="l00394"></a><span class="lineno"> 394</span> <span class="comment"> *</span></div> <div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <span class="comment"> * The following implements d).</span></div> <div class="line"><a name="l00396"></a><span class="lineno"> 396</span> <span class="comment"> * The operator implementations crash; this is intentional and used for library debugging.</span></div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</span> <span class="comment"> *</span></div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span> <span class="comment"> * Note: This is currently only done on Windows because</span></div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span> <span class="comment"> * some Linux/Unix compilers have problems with defining global new/delete.</span></div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span> <span class="comment"> * On Windows, it is _MSC_VER>=1200 for MSVC 6.0 and higher.</span></div> <div class="line"><a name="l00401"></a><span class="lineno"> 401</span> <span class="comment"> */</span></div> <div class="line"><a name="l00402"></a><span class="lineno"> 402</span> <span class="preprocessor">#if defined(__cplusplus) && 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))</span></div> <div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00404"></a><span class="lineno"> 404</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00405"></a><span class="lineno"> 405</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> *</div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <span class="keyword">operator</span> <span class="keyword">new</span>(<span class="keywordtype">size_t</span> <span class="comment">/*size*/</span>) {</div> <div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <span class="keywordtype">char</span> *q=<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>;</div> <div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  *q=5; <span class="comment">/* break it */</span></div> <div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keywordflow">return</span> q;</div> <div class="line"><a name="l00415"></a><span class="lineno"> 415</span> }</div> <div class="line"><a name="l00416"></a><span class="lineno"> 416</span> </div> <div class="line"><a name="l00417"></a><span class="lineno"> 417</span> <span class="preprocessor">#ifdef _Ret_bytecap_</span></div> <div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="preprocessor"></span><span class="comment">/* This is only needed to suppress a Visual C++ 2008 warning for operator new[]. */</span></div> <div class="line"><a name="l00419"></a><span class="lineno"> 419</span> _Ret_bytecap_(_Size)</div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00421"></a><span class="lineno"> 421</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> *</div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span> <span class="keyword">operator</span> <span class="keyword">new</span>[](<span class="keywordtype">size_t</span> <span class="comment">/*size*/</span>) {</div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <span class="keywordtype">char</span> *q=<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>;</div> <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  *q=5; <span class="comment">/* break it */</span></div> <div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keywordflow">return</span> q;</div> <div class="line"><a name="l00431"></a><span class="lineno"> 431</span> }</div> <div class="line"><a name="l00432"></a><span class="lineno"> 432</span> </div> <div class="line"><a name="l00438"></a><span class="lineno"> 438</span> <span class="keyword">inline</span> <span class="keywordtype">void</span></div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span> <span class="keyword">operator</span> <span class="keyword">delete</span>(<span class="keywordtype">void</span> * <span class="comment">/*p*/</span>) {</div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="keywordtype">char</span> *q=<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>;</div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  *q=5; <span class="comment">/* break it */</span></div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span> }</div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span> </div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span> <span class="keyword">inline</span> <span class="keywordtype">void</span></div> <div class="line"><a name="l00450"></a><span class="lineno"> 450</span> <span class="keyword">operator</span> <span class="keyword">delete</span>[](<span class="keywordtype">void</span> * <span class="comment">/*p*/</span>) {</div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keywordtype">char</span> *q=<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>;</div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  *q=5; <span class="comment">/* break it */</span></div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span> }</div> <div class="line"><a name="l00454"></a><span class="lineno"> 454</span> </div> <div class="line"><a name="l00455"></a><span class="lineno"> 455</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00456"></a><span class="lineno"> 456</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00457"></a><span class="lineno"> 457</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00458"></a><span class="lineno"> 458</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span> <span class="comment">/* UErrorCode */</span></div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span> <span class="comment">/*===========================================================================*/</span></div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span> </div> <div class="line"><a name="l00476"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c"> 476</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> {</div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="comment">/* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird</span></div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <span class="comment"> * and is that way because VC++ debugger displays first encountered constant,</span></div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span> <span class="comment"> * which is not the what the code is used for</span></div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span> <span class="comment"> */</span></div> <div class="line"><a name="l00481"></a><span class="lineno"> 481</span> </div> <div class="line"><a name="l00482"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad5587ac25f5b1f340bed0ed09d45d77f"> 482</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad5587ac25f5b1f340bed0ed09d45d77f" title="A resource bundle lookup returned a fallback result (not an error)">U_USING_FALLBACK_WARNING</a> = -128, </div> <div class="line"><a name="l00484"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cacfc1c1bb23eb007f8a61b966ae58da08"> 484</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cacfc1c1bb23eb007f8a61b966ae58da08" title="Start of information results (semantically successful)">U_ERROR_WARNING_START</a> = -128, </div> <div class="line"><a name="l00486"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caed8d36a0afbe3e5a2242f0005fcfad84"> 486</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caed8d36a0afbe3e5a2242f0005fcfad84" title="A resource bundle lookup returned a result from the root locale (not an error)">U_USING_DEFAULT_WARNING</a> = -127, </div> <div class="line"><a name="l00488"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5bb41deb082d216dd5315e29f2727405"> 488</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5bb41deb082d216dd5315e29f2727405" title="A SafeClone operation required allocating memory (informational only)">U_SAFECLONE_ALLOCATED_WARNING</a> = -126, </div> <div class="line"><a name="l00490"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae0626ff8bde8f7f0106562a89ef2ea72"> 490</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae0626ff8bde8f7f0106562a89ef2ea72" title="ICU has to use compatibility layer to construct the service.">U_STATE_OLD_WARNING</a> = -125, </div> <div class="line"><a name="l00492"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca34815fae03bafa4b3dd9685489f1c8d8"> 492</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca34815fae03bafa4b3dd9685489f1c8d8" title="An output string could not be NUL-terminated because output length==destCapacity.">U_STRING_NOT_TERMINATED_WARNING</a> = -124,</div> <div class="line"><a name="l00494"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca78081263df2c8503a63084605098ee3e"> 494</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca78081263df2c8503a63084605098ee3e" title="Number of levels requested in getBound is higher than the number of levels in the sort key...">U_SORT_KEY_TOO_SHORT_WARNING</a> = -123, </div> <div class="line"><a name="l00496"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca90c95e7c0f281420f210a552baa7c13d"> 496</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca90c95e7c0f281420f210a552baa7c13d" title="This converter alias can go to different converter implementations.">U_AMBIGUOUS_ALIAS_WARNING</a> = -122, </div> <div class="line"><a name="l00498"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cab2163a7cc546a28c1f4c78aff39c99a2"> 498</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cab2163a7cc546a28c1f4c78aff39c99a2" title="ucol_open encountered a mismatch between UCA version and collator image version, so the collator was ...">U_DIFFERENT_UCA_VERSION</a> = -121, </div> <div class="line"><a name="l00500"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae8c4445c092f24e308e3de408d5c38a6"> 500</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae8c4445c092f24e308e3de408d5c38a6" title="A plugin caused a level change.">U_PLUGIN_CHANGED_LEVEL_WARNING</a> = -120, </div> <div class="line"><a name="l00502"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae2073a8ed9011fdcf255a26f11a624b2"> 502</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae2073a8ed9011fdcf255a26f11a624b2" title="This must always be the last warning value to indicate the limit for UErrorCode warnings (last warnin...">U_ERROR_WARNING_LIMIT</a>, </div> <div class="line"><a name="l00505"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9"> 505</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9" title="No error, no warning.">U_ZERO_ERROR</a> = 0, </div> <div class="line"><a name="l00507"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca309ec9eeda4fba18847cf61f833445ea"> 507</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca309ec9eeda4fba18847cf61f833445ea" title="Start of codes indicating failure.">U_ILLEGAL_ARGUMENT_ERROR</a> = 1, </div> <div class="line"><a name="l00508"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca170fabb40612097923596f80536a07b7"> 508</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca170fabb40612097923596f80536a07b7" title="The requested resource cannot be found.">U_MISSING_RESOURCE_ERROR</a> = 2, </div> <div class="line"><a name="l00509"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca3b2830761371670dcbe807353eba2b6a"> 509</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca3b2830761371670dcbe807353eba2b6a" title="Data format is not what is expected.">U_INVALID_FORMAT_ERROR</a> = 3, </div> <div class="line"><a name="l00510"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca620c910f69c3f27151ce5b1215a8662a"> 510</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca620c910f69c3f27151ce5b1215a8662a" title="The requested file cannot be found.">U_FILE_ACCESS_ERROR</a> = 4, </div> <div class="line"><a name="l00511"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa982af5a82abf1560473c7531f30a2a8"> 511</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa982af5a82abf1560473c7531f30a2a8" title="Indicates a bug in the library code.">U_INTERNAL_PROGRAM_ERROR</a> = 5, </div> <div class="line"><a name="l00512"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca48ad88b7be07ab3e2ad9110195e18afc"> 512</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca48ad88b7be07ab3e2ad9110195e18afc" title="Unable to parse a message (message format)">U_MESSAGE_PARSE_ERROR</a> = 6, </div> <div class="line"><a name="l00513"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca243253eeb4885e17158b876849063269"> 513</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca243253eeb4885e17158b876849063269" title="Memory allocation error.">U_MEMORY_ALLOCATION_ERROR</a> = 7, </div> <div class="line"><a name="l00514"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca80c72dc6aa73be1a0ea6586a6ab8d73d"> 514</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca80c72dc6aa73be1a0ea6586a6ab8d73d" title="Trying to access the index that is out of bounds.">U_INDEX_OUTOFBOUNDS_ERROR</a> = 8, </div> <div class="line"><a name="l00515"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cac45cee739cf5ac404a09ee6555f28881"> 515</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cac45cee739cf5ac404a09ee6555f28881" title="Equivalent to Java ParseException.">U_PARSE_ERROR</a> = 9, </div> <div class="line"><a name="l00516"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae502473abb14aca98816038f02050abe"> 516</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae502473abb14aca98816038f02050abe" title="Character conversion: Unmappable input sequence.">U_INVALID_CHAR_FOUND</a> = 10, </div> <div class="line"><a name="l00517"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf0c13ee36e89774c7056360b81c76caf"> 517</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf0c13ee36e89774c7056360b81c76caf" title="Character conversion: Incomplete input sequence.">U_TRUNCATED_CHAR_FOUND</a> = 11, </div> <div class="line"><a name="l00518"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca616dcef9e839f1f7d2b15d9ad300f7e7"> 518</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca616dcef9e839f1f7d2b15d9ad300f7e7" title="Character conversion: Illegal input sequence/combination of input units.">U_ILLEGAL_CHAR_FOUND</a> = 12, </div> <div class="line"><a name="l00519"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cab1b46153d94ce20a3cac0b6c9550963b"> 519</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cab1b46153d94ce20a3cac0b6c9550963b" title="Conversion table file found, but corrupted.">U_INVALID_TABLE_FORMAT</a> = 13, </div> <div class="line"><a name="l00520"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca2137af5bb9737b75855f7079d2b35706"> 520</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca2137af5bb9737b75855f7079d2b35706" title="Conversion table file not found.">U_INVALID_TABLE_FILE</a> = 14, </div> <div class="line"><a name="l00521"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca294424f5f497a3161ed08b63ac962135"> 521</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca294424f5f497a3161ed08b63ac962135" title="A result would not fit in the supplied buffer.">U_BUFFER_OVERFLOW_ERROR</a> = 15, </div> <div class="line"><a name="l00522"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca65a5a3a1b2f8ed0fb97e26068729a758"> 522</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca65a5a3a1b2f8ed0fb97e26068729a758" title="Requested operation not supported in current context.">U_UNSUPPORTED_ERROR</a> = 16, </div> <div class="line"><a name="l00523"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca7cd9d3af8106c1b382989157231c0665"> 523</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca7cd9d3af8106c1b382989157231c0665" title="an operation is requested over a resource that does not support it">U_RESOURCE_TYPE_MISMATCH</a> = 17, </div> <div class="line"><a name="l00524"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae769daf822521fe8d36b8749246b9f44"> 524</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae769daf822521fe8d36b8749246b9f44" title="ISO-2022 illlegal escape sequence.">U_ILLEGAL_ESCAPE_SEQUENCE</a> = 18, </div> <div class="line"><a name="l00525"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca16db18ca778f2592b98780dc7a18d759"> 525</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca16db18ca778f2592b98780dc7a18d759" title="ISO-2022 unsupported escape sequence.">U_UNSUPPORTED_ESCAPE_SEQUENCE</a> = 19, </div> <div class="line"><a name="l00526"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caeac8862f7c2a47173a69908dcc1f42ea"> 526</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caeac8862f7c2a47173a69908dcc1f42ea" title="No space available for in-buffer expansion for Arabic shaping.">U_NO_SPACE_AVAILABLE</a> = 20, </div> <div class="line"><a name="l00527"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca50a9aa38bb45d5a82b8e08896f45b27c"> 527</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca50a9aa38bb45d5a82b8e08896f45b27c" title="Currently used only while setting variable top, but can be used generally.">U_CE_NOT_FOUND_ERROR</a> = 21, </div> <div class="line"><a name="l00528"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca9a7178629da59c629b17814c2ec99f77"> 528</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca9a7178629da59c629b17814c2ec99f77" title="User tried to set variable top to a primary that is longer than two bytes.">U_PRIMARY_TOO_LONG_ERROR</a> = 22, </div> <div class="line"><a name="l00529"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca70eacab52e96e3dea2d6b3a141751cd1"> 529</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca70eacab52e96e3dea2d6b3a141751cd1" title="ICU cannot construct a service from this state, as it is no longer supported.">U_STATE_TOO_OLD_ERROR</a> = 23, </div> <div class="line"><a name="l00530"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6cd747442c17866090e3c3994d49d3fa"> 530</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6cd747442c17866090e3c3994d49d3fa" title="There are too many aliases in the path to the requested resource.">U_TOO_MANY_ALIASES_ERROR</a> = 24, </div> <div class="line"><a name="l00532"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf1014aa7aa1eec9e3f905384749c7545"> 532</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf1014aa7aa1eec9e3f905384749c7545" title="UEnumeration out of sync with underlying collection.">U_ENUM_OUT_OF_SYNC_ERROR</a> = 25, </div> <div class="line"><a name="l00533"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca97525a3511b2c591162ed77701199bbe"> 533</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca97525a3511b2c591162ed77701199bbe" title="Unable to convert a UChar* string to char* with the invariant converter.">U_INVARIANT_CONVERSION_ERROR</a> = 26, </div> <div class="line"><a name="l00534"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca790a28fc945834604e4427c43ec4d44f"> 534</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca790a28fc945834604e4427c43ec4d44f" title="Requested operation can not be completed with ICU in its current state.">U_INVALID_STATE_ERROR</a> = 27, </div> <div class="line"><a name="l00535"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca8352f1cee5f89b40b5aded225a593464"> 535</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca8352f1cee5f89b40b5aded225a593464" title="Collator version is not compatible with the base version.">U_COLLATOR_VERSION_MISMATCH</a> = 28, </div> <div class="line"><a name="l00536"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca581795b7e78afdef483a5d40fb375cde"> 536</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca581795b7e78afdef483a5d40fb375cde" title="Collator is options only and no base is specified.">U_USELESS_COLLATOR_ERROR</a> = 29, </div> <div class="line"><a name="l00537"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca3913819239c9825d3b3bb6a0cb1d0a28"> 537</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca3913819239c9825d3b3bb6a0cb1d0a28" title="Attempt to modify read-only or constant data.">U_NO_WRITE_PERMISSION</a> = 30, </div> <div class="line"><a name="l00539"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cac95be10a0360afc8388874d592bd4074"> 539</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cac95be10a0360afc8388874d592bd4074" title="This must always be the last value to indicate the limit for standard errors.">U_STANDARD_ERROR_LIMIT</a>, </div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span> <span class="comment"> * the error code range 0x10000 0x10100 are reserved for Transliterator</span></div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span> <span class="comment"> */</span></div> <div class="line"><a name="l00543"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca50abf3ccf88eac601ca09bf61a481ab0"> 543</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca50abf3ccf88eac601ca09bf61a481ab0" title="Missing '$' or duplicate variable name.">U_BAD_VARIABLE_DEFINITION</a>=0x10000,</div> <div class="line"><a name="l00544"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caec7ea07e89fe6a730ce09a8f6809db7e"> 544</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caec7ea07e89fe6a730ce09a8f6809db7e" title="Start of Transliterator errors.">U_PARSE_ERROR_START</a> = 0x10000, </div> <div class="line"><a name="l00545"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf8f95e1a86910196fe3a0e5035be261b"> 545</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf8f95e1a86910196fe3a0e5035be261b" title="Elements of a rule are misplaced.">U_MALFORMED_RULE</a>, </div> <div class="line"><a name="l00546"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cac9f1e99ef167efb2c2c5ff3275d5dc96"> 546</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cac9f1e99ef167efb2c2c5ff3275d5dc96" title="A UnicodeSet pattern is invalid.">U_MALFORMED_SET</a>, </div> <div class="line"><a name="l00547"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca51b7ac271c05ab7ebb542b9fbc0ce1e8"> 547</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca51b7ac271c05ab7ebb542b9fbc0ce1e8" title="UNUSED as of ICU 2.4.">U_MALFORMED_SYMBOL_REFERENCE</a>, </div> <div class="line"><a name="l00548"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad2fdf57ac1e600a0df82c2f291b09cd1"> 548</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad2fdf57ac1e600a0df82c2f291b09cd1" title="A Unicode escape pattern is invalid.">U_MALFORMED_UNICODE_ESCAPE</a>, </div> <div class="line"><a name="l00549"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca106338b0bffa6a9ea609b71248875c11"> 549</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca106338b0bffa6a9ea609b71248875c11" title="A variable definition is invalid.">U_MALFORMED_VARIABLE_DEFINITION</a>, </div> <div class="line"><a name="l00550"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa4c1301c8a9be1f8702cf23ecf368278"> 550</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa4c1301c8a9be1f8702cf23ecf368278" title="A variable reference is invalid.">U_MALFORMED_VARIABLE_REFERENCE</a>, </div> <div class="line"><a name="l00551"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca10b78ae0d07d5a8e26c6b9e456e811f4"> 551</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca10b78ae0d07d5a8e26c6b9e456e811f4" title="UNUSED as of ICU 2.4.">U_MISMATCHED_SEGMENT_DELIMITERS</a>, </div> <div class="line"><a name="l00552"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca00aec83ccfff4956f935ccf38b12b29a"> 552</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca00aec83ccfff4956f935ccf38b12b29a" title="A start anchor appears at an illegal position.">U_MISPLACED_ANCHOR_START</a>, </div> <div class="line"><a name="l00553"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf882f276381c050b003d6362dbb5058b"> 553</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf882f276381c050b003d6362dbb5058b" title="A cursor offset occurs at an illegal position.">U_MISPLACED_CURSOR_OFFSET</a>, </div> <div class="line"><a name="l00554"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca30d5acd21c9ecbc8f730a41699c199ca"> 554</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca30d5acd21c9ecbc8f730a41699c199ca" title="A quantifier appears after a segment close delimiter.">U_MISPLACED_QUANTIFIER</a>, </div> <div class="line"><a name="l00555"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad87737926f4b233af6ce9565bfa81a1c"> 555</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad87737926f4b233af6ce9565bfa81a1c" title="A rule contains no operator.">U_MISSING_OPERATOR</a>, </div> <div class="line"><a name="l00556"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cadc9ce9558c209821a9d7659e6b229733"> 556</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cadc9ce9558c209821a9d7659e6b229733" title="UNUSED as of ICU 2.4.">U_MISSING_SEGMENT_CLOSE</a>, </div> <div class="line"><a name="l00557"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca707c6061ad56bba1f743b53881e44a5e"> 557</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca707c6061ad56bba1f743b53881e44a5e" title="More than one ante context.">U_MULTIPLE_ANTE_CONTEXTS</a>, </div> <div class="line"><a name="l00558"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae372e7e28fb47cca90da238d59ce0793"> 558</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae372e7e28fb47cca90da238d59ce0793" title="More than one cursor.">U_MULTIPLE_CURSORS</a>, </div> <div class="line"><a name="l00559"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca86d28c53aa7b81b97bcd1eabcbd9cf5c"> 559</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca86d28c53aa7b81b97bcd1eabcbd9cf5c" title="More than one post context.">U_MULTIPLE_POST_CONTEXTS</a>, </div> <div class="line"><a name="l00560"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca443d8966c7e15de3d94abf88d29d2beb"> 560</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca443d8966c7e15de3d94abf88d29d2beb" title="A dangling backslash.">U_TRAILING_BACKSLASH</a>, </div> <div class="line"><a name="l00561"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca41a94a1720054961f1017c66bd26628d"> 561</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca41a94a1720054961f1017c66bd26628d" title="A segment reference does not correspond to a defined segment.">U_UNDEFINED_SEGMENT_REFERENCE</a>, </div> <div class="line"><a name="l00562"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cac995e7e9423963fd341fd7ec03578e91"> 562</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cac995e7e9423963fd341fd7ec03578e91" title="A variable reference does not correspond to a defined variable.">U_UNDEFINED_VARIABLE</a>, </div> <div class="line"><a name="l00563"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca750906a142c04e162ea5bb6167411f1a"> 563</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca750906a142c04e162ea5bb6167411f1a" title="A special character was not quoted or escaped.">U_UNQUOTED_SPECIAL</a>, </div> <div class="line"><a name="l00564"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5d7fb2a6ceb9425e787380c06932b721"> 564</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5d7fb2a6ceb9425e787380c06932b721" title="A closing single quote is missing.">U_UNTERMINATED_QUOTE</a>, </div> <div class="line"><a name="l00565"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca64deab5ad883d0b98f4e34a003cdee74"> 565</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca64deab5ad883d0b98f4e34a003cdee74" title="A rule is hidden by an earlier more general rule.">U_RULE_MASK_ERROR</a>, </div> <div class="line"><a name="l00566"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca29c6b7710dd0b2b8994e17da66f89e5f"> 566</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca29c6b7710dd0b2b8994e17da66f89e5f" title="A compound filter is in an invalid location.">U_MISPLACED_COMPOUND_FILTER</a>, </div> <div class="line"><a name="l00567"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad892b393c258949c152eb3eff308c68b"> 567</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad892b393c258949c152eb3eff308c68b" title="More than one compound filter.">U_MULTIPLE_COMPOUND_FILTERS</a>, </div> <div class="line"><a name="l00568"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cacf6fe18f0d25f256620ce4ac2a387e46"> 568</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cacf6fe18f0d25f256620ce4ac2a387e46" title="A "::id" rule was passed to the RuleBasedTransliterator parser.">U_INVALID_RBT_SYNTAX</a>, </div> <div class="line"><a name="l00569"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca9fa5da278a2680afcb071ead158ab95d"> 569</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca9fa5da278a2680afcb071ead158ab95d" title="UNUSED as of ICU 2.4.">U_INVALID_PROPERTY_PATTERN</a>, </div> <div class="line"><a name="l00570"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca514841a426025a6957b6d11ea207a754"> 570</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca514841a426025a6957b6d11ea207a754" title="A 'use' pragma is invlalid.">U_MALFORMED_PRAGMA</a>, </div> <div class="line"><a name="l00571"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caae4a595a231d975465c645adbd39a57c"> 571</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caae4a595a231d975465c645adbd39a57c" title="A closing ')' is missing.">U_UNCLOSED_SEGMENT</a>, </div> <div class="line"><a name="l00572"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cabd5b105dae090d5fa649bff207d38c37"> 572</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cabd5b105dae090d5fa649bff207d38c37" title="UNUSED as of ICU 2.4.">U_ILLEGAL_CHAR_IN_SEGMENT</a>, </div> <div class="line"><a name="l00573"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca2de147d1b7be08244899c3e1daeda686"> 573</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca2de147d1b7be08244899c3e1daeda686" title="Too many stand-ins generated for the given variable range.">U_VARIABLE_RANGE_EXHAUSTED</a>, </div> <div class="line"><a name="l00574"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf58b05f041edd7c47bc4e348648ac0b1"> 574</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf58b05f041edd7c47bc4e348648ac0b1" title="The variable range overlaps characters used in rules.">U_VARIABLE_RANGE_OVERLAP</a>, </div> <div class="line"><a name="l00575"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca7b8a758591ac2fba23bc089daf461d85"> 575</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca7b8a758591ac2fba23bc089daf461d85" title="A special character is outside its allowed context.">U_ILLEGAL_CHARACTER</a>, </div> <div class="line"><a name="l00576"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5565ed94e6edc7c5bc91344c021cb22f"> 576</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5565ed94e6edc7c5bc91344c021cb22f" title="Internal transliterator system error.">U_INTERNAL_TRANSLITERATOR_ERROR</a>, </div> <div class="line"><a name="l00577"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca30e61bc30bde484b10be863ed95f6bc6"> 577</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca30e61bc30bde484b10be863ed95f6bc6" title="A "::id" rule specifies an unknown transliterator.">U_INVALID_ID</a>, </div> <div class="line"><a name="l00578"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa07903569836a4303ce25e16ca26487b"> 578</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa07903569836a4303ce25e16ca26487b" title="A "&fn()" rule specifies an unknown transliterator.">U_INVALID_FUNCTION</a>, </div> <div class="line"><a name="l00579"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca7c3149ecac825fdea24fe3bd6bc097c2"> 579</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca7c3149ecac825fdea24fe3bd6bc097c2" title="The limit for Transliterator errors.">U_PARSE_ERROR_LIMIT</a>, </div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="comment"> * the error code range 0x10100 0x10200 are reserved for formatting API parsing error</span></div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</span> <span class="comment"> */</span></div> <div class="line"><a name="l00584"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5fe9c6fff314fa4216c3620f0c0a3e3e"> 584</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5fe9c6fff314fa4216c3620f0c0a3e3e" title="Syntax error in format pattern.">U_UNEXPECTED_TOKEN</a>=0x10100, </div> <div class="line"><a name="l00585"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca1543d02dfce2f7b01b57ad882c65c470"> 585</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca1543d02dfce2f7b01b57ad882c65c470" title="Start of format library errors.">U_FMT_PARSE_ERROR_START</a>=0x10100, </div> <div class="line"><a name="l00586"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caaebc292d3c792264512d92d54975b98e"> 586</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caaebc292d3c792264512d92d54975b98e" title="More than one decimal separator in number pattern.">U_MULTIPLE_DECIMAL_SEPARATORS</a>, </div> <div class="line"><a name="l00587"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cabdd40525be1960330852363dcead1f1b"> 587</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cabdd40525be1960330852363dcead1f1b" title="Typo: kept for backward compatibility.">U_MULTIPLE_DECIMAL_SEPERATORS</a> = <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caaebc292d3c792264512d92d54975b98e" title="More than one decimal separator in number pattern.">U_MULTIPLE_DECIMAL_SEPARATORS</a>, </div> <div class="line"><a name="l00588"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa4bca1e41f3f5326ccd942a870ed84db"> 588</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa4bca1e41f3f5326ccd942a870ed84db" title="More than one exponent symbol in number pattern.">U_MULTIPLE_EXPONENTIAL_SYMBOLS</a>, </div> <div class="line"><a name="l00589"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cada16431d7e64fb0fbf33dd243f98c53d"> 589</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cada16431d7e64fb0fbf33dd243f98c53d" title="Grouping symbol in exponent pattern.">U_MALFORMED_EXPONENTIAL_PATTERN</a>, </div> <div class="line"><a name="l00590"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca17f25ea678b6c7a708c9d4375799c383"> 590</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca17f25ea678b6c7a708c9d4375799c383" title="More than one percent symbol in number pattern.">U_MULTIPLE_PERCENT_SYMBOLS</a>, </div> <div class="line"><a name="l00591"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca7ee91a3227e15a738068609836f6c12d"> 591</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca7ee91a3227e15a738068609836f6c12d" title="More than one permill symbol in number pattern.">U_MULTIPLE_PERMILL_SYMBOLS</a>, </div> <div class="line"><a name="l00592"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca619fdb4d123a8db36dc0a4de49a5e77e"> 592</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca619fdb4d123a8db36dc0a4de49a5e77e" title="More than one pad symbol in number pattern.">U_MULTIPLE_PAD_SPECIFIERS</a>, </div> <div class="line"><a name="l00593"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca94bdd0fcb81e66c9a35e012266490748"> 593</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca94bdd0fcb81e66c9a35e012266490748" title="Syntax error in format pattern.">U_PATTERN_SYNTAX_ERROR</a>, </div> <div class="line"><a name="l00594"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca0780797f658a0ce7d6bfea272bf83277"> 594</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca0780797f658a0ce7d6bfea272bf83277" title="Pad symbol misplaced in number pattern.">U_ILLEGAL_PAD_POSITION</a>, </div> <div class="line"><a name="l00595"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cab0996404b555df6f27b3df22b585824b"> 595</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cab0996404b555df6f27b3df22b585824b" title="Braces do not match in message pattern.">U_UNMATCHED_BRACES</a>, </div> <div class="line"><a name="l00596"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca38f8cd32b3ee005b378bac6041143279"> 596</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca38f8cd32b3ee005b378bac6041143279" title="UNUSED as of ICU 2.4.">U_UNSUPPORTED_PROPERTY</a>, </div> <div class="line"><a name="l00597"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caca32851eb79fc23c4c317bdc6a6b9c76"> 597</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caca32851eb79fc23c4c317bdc6a6b9c76" title="UNUSED as of ICU 2.4.">U_UNSUPPORTED_ATTRIBUTE</a>, </div> <div class="line"><a name="l00598"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca11747c9cad5f2e652b8ced9ae4712370"> 598</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca11747c9cad5f2e652b8ced9ae4712370" title="Argument name and argument index mismatch in MessageFormat functions.">U_ARGUMENT_TYPE_MISMATCH</a>, </div> <div class="line"><a name="l00599"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca3f7af9b12cc2e789b09c50cfbe18520c"> 599</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca3f7af9b12cc2e789b09c50cfbe18520c" title="Duplicate keyword in PluralFormat.">U_DUPLICATE_KEYWORD</a>, </div> <div class="line"><a name="l00600"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6a313309d52ce98e3583307315def866"> 600</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6a313309d52ce98e3583307315def866" title="Undefined Plural keyword.">U_UNDEFINED_KEYWORD</a>, </div> <div class="line"><a name="l00601"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5a95466f8f658ab21c430a0b6d6fd153"> 601</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5a95466f8f658ab21c430a0b6d6fd153" title="Missing DEFAULT rule in plural rules.">U_DEFAULT_KEYWORD_MISSING</a>, </div> <div class="line"><a name="l00602"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca4d747b8462b52f716833e223ab38c125"> 602</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca4d747b8462b52f716833e223ab38c125" title="Decimal number syntax error.">U_DECIMAL_NUMBER_SYNTAX_ERROR</a>, </div> <div class="line"><a name="l00603"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cabe16597a109d16d958bada098f7813fe"> 603</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cabe16597a109d16d958bada098f7813fe" title="Cannot format a number exactly and rounding mode is ROUND_UNNECESSARY.">U_FORMAT_INEXACT_ERROR</a>, </div> <div class="line"><a name="l00604"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca0de6e0b25ba1af9b5e5197a104a86c94"> 604</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca0de6e0b25ba1af9b5e5197a104a86c94" title="The limit for format library errors.">U_FMT_PARSE_ERROR_LIMIT</a>, </div> <div class="line"><a name="l00606"></a><span class="lineno"> 606</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span> <span class="comment"> * the error code range 0x10200 0x102ff are reserved for Break Iterator related error</span></div> <div class="line"><a name="l00608"></a><span class="lineno"> 608</span> <span class="comment"> */</span></div> <div class="line"><a name="l00609"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca8ebaa33af906deb1919c154f6ecc8bac"> 609</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca8ebaa33af906deb1919c154f6ecc8bac" title="An internal error (bug) was detected.">U_BRK_INTERNAL_ERROR</a>=0x10200, </div> <div class="line"><a name="l00610"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa04c56bb85e8c660a149af213a1c16eb"> 610</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa04c56bb85e8c660a149af213a1c16eb" title="Start of codes indicating Break Iterator failures.">U_BRK_ERROR_START</a>=0x10200, </div> <div class="line"><a name="l00611"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca95f5e504e28e34d8c1961ea3554b859c"> 611</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca95f5e504e28e34d8c1961ea3554b859c" title="Hex digits expected as part of a escaped char in a rule.">U_BRK_HEX_DIGITS_EXPECTED</a>, </div> <div class="line"><a name="l00612"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad1a561a593cae45f0870feeb5d533e76"> 612</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad1a561a593cae45f0870feeb5d533e76" title="Missing ';' at the end of a RBBI rule.">U_BRK_SEMICOLON_EXPECTED</a>, </div> <div class="line"><a name="l00613"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad9eb5f57e3ce0ae1513c6af6e9a7f26d"> 613</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad9eb5f57e3ce0ae1513c6af6e9a7f26d" title="Syntax error in RBBI rule.">U_BRK_RULE_SYNTAX</a>, </div> <div class="line"><a name="l00614"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca9ae495564696e360a64e69c04e328d19"> 614</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca9ae495564696e360a64e69c04e328d19" title="UnicodeSet witing an RBBI rule missing a closing ']'.">U_BRK_UNCLOSED_SET</a>, </div> <div class="line"><a name="l00615"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca90f9350c9815ac1753fa6ecfcfa72202"> 615</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca90f9350c9815ac1753fa6ecfcfa72202" title="Syntax error in RBBI rule assignment statement.">U_BRK_ASSIGN_ERROR</a>, </div> <div class="line"><a name="l00616"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5af6b7b2ac5a0bf9b766d0d0dbce5391"> 616</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca5af6b7b2ac5a0bf9b766d0d0dbce5391" title="RBBI rule $Variable redefined.">U_BRK_VARIABLE_REDFINITION</a>, </div> <div class="line"><a name="l00617"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca786bd587116eb657a1c17df1820b5c77"> 617</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca786bd587116eb657a1c17df1820b5c77" title="Mis-matched parentheses in an RBBI rule.">U_BRK_MISMATCHED_PAREN</a>, </div> <div class="line"><a name="l00618"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cabb5958d9fedfdc8755a0e3d6eb60fa9c"> 618</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cabb5958d9fedfdc8755a0e3d6eb60fa9c" title="Missing closing quote in an RBBI rule.">U_BRK_NEW_LINE_IN_QUOTED_STRING</a>, </div> <div class="line"><a name="l00619"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6917c38c966be30c57455247bf7ae98f"> 619</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6917c38c966be30c57455247bf7ae98f" title="Use of an undefined $Variable in an RBBI rule.">U_BRK_UNDEFINED_VARIABLE</a>, </div> <div class="line"><a name="l00620"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca86b9d24bf7bc48f6ebfd9ee76f2dd406"> 620</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca86b9d24bf7bc48f6ebfd9ee76f2dd406" title="Initialization failure.">U_BRK_INIT_ERROR</a>, </div> <div class="line"><a name="l00621"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca4b5d04fbb22a826e56112cf743cce449"> 621</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca4b5d04fbb22a826e56112cf743cce449" title="Rule contains an empty Unicode Set.">U_BRK_RULE_EMPTY_SET</a>, </div> <div class="line"><a name="l00622"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca46c8330d5d1ee0b6d1248536a3ca963d"> 622</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca46c8330d5d1ee0b6d1248536a3ca963d" title="!!option in RBBI rules not recognized.">U_BRK_UNRECOGNIZED_OPTION</a>, </div> <div class="line"><a name="l00623"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf85f658b26f83d683de3cd0d943c2435"> 623</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf85f658b26f83d683de3cd0d943c2435" title="The {nnn} tag on a rule is mal formed.">U_BRK_MALFORMED_RULE_TAG</a>, </div> <div class="line"><a name="l00624"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6f7028fcc27d5e583873df027be17718"> 624</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6f7028fcc27d5e583873df027be17718" title="This must always be the last value to indicate the limit for Break Iterator failures.">U_BRK_ERROR_LIMIT</a>, </div> <div class="line"><a name="l00626"></a><span class="lineno"> 626</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00627"></a><span class="lineno"> 627</span> <span class="comment"> * The error codes in the range 0x10300-0x103ff are reserved for regular expression related errrs</span></div> <div class="line"><a name="l00628"></a><span class="lineno"> 628</span> <span class="comment"> */</span></div> <div class="line"><a name="l00629"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca30d5e3ae5f9c11e5adcc0a15f6600981"> 629</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca30d5e3ae5f9c11e5adcc0a15f6600981" title="An internal error (bug) was detected.">U_REGEX_INTERNAL_ERROR</a>=0x10300, </div> <div class="line"><a name="l00630"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cacbde4696a63fa1ab358131b7148461dd"> 630</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cacbde4696a63fa1ab358131b7148461dd" title="Start of codes indicating Regexp failures.">U_REGEX_ERROR_START</a>=0x10300, </div> <div class="line"><a name="l00631"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa29705b19e5107222d9dd481342860fd"> 631</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa29705b19e5107222d9dd481342860fd" title="Syntax error in regexp pattern.">U_REGEX_RULE_SYNTAX</a>, </div> <div class="line"><a name="l00632"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cadf17d183789528d9f02bba60b698590a"> 632</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cadf17d183789528d9f02bba60b698590a" title="RegexMatcher in invalid state for requested operation.">U_REGEX_INVALID_STATE</a>, </div> <div class="line"><a name="l00633"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca06679e78947417e52a12cbe1f1b1df29"> 633</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca06679e78947417e52a12cbe1f1b1df29" title="Unrecognized backslash escape sequence in pattern.">U_REGEX_BAD_ESCAPE_SEQUENCE</a>, </div> <div class="line"><a name="l00634"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca217a040cc2a3757a5821232989659267"> 634</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca217a040cc2a3757a5821232989659267" title="Incorrect Unicode property.">U_REGEX_PROPERTY_SYNTAX</a>, </div> <div class="line"><a name="l00635"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca299b06abcbff1d470222e6f1522a6dac"> 635</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca299b06abcbff1d470222e6f1522a6dac" title="Use of regexp feature that is not yet implemented.">U_REGEX_UNIMPLEMENTED</a>, </div> <div class="line"><a name="l00636"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca87ea0641eb620d9a20f2a760a092089d"> 636</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca87ea0641eb620d9a20f2a760a092089d" title="Incorrectly nested parentheses in regexp pattern.">U_REGEX_MISMATCHED_PAREN</a>, </div> <div class="line"><a name="l00637"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca78073885b5f48f21fe1daf1e1a782300"> 637</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca78073885b5f48f21fe1daf1e1a782300" title="Decimal number is too large.">U_REGEX_NUMBER_TOO_BIG</a>, </div> <div class="line"><a name="l00638"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cafca17e0e28b27701b8adebe9cb379960"> 638</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cafca17e0e28b27701b8adebe9cb379960" title="Error in {min,max} interval.">U_REGEX_BAD_INTERVAL</a>, </div> <div class="line"><a name="l00639"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caedaeec4f630c43294cf59422d15e811d"> 639</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caedaeec4f630c43294cf59422d15e811d" title="In {min,max}, max is less than min.">U_REGEX_MAX_LT_MIN</a>, </div> <div class="line"><a name="l00640"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6c6c9f669dc9210f2dc7161d7925cda8"> 640</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca6c6c9f669dc9210f2dc7161d7925cda8" title="Back-reference to a non-existent capture group.">U_REGEX_INVALID_BACK_REF</a>, </div> <div class="line"><a name="l00641"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad34950bf8a463d7e819e682b1d178cf6"> 641</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cad34950bf8a463d7e819e682b1d178cf6" title="Invalid value for match mode flags.">U_REGEX_INVALID_FLAG</a>, </div> <div class="line"><a name="l00642"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca03eb7cf44e4e79ef3c4368a3297c8069"> 642</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca03eb7cf44e4e79ef3c4368a3297c8069" title="Look-Behind pattern matches must have a bounded maximum length.">U_REGEX_LOOK_BEHIND_LIMIT</a>, </div> <div class="line"><a name="l00643"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf2b434e65a7d60093d9160f8c53375d4"> 643</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caf2b434e65a7d60093d9160f8c53375d4" title="Regexps cannot have UnicodeSets containing strings.">U_REGEX_SET_CONTAINS_STRING</a>, </div> <div class="line"><a name="l00644"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca3d17b45498904d2f58035cedd4273c23"> 644</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca3d17b45498904d2f58035cedd4273c23" title="Octal character constants must be <= 0377.">U_REGEX_OCTAL_TOO_BIG</a>, </div> <div class="line"><a name="l00645"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca344cd348bb04a35e32e16b10d928e4c6"> 645</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca344cd348bb04a35e32e16b10d928e4c6" title="Missing closing bracket on a bracket expression.">U_REGEX_MISSING_CLOSE_BRACKET</a>, </div> <div class="line"><a name="l00646"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca61c10aeaf63195ec1d8b66042958b6e7"> 646</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca61c10aeaf63195ec1d8b66042958b6e7" title="In a character range [x-y], x is greater than y.">U_REGEX_INVALID_RANGE</a>, </div> <div class="line"><a name="l00647"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae512a17030a5bffdd965ae308191e2b6"> 647</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae512a17030a5bffdd965ae308191e2b6" title="Regular expression backtrack stack overflow.">U_REGEX_STACK_OVERFLOW</a>, </div> <div class="line"><a name="l00648"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca54c16ef9081b5b60880c9025f224a39f"> 648</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca54c16ef9081b5b60880c9025f224a39f" title="Maximum allowed match time exceeded.">U_REGEX_TIME_OUT</a>, </div> <div class="line"><a name="l00649"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cab1b67db3e354111549c068f957ea395e"> 649</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cab1b67db3e354111549c068f957ea395e" title="Matching operation aborted by user callback fn.">U_REGEX_STOPPED_BY_CALLER</a>, </div> <div class="line"><a name="l00650"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caabd1e7808122f0213e71412a7b7a2867"> 650</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caabd1e7808122f0213e71412a7b7a2867" title="This must always be the last value to indicate the limit for regexp errors.">U_REGEX_ERROR_LIMIT</a>, </div> <div class="line"><a name="l00652"></a><span class="lineno"> 652</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00653"></a><span class="lineno"> 653</span> <span class="comment"> * The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes</span></div> <div class="line"><a name="l00654"></a><span class="lineno"> 654</span> <span class="comment"> */</span></div> <div class="line"><a name="l00655"></a><span class="lineno"> 655</span>  U_IDNA_PROHIBITED_ERROR=0x10400,</div> <div class="line"><a name="l00656"></a><span class="lineno"> 656</span>  U_IDNA_ERROR_START=0x10400,</div> <div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  U_IDNA_UNASSIGNED_ERROR,</div> <div class="line"><a name="l00658"></a><span class="lineno"> 658</span>  U_IDNA_CHECK_BIDI_ERROR,</div> <div class="line"><a name="l00659"></a><span class="lineno"> 659</span>  U_IDNA_STD3_ASCII_RULES_ERROR,</div> <div class="line"><a name="l00660"></a><span class="lineno"> 660</span>  U_IDNA_ACE_PREFIX_ERROR,</div> <div class="line"><a name="l00661"></a><span class="lineno"> 661</span>  U_IDNA_VERIFICATION_ERROR,</div> <div class="line"><a name="l00662"></a><span class="lineno"> 662</span>  U_IDNA_LABEL_TOO_LONG_ERROR,</div> <div class="line"><a name="l00663"></a><span class="lineno"> 663</span>  U_IDNA_ZERO_LENGTH_LABEL_ERROR,</div> <div class="line"><a name="l00664"></a><span class="lineno"> 664</span>  U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR,</div> <div class="line"><a name="l00665"></a><span class="lineno"> 665</span>  U_IDNA_ERROR_LIMIT,</div> <div class="line"><a name="l00666"></a><span class="lineno"> 666</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00667"></a><span class="lineno"> 667</span> <span class="comment"> * Aliases for StringPrep</span></div> <div class="line"><a name="l00668"></a><span class="lineno"> 668</span> <span class="comment"> */</span></div> <div class="line"><a name="l00669"></a><span class="lineno"> 669</span>  U_STRINGPREP_PROHIBITED_ERROR = U_IDNA_PROHIBITED_ERROR,</div> <div class="line"><a name="l00670"></a><span class="lineno"> 670</span>  U_STRINGPREP_UNASSIGNED_ERROR = U_IDNA_UNASSIGNED_ERROR,</div> <div class="line"><a name="l00671"></a><span class="lineno"> 671</span>  U_STRINGPREP_CHECK_BIDI_ERROR = U_IDNA_CHECK_BIDI_ERROR,</div> <div class="line"><a name="l00672"></a><span class="lineno"> 672</span>  </div> <div class="line"><a name="l00673"></a><span class="lineno"> 673</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00674"></a><span class="lineno"> 674</span> <span class="comment"> * The error code in the range 0x10500-0x105ff are reserved for Plugin related error codes</span></div> <div class="line"><a name="l00675"></a><span class="lineno"> 675</span> <span class="comment"> */</span></div> <div class="line"><a name="l00676"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca230191609565517f54598ba4eedbddf8"> 676</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca230191609565517f54598ba4eedbddf8" title="Start of codes indicating plugin failures.">U_PLUGIN_ERROR_START</a>=0x10500, </div> <div class="line"><a name="l00677"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca20dd581201f57bf222bfdad856b58ab8"> 677</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca20dd581201f57bf222bfdad856b58ab8" title="The plugin's level is too high to be loaded right now.">U_PLUGIN_TOO_HIGH</a>=0x10500, </div> <div class="line"><a name="l00678"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae51be4fe37326384a841098a6ea508d5"> 678</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78cae51be4fe37326384a841098a6ea508d5" title="The plugin didn't call uplug_setPlugLevel in response to a QUERY.">U_PLUGIN_DIDNT_SET_LEVEL</a>, </div> <div class="line"><a name="l00679"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca1e2a4a06e8db173a080676fee08ad99f"> 679</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca1e2a4a06e8db173a080676fee08ad99f" title="This must always be the last value to indicate the limit for plugin errors.">U_PLUGIN_ERROR_LIMIT</a>, </div> <div class="line"><a name="l00681"></a><span class="lineno"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca1ee60e67a1a4b175e00d0e9f0e449b52"> 681</a></span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca1ee60e67a1a4b175e00d0e9f0e449b52" title="This must always be the last value to indicate the limit for UErrorCode (last error code +1)...">U_ERROR_LIMIT</a>=<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78ca1e2a4a06e8db173a080676fee08ad99f" title="This must always be the last value to indicate the limit for plugin errors.">U_PLUGIN_ERROR_LIMIT</a> </div> <div class="line"><a name="l00682"></a><span class="lineno"> 682</span> } <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>;</div> <div class="line"><a name="l00683"></a><span class="lineno"> 683</span> </div> <div class="line"><a name="l00684"></a><span class="lineno"> 684</span> <span class="comment">/* Use the following to determine if an UErrorCode represents */</span></div> <div class="line"><a name="l00685"></a><span class="lineno"> 685</span> <span class="comment">/* operational success or failure. */</span></div> <div class="line"><a name="l00686"></a><span class="lineno"> 686</span> </div> <div class="line"><a name="l00687"></a><span class="lineno"> 687</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00688"></a><span class="lineno"> 688</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00692"></a><span class="lineno"> 692</span>  <span class="keyword">static</span></div> <div class="line"><a name="l00693"></a><span class="lineno"> 693</span>  <span class="keyword">inline</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711" title="Does the error code indicate success?">U_SUCCESS</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> code) { <span class="keywordflow">return</span> (<a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a>)(code<=<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9" title="No error, no warning.">U_ZERO_ERROR</a>); }</div> <div class="line"><a name="l00698"></a><span class="lineno"> 698</span>  <span class="keyword">static</span></div> <div class="line"><a name="l00699"></a><span class="lineno"> 699</span>  <span class="keyword">inline</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure?">U_FAILURE</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> code) { <span class="keywordflow">return</span> (<a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a>)(code><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9" title="No error, no warning.">U_ZERO_ERROR</a>); }</div> <div class="line"><a name="l00700"></a><span class="lineno"> 700</span> <span class="preprocessor">#else</span></div> <div class="line"><a name="l00701"></a><span class="lineno"> 701</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00705"></a><span class="lineno"><a class="code" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711"> 705</a></span> <span class="preprocessor"># define U_SUCCESS(x) ((x)<=U_ZERO_ERROR)</span></div> <div class="line"><a name="l00706"></a><span class="lineno"> 706</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00710"></a><span class="lineno"><a class="code" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f"> 710</a></span> <span class="preprocessor"># define U_FAILURE(x) ((x)>U_ZERO_ERROR)</span></div> <div class="line"><a name="l00711"></a><span class="lineno"> 711</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00712"></a><span class="lineno"> 712</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00719"></a><span class="lineno"> 719</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * U_EXPORT2</div> <div class="line"><a name="l00720"></a><span class="lineno"> 720</span> <a class="code" href="utypes_8h.html#a89eb455526bb29bf5350ee861d81df92" title="Return a string for a UErrorCode value.">u_errorName</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> code);</div> <div class="line"><a name="l00721"></a><span class="lineno"> 721</span> </div> <div class="line"><a name="l00722"></a><span class="lineno"> 722</span> </div> <div class="line"><a name="l00723"></a><span class="lineno"> 723</span> <span class="preprocessor">#endif </span><span class="comment">/* _UTYPES */</span><span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:22 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>