]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/unicode/uvernum.h
2 *******************************************************************************
3 * Copyright (C) 2000-2016, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
9 * tab size: 8 (not used)
12 * Created by: Vladimir Weinstein
13 * Updated by: Steven R. Loomis
19 * \brief C API: definitions of ICU version numbers
21 * This file is included by uversion.h and other files. This file contains only
22 * macros and definitions. The actual version numbers are defined here.
26 * IMPORTANT: When updating version, the following things need to be done:
27 * source/common/unicode/uvernum.h - this file: update major, minor,
28 * patchlevel, suffix, version, short version constants, namespace,
29 * renaming macro, and copyright
31 * The following files need to be updated as well, which can be done
32 * by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
35 * source/common/common.vcproj - update 'Output file name' on the link tab so
36 * that it contains the new major/minor combination
37 * source/i18n/i18n.vcproj - same as for the common.vcproj
38 * source/layout/layout.vcproj - same as for the common.vcproj
39 * source/layoutex/layoutex.vcproj - same
40 * source/stubdata/stubdata.vcproj - same as for the common.vcproj
41 * source/io/io.vcproj - same as for the common.vcproj
42 * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
43 * the new major/minor combination and the Unicode version.
49 /** The standard copyright notice that gets compiled into each library.
50 * This value will change in the subsequent releases of ICU
53 #define U_COPYRIGHT_STRING \
54 " Copyright (C) 2016, International Business Machines Corporation and others. All Rights Reserved. "
56 /** The current ICU major version as an integer.
57 * This value will change in the subsequent releases of ICU
60 #define U_ICU_VERSION_MAJOR_NUM 57
62 /** The current ICU minor version as an integer.
63 * This value will change in the subsequent releases of ICU
66 #define U_ICU_VERSION_MINOR_NUM 1
68 /** The current ICU patchlevel version as an integer.
69 * This value will change in the subsequent releases of ICU
72 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
74 /** The current ICU build level version as an integer.
75 * This value is for use by ICU clients. It defaults to 0.
78 #ifndef U_ICU_VERSION_BUILDLEVEL_NUM
79 #define U_ICU_VERSION_BUILDLEVEL_NUM 0
82 /** Glued version suffix for renamers
83 * This value will change in the subsequent releases of ICU
86 #define U_ICU_VERSION_SUFFIX _57
89 * \def U_DEF2_ICU_ENTRY_POINT_RENAME
93 * \def U_DEF_ICU_ENTRY_POINT_RENAME
96 /** Glued version suffix function for renamers
97 * This value will change in the subsequent releases of ICU.
98 * If a custom suffix (such as matching library suffixes) is desired, this can be modified.
99 * Note that if present, platform.h may contain an earlier definition of this macro.
100 * \def U_ICU_ENTRY_POINT_RENAME
104 #ifndef U_ICU_ENTRY_POINT_RENAME
105 #ifdef U_HAVE_LIB_SUFFIX
106 #define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z
107 #define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z)
108 #define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME)
110 #define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
111 #define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
112 #define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
116 /** The current ICU library version as a dotted-decimal string. The patchlevel
117 * only appears in this string if it non-zero.
118 * This value will change in the subsequent releases of ICU
121 #define U_ICU_VERSION "57.1"
123 /** The current ICU library major/minor version as a string without dots, for library name suffixes.
124 * This value will change in the subsequent releases of ICU
127 #define U_ICU_VERSION_SHORT "57"
129 #ifndef U_HIDE_INTERNAL_API
130 /** Data version in ICU4C.
131 * @internal ICU 4.4 Internal Use Only
133 #define U_ICU_DATA_VERSION "57.1"
134 #endif /* U_HIDE_INTERNAL_API */
136 /*===========================================================================
137 * ICU collation framework version information
138 * Version info that can be obtained from a collator is affected by these
139 * numbers in a secret and magic way. Please use collator version as whole
140 *===========================================================================
144 * Collation runtime version (sort key generator, strcoll).
145 * If the version is different, sort keys for the same string could be different.
146 * This value may change in subsequent releases of ICU.
149 #define UCOL_RUNTIME_VERSION 9
152 * Collation builder code version.
153 * When this is different, the same tailoring might result
154 * in assigning different collation elements to code points.
155 * This value may change in subsequent releases of ICU.
158 #define UCOL_BUILDER_VERSION 9
160 #ifndef U_HIDE_DEPRECATED_API
163 * This was intended to be the version of collation tailorings,
164 * but instead the tailoring data carries a version number.
167 #define UCOL_TAILORINGS_VERSION 1
168 #endif /* U_HIDE_DEPRECATED_API */