]> git.saurik.com Git - apple/icu.git/blob - icuSources/common/unicode/uvernum.h
ICU-491.11.3.tar.gz
[apple/icu.git] / icuSources / common / unicode / uvernum.h
1 /*
2 *******************************************************************************
3 * Copyright (C) 2000-2012, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
6 *
7 * file name: uvernum.h
8 * encoding: US-ASCII
9 * tab size: 8 (not used)
10 * indentation:4
11 *
12 * Created by: Vladimir Weinstein
13 * Updated by: Steven R. Loomis
14 *
15 * Gets included by uversion.h and other files.
16 *
17 * IMPORTANT: When updating version, the following things need to be done:
18 * source/common/unicode/uvernum.h - this file: update major, minor,
19 * patchlevel, suffix, version, short version constants, namespace,
20 * renaming macro, and copyright
21 *
22 * The following files need to be updated as well, which can be done
23 * by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
24 *
25 *
26 * source/common/common.vcproj - update 'Output file name' on the link tab so
27 * that it contains the new major/minor combination
28 * source/i18n/i18n.vcproj - same as for the common.vcproj
29 * source/layout/layout.vcproj - same as for the common.vcproj
30 * source/layoutex/layoutex.vcproj - same
31 * source/stubdata/stubdata.vcproj - same as for the common.vcproj
32 * source/io/io.vcproj - same as for the common.vcproj
33 * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
34 * the new major/minor combination and the Unicode version.
35 */
36
37 #ifndef UVERNUM_H
38 #define UVERNUM_H
39
40 /** The standard copyright notice that gets compiled into each library.
41 * This value will change in the subsequent releases of ICU
42 * @stable ICU 2.4
43 */
44 #define U_COPYRIGHT_STRING \
45 " Copyright (C) 2012, International Business Machines Corporation and others. All Rights Reserved. "
46
47 /** The current ICU major version as an integer.
48 * This value will change in the subsequent releases of ICU
49 * @stable ICU 2.4
50 */
51 #define U_ICU_VERSION_MAJOR_NUM 49
52
53 /** The current ICU minor version as an integer.
54 * This value will change in the subsequent releases of ICU
55 * @stable ICU 2.6
56 */
57 #define U_ICU_VERSION_MINOR_NUM 1
58
59 /** The current ICU patchlevel version as an integer.
60 * This value will change in the subsequent releases of ICU
61 * @stable ICU 2.4
62 */
63 #define U_ICU_VERSION_PATCHLEVEL_NUM 1
64
65 /** The current ICU build level version as an integer.
66 * This value is for use by ICU clients. It defaults to 0.
67 * @stable ICU 4.0
68 */
69 #ifndef U_ICU_VERSION_BUILDLEVEL_NUM
70 #define U_ICU_VERSION_BUILDLEVEL_NUM 0
71 #endif
72
73 /** Glued version suffix for renamers
74 * This value will change in the subsequent releases of ICU
75 * @stable ICU 2.6
76 */
77 #define U_ICU_VERSION_SUFFIX _49
78
79 /**
80 * \def U_DEF2_ICU_ENTRY_POINT_RENAME
81 * @internal
82 */
83 /**
84 * \def U_DEF_ICU_ENTRY_POINT_RENAME
85 * @internal
86 */
87 /** Glued version suffix function for renamers
88 * This value will change in the subsequent releases of ICU.
89 * If a custom suffix (such as matching library suffixes) is desired, this can be modified.
90 * Note that if present, platform.h may contain an earlier definition of this macro.
91 * \def U_ICU_ENTRY_POINT_RENAME
92 * @stable ICU 4.2
93 */
94
95 #ifndef U_ICU_ENTRY_POINT_RENAME
96 #ifdef U_HAVE_LIB_SUFFIX
97 #define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z
98 #define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z)
99 #define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME)
100 #else
101 #define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
102 #define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
103 #define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
104 #endif
105 #endif
106
107 /** The current ICU library version as a dotted-decimal string. The patchlevel
108 * only appears in this string if it non-zero.
109 * This value will change in the subsequent releases of ICU
110 * @stable ICU 2.4
111 */
112 #define U_ICU_VERSION "49.1.1"
113
114 /** The current ICU library major/minor version as a string without dots, for library name suffixes.
115 * This value will change in the subsequent releases of ICU
116 * @stable ICU 2.6
117 */
118 #define U_ICU_VERSION_SHORT "49"
119
120 #ifndef U_HIDE_INTERNAL_API
121 /** Data version in ICU4C.
122 * @internal ICU 4.4 Internal Use Only
123 **/
124 #define U_ICU_DATA_VERSION "49.1.1"
125 #endif /* U_HIDE_INTERNAL_API */
126
127 /*===========================================================================
128 * ICU collation framework version information
129 * Version info that can be obtained from a collator is affected by these
130 * numbers in a secret and magic way. Please use collator version as whole
131 *===========================================================================
132 */
133
134 /**
135 * Collation runtime version (sort key generator, strcoll).
136 * If the version is different, sort keys for the same string could be different.
137 * This value may change in subsequent releases of ICU.
138 * @stable ICU 2.4
139 */
140 #define UCOL_RUNTIME_VERSION 7
141
142 /**
143 * Collation builder code version.
144 * When this is different, the same tailoring might result
145 * in assigning different collation elements to code points.
146 * This value may change in subsequent releases of ICU.
147 * @stable ICU 2.4
148 */
149 #define UCOL_BUILDER_VERSION 8
150
151 /**
152 * This is the version of collation tailorings.
153 * This value may change in subsequent releases of ICU.
154 * @stable ICU 2.4
155 */
156 #define UCOL_TAILORINGS_VERSION 1
157
158 #endif