michael@0: /* michael@0: ******************************************************************************* michael@0: * Copyright (C) 2000-2013, International Business Machines michael@0: * Corporation and others. All Rights Reserved. michael@0: ******************************************************************************* michael@0: * michael@0: * file name: uvernum.h michael@0: * encoding: US-ASCII michael@0: * tab size: 8 (not used) michael@0: * indentation:4 michael@0: * michael@0: * Created by: Vladimir Weinstein michael@0: * Updated by: Steven R. Loomis michael@0: * michael@0: */ michael@0: michael@0: /** michael@0: * \file michael@0: * \brief C API: definitions of ICU version numbers michael@0: * michael@0: * This file is included by uversion.h and other files. This file contains only michael@0: * macros and definitions. The actual version numbers are defined here. michael@0: */ michael@0: michael@0: /* michael@0: * IMPORTANT: When updating version, the following things need to be done: michael@0: * source/common/unicode/uvernum.h - this file: update major, minor, michael@0: * patchlevel, suffix, version, short version constants, namespace, michael@0: * renaming macro, and copyright michael@0: * michael@0: * The following files need to be updated as well, which can be done michael@0: * by running the UNIX makefile target 'update-windows-makefiles' in icu/source. michael@0: * michael@0: * michael@0: * source/common/common.vcproj - update 'Output file name' on the link tab so michael@0: * that it contains the new major/minor combination michael@0: * source/i18n/i18n.vcproj - same as for the common.vcproj michael@0: * source/layout/layout.vcproj - same as for the common.vcproj michael@0: * source/layoutex/layoutex.vcproj - same michael@0: * source/stubdata/stubdata.vcproj - same as for the common.vcproj michael@0: * source/io/io.vcproj - same as for the common.vcproj michael@0: * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains michael@0: * the new major/minor combination and the Unicode version. michael@0: */ michael@0: michael@0: #ifndef UVERNUM_H michael@0: #define UVERNUM_H michael@0: michael@0: /** The standard copyright notice that gets compiled into each library. michael@0: * This value will change in the subsequent releases of ICU michael@0: * @stable ICU 2.4 michael@0: */ michael@0: #define U_COPYRIGHT_STRING \ michael@0: " Copyright (C) 2013, International Business Machines Corporation and others. All Rights Reserved. " michael@0: michael@0: /** The current ICU major version as an integer. michael@0: * This value will change in the subsequent releases of ICU michael@0: * @stable ICU 2.4 michael@0: */ michael@0: #define U_ICU_VERSION_MAJOR_NUM 52 michael@0: michael@0: /** The current ICU minor version as an integer. michael@0: * This value will change in the subsequent releases of ICU michael@0: * @stable ICU 2.6 michael@0: */ michael@0: #define U_ICU_VERSION_MINOR_NUM 1 michael@0: michael@0: /** The current ICU patchlevel version as an integer. michael@0: * This value will change in the subsequent releases of ICU michael@0: * @stable ICU 2.4 michael@0: */ michael@0: #define U_ICU_VERSION_PATCHLEVEL_NUM 0 michael@0: michael@0: /** The current ICU build level version as an integer. michael@0: * This value is for use by ICU clients. It defaults to 0. michael@0: * @stable ICU 4.0 michael@0: */ michael@0: #ifndef U_ICU_VERSION_BUILDLEVEL_NUM michael@0: #define U_ICU_VERSION_BUILDLEVEL_NUM 0 michael@0: #endif michael@0: michael@0: /** Glued version suffix for renamers michael@0: * This value will change in the subsequent releases of ICU michael@0: * @stable ICU 2.6 michael@0: */ michael@0: #define U_ICU_VERSION_SUFFIX _52 michael@0: michael@0: /** michael@0: * \def U_DEF2_ICU_ENTRY_POINT_RENAME michael@0: * @internal michael@0: */ michael@0: /** michael@0: * \def U_DEF_ICU_ENTRY_POINT_RENAME michael@0: * @internal michael@0: */ michael@0: /** Glued version suffix function for renamers michael@0: * This value will change in the subsequent releases of ICU. michael@0: * If a custom suffix (such as matching library suffixes) is desired, this can be modified. michael@0: * Note that if present, platform.h may contain an earlier definition of this macro. michael@0: * \def U_ICU_ENTRY_POINT_RENAME michael@0: * @stable ICU 4.2 michael@0: */ michael@0: michael@0: #ifndef U_ICU_ENTRY_POINT_RENAME michael@0: #ifdef U_HAVE_LIB_SUFFIX michael@0: #define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z michael@0: #define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) michael@0: #define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME) michael@0: #else michael@0: #define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y michael@0: #define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y) michael@0: #define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX) michael@0: #endif michael@0: #endif michael@0: michael@0: /** The current ICU library version as a dotted-decimal string. The patchlevel michael@0: * only appears in this string if it non-zero. michael@0: * This value will change in the subsequent releases of ICU michael@0: * @stable ICU 2.4 michael@0: */ michael@0: #define U_ICU_VERSION "52.1" michael@0: michael@0: /** The current ICU library major/minor version as a string without dots, for library name suffixes. michael@0: * This value will change in the subsequent releases of ICU michael@0: * @stable ICU 2.6 michael@0: */ michael@0: #define U_ICU_VERSION_SHORT "52" michael@0: michael@0: #ifndef U_HIDE_INTERNAL_API michael@0: /** Data version in ICU4C. michael@0: * @internal ICU 4.4 Internal Use Only michael@0: **/ michael@0: #define U_ICU_DATA_VERSION "52.1" michael@0: #endif /* U_HIDE_INTERNAL_API */ michael@0: michael@0: /*=========================================================================== michael@0: * ICU collation framework version information michael@0: * Version info that can be obtained from a collator is affected by these michael@0: * numbers in a secret and magic way. Please use collator version as whole michael@0: *=========================================================================== michael@0: */ michael@0: michael@0: /** michael@0: * Collation runtime version (sort key generator, strcoll). michael@0: * If the version is different, sort keys for the same string could be different. michael@0: * This value may change in subsequent releases of ICU. michael@0: * @stable ICU 2.4 michael@0: */ michael@0: #define UCOL_RUNTIME_VERSION 7 michael@0: michael@0: /** michael@0: * Collation builder code version. michael@0: * When this is different, the same tailoring might result michael@0: * in assigning different collation elements to code points. michael@0: * This value may change in subsequent releases of ICU. michael@0: * @stable ICU 2.4 michael@0: */ michael@0: #define UCOL_BUILDER_VERSION 8 michael@0: michael@0: /** michael@0: * This is the version of collation tailorings. michael@0: * This value may change in subsequent releases of ICU. michael@0: * @stable ICU 2.4 michael@0: */ michael@0: #define UCOL_TAILORINGS_VERSION 1 michael@0: michael@0: #endif