1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/common/unicode/uvernum.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,167 @@ 1.4 +/* 1.5 +******************************************************************************* 1.6 +* Copyright (C) 2000-2013, International Business Machines 1.7 +* Corporation and others. All Rights Reserved. 1.8 +******************************************************************************* 1.9 +* 1.10 +* file name: uvernum.h 1.11 +* encoding: US-ASCII 1.12 +* tab size: 8 (not used) 1.13 +* indentation:4 1.14 +* 1.15 +* Created by: Vladimir Weinstein 1.16 +* Updated by: Steven R. Loomis 1.17 +* 1.18 +*/ 1.19 + 1.20 +/** 1.21 + * \file 1.22 + * \brief C API: definitions of ICU version numbers 1.23 + * 1.24 + * This file is included by uversion.h and other files. This file contains only 1.25 + * macros and definitions. The actual version numbers are defined here. 1.26 + */ 1.27 + 1.28 + /* 1.29 + * IMPORTANT: When updating version, the following things need to be done: 1.30 + * source/common/unicode/uvernum.h - this file: update major, minor, 1.31 + * patchlevel, suffix, version, short version constants, namespace, 1.32 + * renaming macro, and copyright 1.33 + * 1.34 + * The following files need to be updated as well, which can be done 1.35 + * by running the UNIX makefile target 'update-windows-makefiles' in icu/source. 1.36 + * 1.37 + * 1.38 + * source/common/common.vcproj - update 'Output file name' on the link tab so 1.39 + * that it contains the new major/minor combination 1.40 + * source/i18n/i18n.vcproj - same as for the common.vcproj 1.41 + * source/layout/layout.vcproj - same as for the common.vcproj 1.42 + * source/layoutex/layoutex.vcproj - same 1.43 + * source/stubdata/stubdata.vcproj - same as for the common.vcproj 1.44 + * source/io/io.vcproj - same as for the common.vcproj 1.45 + * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains 1.46 + * the new major/minor combination and the Unicode version. 1.47 + */ 1.48 + 1.49 +#ifndef UVERNUM_H 1.50 +#define UVERNUM_H 1.51 + 1.52 +/** The standard copyright notice that gets compiled into each library. 1.53 + * This value will change in the subsequent releases of ICU 1.54 + * @stable ICU 2.4 1.55 + */ 1.56 +#define U_COPYRIGHT_STRING \ 1.57 + " Copyright (C) 2013, International Business Machines Corporation and others. All Rights Reserved. " 1.58 + 1.59 +/** The current ICU major version as an integer. 1.60 + * This value will change in the subsequent releases of ICU 1.61 + * @stable ICU 2.4 1.62 + */ 1.63 +#define U_ICU_VERSION_MAJOR_NUM 52 1.64 + 1.65 +/** The current ICU minor version as an integer. 1.66 + * This value will change in the subsequent releases of ICU 1.67 + * @stable ICU 2.6 1.68 + */ 1.69 +#define U_ICU_VERSION_MINOR_NUM 1 1.70 + 1.71 +/** The current ICU patchlevel version as an integer. 1.72 + * This value will change in the subsequent releases of ICU 1.73 + * @stable ICU 2.4 1.74 + */ 1.75 +#define U_ICU_VERSION_PATCHLEVEL_NUM 0 1.76 + 1.77 +/** The current ICU build level version as an integer. 1.78 + * This value is for use by ICU clients. It defaults to 0. 1.79 + * @stable ICU 4.0 1.80 + */ 1.81 +#ifndef U_ICU_VERSION_BUILDLEVEL_NUM 1.82 +#define U_ICU_VERSION_BUILDLEVEL_NUM 0 1.83 +#endif 1.84 + 1.85 +/** Glued version suffix for renamers 1.86 + * This value will change in the subsequent releases of ICU 1.87 + * @stable ICU 2.6 1.88 + */ 1.89 +#define U_ICU_VERSION_SUFFIX _52 1.90 + 1.91 +/** 1.92 + * \def U_DEF2_ICU_ENTRY_POINT_RENAME 1.93 + * @internal 1.94 + */ 1.95 +/** 1.96 + * \def U_DEF_ICU_ENTRY_POINT_RENAME 1.97 + * @internal 1.98 + */ 1.99 +/** Glued version suffix function for renamers 1.100 + * This value will change in the subsequent releases of ICU. 1.101 + * If a custom suffix (such as matching library suffixes) is desired, this can be modified. 1.102 + * Note that if present, platform.h may contain an earlier definition of this macro. 1.103 + * \def U_ICU_ENTRY_POINT_RENAME 1.104 + * @stable ICU 4.2 1.105 + */ 1.106 + 1.107 +#ifndef U_ICU_ENTRY_POINT_RENAME 1.108 +#ifdef U_HAVE_LIB_SUFFIX 1.109 +#define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z 1.110 +#define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) 1.111 +#define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME) 1.112 +#else 1.113 +#define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y 1.114 +#define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y) 1.115 +#define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX) 1.116 +#endif 1.117 +#endif 1.118 + 1.119 +/** The current ICU library version as a dotted-decimal string. The patchlevel 1.120 + * only appears in this string if it non-zero. 1.121 + * This value will change in the subsequent releases of ICU 1.122 + * @stable ICU 2.4 1.123 + */ 1.124 +#define U_ICU_VERSION "52.1" 1.125 + 1.126 +/** The current ICU library major/minor version as a string without dots, for library name suffixes. 1.127 + * This value will change in the subsequent releases of ICU 1.128 + * @stable ICU 2.6 1.129 + */ 1.130 +#define U_ICU_VERSION_SHORT "52" 1.131 + 1.132 +#ifndef U_HIDE_INTERNAL_API 1.133 +/** Data version in ICU4C. 1.134 + * @internal ICU 4.4 Internal Use Only 1.135 + **/ 1.136 +#define U_ICU_DATA_VERSION "52.1" 1.137 +#endif /* U_HIDE_INTERNAL_API */ 1.138 + 1.139 +/*=========================================================================== 1.140 + * ICU collation framework version information 1.141 + * Version info that can be obtained from a collator is affected by these 1.142 + * numbers in a secret and magic way. Please use collator version as whole 1.143 + *=========================================================================== 1.144 + */ 1.145 + 1.146 +/** 1.147 + * Collation runtime version (sort key generator, strcoll). 1.148 + * If the version is different, sort keys for the same string could be different. 1.149 + * This value may change in subsequent releases of ICU. 1.150 + * @stable ICU 2.4 1.151 + */ 1.152 +#define UCOL_RUNTIME_VERSION 7 1.153 + 1.154 +/** 1.155 + * Collation builder code version. 1.156 + * When this is different, the same tailoring might result 1.157 + * in assigning different collation elements to code points. 1.158 + * This value may change in subsequent releases of ICU. 1.159 + * @stable ICU 2.4 1.160 + */ 1.161 +#define UCOL_BUILDER_VERSION 8 1.162 + 1.163 +/** 1.164 + * This is the version of collation tailorings. 1.165 + * This value may change in subsequent releases of ICU. 1.166 + * @stable ICU 2.4 1.167 + */ 1.168 +#define UCOL_TAILORINGS_VERSION 1 1.169 + 1.170 +#endif