53 #define U_COPYRIGHT_STRING \
54 " Copyright (C) 2009, International Business Machines Corporation and others. All Rights Reserved. "
59 #define U_COPYRIGHT_STRING_LENGTH 128
65 #define U_ICU_VERSION_MAJOR_NUM 4
71 #define U_ICU_VERSION_MINOR_NUM 2
77 #define U_ICU_VERSION_PATCHLEVEL_NUM 1
83 #ifndef U_ICU_VERSION_BUILDLEVEL_NUM
84 #define U_ICU_VERSION_BUILDLEVEL_NUM 0
91 #define U_ICU_VERSION_SUFFIX _4_2
98 #define U_ICU_VERSION "4.2.1"
104 #define U_ICU_VERSION_SHORT "42"
109 #define U_MAX_VERSION_LENGTH 4
114 #define U_VERSION_DELIMITER '.'
119 #define U_MAX_VERSION_STRING_LENGTH 20
161 #if U_HAVE_NAMESPACE && defined(XP_CPLUSPLUS)
162 # if U_DISABLE_RENAMING
163 # define U_ICU_NAMESPACE icu
164 namespace U_ICU_NAMESPACE { }
166 # define U_ICU_NAMESPACE icu_4_2
167 namespace U_ICU_NAMESPACE { }
168 namespace icu = U_ICU_NAMESPACE;
171 # define U_NAMESPACE_BEGIN namespace U_ICU_NAMESPACE {
172 # define U_NAMESPACE_END }
173 # define U_NAMESPACE_USE using namespace U_ICU_NAMESPACE;
174 # define U_NAMESPACE_QUALIFIER U_ICU_NAMESPACE::
176 # ifndef U_USING_ICU_NAMESPACE
177 # define U_USING_ICU_NAMESPACE 1
179 # if U_USING_ICU_NAMESPACE
183 # define U_NAMESPACE_BEGIN
184 # define U_NAMESPACE_END
185 # define U_NAMESPACE_USE
186 # define U_NAMESPACE_QUALIFIER
280 #define UCOL_RUNTIME_VERSION 6
294 #define UCOL_BUILDER_VERSION 7
300 #define UCOL_TAILORINGS_VERSION 1
uint8_t UVersionInfo[U_MAX_VERSION_LENGTH]
The binary form of a version on ICU APIs is an array of 4 uint8_t.
#define U_MAX_VERSION_LENGTH
An ICU version consists of up to 4 numbers from 0..255.
void u_getVersion(UVersionInfo versionArray)
Gets the ICU release version.
void u_versionFromString(UVersionInfo versionArray, const char *versionString)
Parse a string with dotted-decimal version information and fill in a UVersionInfo structure with the ...
unsigned char uint8_t
Define 64 bit limits.
int32_t u_compareVersions(UVersionInfo v1, UVersionInfo v2)
Compare two version numbers, v1 and v2, numerically.
Basic types and constants for UTF.
#define U_NAMESPACE_USE
This is used to specify that the rest of the code uses the public ICU C++ API namespace.
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
void u_versionFromUString(UVersionInfo versionArray, const UChar *versionString)
Parse a Unicode string with dotted-decimal version information and fill in a UVersionInfo structure w...
signed int int32_t
Define 64 bit limits.
void u_versionToString(UVersionInfo versionArray, char *versionString)
Write a string with dotted-decimal version information according to the input UVersionInfo.
#define U_STABLE
This is used to declare a function as a stable public ICU C API.