2009-09-08 05:31:42 +00:00
|
|
|
/*
|
|
|
|
*******************************************************************************
|
2016-05-26 22:32:17 +00:00
|
|
|
* Copyright (C) 2016 and later: Unicode, Inc. and others.
|
|
|
|
* License & terms of use: http://www.unicode.org/copyright.html
|
2009-09-08 05:31:42 +00:00
|
|
|
*******************************************************************************
|
|
|
|
*
|
2009-09-30 20:26:34 +00:00
|
|
|
* file name: uvernum.h
|
2009-09-08 05:31:42 +00:00
|
|
|
* encoding: US-ASCII
|
|
|
|
* tab size: 8 (not used)
|
|
|
|
* indentation:4
|
|
|
|
*
|
|
|
|
* Created by: Vladimir Weinstein
|
|
|
|
* Updated by: Steven R. Loomis
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2012-09-11 20:51:51 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \brief C API: definitions of ICU version numbers
|
2013-09-16 22:07:45 +00:00
|
|
|
*
|
|
|
|
* This file is included by uversion.h and other files. This file contains only
|
2012-09-11 20:51:51 +00:00
|
|
|
* macros and definitions. The actual version numbers are defined here.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* IMPORTANT: When updating version, the following things need to be done:
|
|
|
|
* source/common/unicode/uvernum.h - this file: update major, minor,
|
|
|
|
* patchlevel, suffix, version, short version constants, namespace,
|
|
|
|
* renaming macro, and copyright
|
|
|
|
*
|
|
|
|
* The following files need to be updated as well, which can be done
|
|
|
|
* by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* source/common/common.vcproj - update 'Output file name' on the link tab so
|
|
|
|
* that it contains the new major/minor combination
|
|
|
|
* source/i18n/i18n.vcproj - same as for the common.vcproj
|
|
|
|
* source/layout/layout.vcproj - same as for the common.vcproj
|
|
|
|
* source/layoutex/layoutex.vcproj - same
|
|
|
|
* source/stubdata/stubdata.vcproj - same as for the common.vcproj
|
|
|
|
* source/io/io.vcproj - same as for the common.vcproj
|
|
|
|
* source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
|
|
|
|
* the new major/minor combination and the Unicode version.
|
|
|
|
*/
|
|
|
|
|
2009-09-30 20:26:34 +00:00
|
|
|
#ifndef UVERNUM_H
|
|
|
|
#define UVERNUM_H
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2013-09-16 22:07:45 +00:00
|
|
|
/** The standard copyright notice that gets compiled into each library.
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value will change in the subsequent releases of ICU
|
|
|
|
* @stable ICU 2.4
|
|
|
|
*/
|
|
|
|
#define U_COPYRIGHT_STRING \
|
2016-05-26 22:32:17 +00:00
|
|
|
" Copyright (C) 2016 and later: Unicode, Inc. and others. "
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2013-09-16 22:07:45 +00:00
|
|
|
/** The current ICU major version as an integer.
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value will change in the subsequent releases of ICU
|
|
|
|
* @stable ICU 2.4
|
|
|
|
*/
|
2016-05-06 20:53:07 +00:00
|
|
|
#define U_ICU_VERSION_MAJOR_NUM 58
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2013-09-16 22:07:45 +00:00
|
|
|
/** The current ICU minor version as an integer.
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value will change in the subsequent releases of ICU
|
|
|
|
* @stable ICU 2.6
|
|
|
|
*/
|
2016-05-06 20:53:07 +00:00
|
|
|
#define U_ICU_VERSION_MINOR_NUM 0
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2013-09-16 22:07:45 +00:00
|
|
|
/** The current ICU patchlevel version as an integer.
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value will change in the subsequent releases of ICU
|
|
|
|
* @stable ICU 2.4
|
|
|
|
*/
|
2016-05-06 20:53:07 +00:00
|
|
|
#define U_ICU_VERSION_PATCHLEVEL_NUM 1
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2013-09-16 22:07:45 +00:00
|
|
|
/** The current ICU build level version as an integer.
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value is for use by ICU clients. It defaults to 0.
|
2010-01-23 06:36:03 +00:00
|
|
|
* @stable ICU 4.0
|
2009-09-08 05:31:42 +00:00
|
|
|
*/
|
|
|
|
#ifndef U_ICU_VERSION_BUILDLEVEL_NUM
|
|
|
|
#define U_ICU_VERSION_BUILDLEVEL_NUM 0
|
|
|
|
#endif
|
|
|
|
|
2013-09-16 22:07:45 +00:00
|
|
|
/** Glued version suffix for renamers
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value will change in the subsequent releases of ICU
|
|
|
|
* @stable ICU 2.6
|
|
|
|
*/
|
2016-05-06 20:53:07 +00:00
|
|
|
#define U_ICU_VERSION_SUFFIX _58
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2011-10-04 01:50:34 +00:00
|
|
|
/**
|
|
|
|
* \def U_DEF2_ICU_ENTRY_POINT_RENAME
|
|
|
|
* @internal
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* \def U_DEF_ICU_ENTRY_POINT_RENAME
|
|
|
|
* @internal
|
|
|
|
*/
|
2013-09-16 22:07:45 +00:00
|
|
|
/** Glued version suffix function for renamers
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value will change in the subsequent releases of ICU.
|
|
|
|
* If a custom suffix (such as matching library suffixes) is desired, this can be modified.
|
|
|
|
* Note that if present, platform.h may contain an earlier definition of this macro.
|
2011-09-29 19:22:56 +00:00
|
|
|
* \def U_ICU_ENTRY_POINT_RENAME
|
2010-11-12 06:03:28 +00:00
|
|
|
* @stable ICU 4.2
|
2009-09-08 05:31:42 +00:00
|
|
|
*/
|
2011-10-04 01:50:34 +00:00
|
|
|
|
2009-09-30 20:26:34 +00:00
|
|
|
#ifndef U_ICU_ENTRY_POINT_RENAME
|
2011-09-29 19:22:56 +00:00
|
|
|
#ifdef U_HAVE_LIB_SUFFIX
|
|
|
|
#define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z
|
|
|
|
#define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z)
|
|
|
|
#define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME)
|
|
|
|
#else
|
|
|
|
#define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
|
|
|
|
#define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
|
|
|
|
#define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
|
|
|
|
#endif
|
2009-09-08 05:31:42 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/** The current ICU library version as a dotted-decimal string. The patchlevel
|
2013-09-16 22:07:45 +00:00
|
|
|
* only appears in this string if it non-zero.
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value will change in the subsequent releases of ICU
|
|
|
|
* @stable ICU 2.4
|
|
|
|
*/
|
2016-05-06 20:53:07 +00:00
|
|
|
#define U_ICU_VERSION "58.0.1"
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2013-09-16 22:07:45 +00:00
|
|
|
/** The current ICU library major/minor version as a string without dots, for library name suffixes.
|
2009-09-08 05:31:42 +00:00
|
|
|
* This value will change in the subsequent releases of ICU
|
|
|
|
* @stable ICU 2.6
|
|
|
|
*/
|
2016-05-06 20:53:07 +00:00
|
|
|
#define U_ICU_VERSION_SHORT "58"
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2011-08-01 02:20:46 +00:00
|
|
|
#ifndef U_HIDE_INTERNAL_API
|
2009-09-08 05:31:42 +00:00
|
|
|
/** Data version in ICU4C.
|
2010-01-21 20:10:50 +00:00
|
|
|
* @internal ICU 4.4 Internal Use Only
|
|
|
|
**/
|
2016-05-06 20:53:07 +00:00
|
|
|
#define U_ICU_DATA_VERSION "58.0.1"
|
2011-08-01 02:20:46 +00:00
|
|
|
#endif /* U_HIDE_INTERNAL_API */
|
2009-09-08 05:31:42 +00:00
|
|
|
|
|
|
|
/*===========================================================================
|
2011-01-12 22:15:26 +00:00
|
|
|
* ICU collation framework version information
|
|
|
|
* Version info that can be obtained from a collator is affected by these
|
2009-09-08 05:31:42 +00:00
|
|
|
* numbers in a secret and magic way. Please use collator version as whole
|
|
|
|
*===========================================================================
|
|
|
|
*/
|
|
|
|
|
2011-01-12 22:15:26 +00:00
|
|
|
/**
|
|
|
|
* Collation runtime version (sort key generator, strcoll).
|
|
|
|
* If the version is different, sort keys for the same string could be different.
|
|
|
|
* This value may change in subsequent releases of ICU.
|
2009-09-08 05:31:42 +00:00
|
|
|
* @stable ICU 2.4
|
|
|
|
*/
|
2014-12-11 17:04:32 +00:00
|
|
|
#define UCOL_RUNTIME_VERSION 9
|
2011-01-12 22:15:26 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Collation builder code version.
|
|
|
|
* When this is different, the same tailoring might result
|
|
|
|
* in assigning different collation elements to code points.
|
|
|
|
* This value may change in subsequent releases of ICU.
|
2009-09-08 05:31:42 +00:00
|
|
|
* @stable ICU 2.4
|
|
|
|
*/
|
2014-02-25 21:21:49 +00:00
|
|
|
#define UCOL_BUILDER_VERSION 9
|
2009-09-08 05:31:42 +00:00
|
|
|
|
2014-09-16 08:09:06 +00:00
|
|
|
#ifndef U_HIDE_DEPRECATED_API
|
2011-01-12 22:15:26 +00:00
|
|
|
/**
|
2014-08-27 22:18:28 +00:00
|
|
|
* Constant 1.
|
|
|
|
* This was intended to be the version of collation tailorings,
|
|
|
|
* but instead the tailoring data carries a version number.
|
|
|
|
* @deprecated ICU 54
|
2009-09-08 05:31:42 +00:00
|
|
|
*/
|
|
|
|
#define UCOL_TAILORINGS_VERSION 1
|
2014-09-16 08:09:06 +00:00
|
|
|
#endif /* U_HIDE_DEPRECATED_API */
|
2009-09-08 05:31:42 +00:00
|
|
|
|
|
|
|
#endif
|