ICU 78.1: common/unicode/uvernum.h Source File

ICU 78.1 78.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 icu4c/source.
35 *
36 * source/allinone/Build.Windows.IcuVersion.props - Update the IcuMajorVersion
37 * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
38 * the new major/minor combination, and UNICODE_VERSION
39 * for the Unicode version.
40 */
41
42 #ifndef UVERNUM_H
43 #define UVERNUM_H
44
49 #define U_COPYRIGHT_STRING \
50 " Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html "
51
56 #define U_ICU_VERSION_MAJOR_NUM 78
57
62 #define U_ICU_VERSION_MINOR_NUM 1
63
68 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
69
74 #ifndef U_ICU_VERSION_BUILDLEVEL_NUM
75 #define U_ICU_VERSION_BUILDLEVEL_NUM 0
76 #endif
77
82 #define U_ICU_VERSION_SUFFIX _78
83
104 #ifndef U_DISABLE_VERSION_SUFFIX
105 #define U_DISABLE_VERSION_SUFFIX 0
106 #endif
107
108 #ifndef U_ICU_ENTRY_POINT_RENAME
109 #ifdef U_HAVE_LIB_SUFFIX
110 # if !U_DISABLE_VERSION_SUFFIX
111 # define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z
112 # define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z)
113 # define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME)
114 # else
115 # define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
116 # define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
117 # define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_LIB_SUFFIX_C_NAME)
118 # endif
119 #else
120 # if !U_DISABLE_VERSION_SUFFIX
121 # define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
122 # define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
123 # define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
124 # else
125 # define U_ICU_ENTRY_POINT_RENAME(x) x
126 # endif
127 #endif
128 #endif
129
135 #define U_ICU_VERSION "78.1"
136
148 #define U_ICU_VERSION_SHORT "78"
149
150 #ifndef U_HIDE_INTERNAL_API
154 #define U_ICU_DATA_VERSION "78.1"
155 #endif /* U_HIDE_INTERNAL_API */
156
157 /*===========================================================================
158 * ICU collation framework version information
159 * Version info that can be obtained from a collator is affected by these
160 * numbers in a secret and magic way. Please use collator version as whole
161 *===========================================================================
162 */
163
170 #define UCOL_RUNTIME_VERSION 9
171
179 #define UCOL_BUILDER_VERSION 9
180
181 #ifndef U_HIDE_DEPRECATED_API
188 #define UCOL_TAILORINGS_VERSION 1
189 #endif /* U_HIDE_DEPRECATED_API */
190
191 #endif