ICU 70.1 70.1
uvernum.h
Go to the documentation of this file.
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
3/*
4*******************************************************************************
5* Copyright (C) 2000-2016, International Business Machines
6* Corporation and others. All Rights Reserved.
7*******************************************************************************
8*
9* file name: uvernum.h
10* encoding: UTF-8
11* tab size: 8 (not used)
12* indentation:4
13*
14* Created by: Vladimir Weinstein
15* Updated by: Steven R. Loomis
16*
17*/
18
27 /*
28 * IMPORTANT: When updating version, the following things need to be done:
29 * source/common/unicode/uvernum.h - this file: update major, minor,
30 * patchlevel, suffix, version, short version constants, namespace,
31 * renaming macro, and copyright
32 *
33 * The following files need to be updated as well, which can be done
34 * by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
35 *
36 *
37 * source/common/common_uwp.vcxproj
38 * source/common/common.vcxproj - update 'Output file name' on the link tab so
39 * that it contains the new major/minor combination
40 * source/i18n/i18n.vcxproj - same as for the common.vcxproj
41 * source/i18n/i18n_uwp.vcxproj - same as for the common_uwp.vcxproj
42 * source/layoutex/layoutex.vcproj - same
43 * source/stubdata/stubdata.vcproj - same as for the common.vcxproj
44 * source/io/io.vcproj - same as for the common.vcxproj
45 * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
46 * the new major/minor combination and the Unicode version.
47 */
48
49#ifndef UVERNUM_H
50#define UVERNUM_H
51
56#define U_COPYRIGHT_STRING \
57 " Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html "
58
63#define U_ICU_VERSION_MAJOR_NUM 70
64
69#define U_ICU_VERSION_MINOR_NUM 1
70
75#define U_ICU_VERSION_PATCHLEVEL_NUM 0
76
81#ifndef U_ICU_VERSION_BUILDLEVEL_NUM
82#define U_ICU_VERSION_BUILDLEVEL_NUM 0
83#endif
84
89#define U_ICU_VERSION_SUFFIX _70
90
111#ifndef U_DISABLE_VERSION_SUFFIX
112#define U_DISABLE_VERSION_SUFFIX 0
113#endif
114
115#ifndef U_ICU_ENTRY_POINT_RENAME
116#ifdef U_HAVE_LIB_SUFFIX
117# if !U_DISABLE_VERSION_SUFFIX
118# define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z
119# define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z)
120# define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME)
121# else
122# define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
123# define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
124# define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_LIB_SUFFIX_C_NAME)
125# endif
126#else
127# if !U_DISABLE_VERSION_SUFFIX
128# define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
129# define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
130# define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
131# else
132# define U_ICU_ENTRY_POINT_RENAME(x) x
133# endif
134#endif
135#endif
136
142#define U_ICU_VERSION "70.1"
143
155#define U_ICU_VERSION_SHORT "70"
156
157#ifndef U_HIDE_INTERNAL_API
161#define U_ICU_DATA_VERSION "70.1"
162#endif /* U_HIDE_INTERNAL_API */
163
164/*===========================================================================
165 * ICU collation framework version information
166 * Version info that can be obtained from a collator is affected by these
167 * numbers in a secret and magic way. Please use collator version as whole
168 *===========================================================================
169 */
170
177#define UCOL_RUNTIME_VERSION 9
178
186#define UCOL_BUILDER_VERSION 9
187
188#ifndef U_HIDE_DEPRECATED_API
195#define UCOL_TAILORINGS_VERSION 1
196#endif /* U_HIDE_DEPRECATED_API */
197
198#endif