Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:16

0001 // © 2016 and later: Unicode, Inc. and others.
0002 // License & terms of use: http://www.unicode.org/copyright.html
0003 /*
0004 *******************************************************************************
0005 *   Copyright (C) 2000-2016, International Business Machines
0006 *   Corporation and others.  All Rights Reserved.
0007 *******************************************************************************
0008 *
0009 *   file name:  uvernum.h
0010 *   encoding:   UTF-8
0011 *   tab size:   8 (not used)
0012 *   indentation:4
0013 *
0014 *   Created by: Vladimir Weinstein
0015 *   Updated by: Steven R. Loomis
0016 *
0017 */
0018 
0019 /**
0020  * \file
0021  * \brief C API: definitions of ICU version numbers
0022  *
0023  * This file is included by uversion.h and other files. This file contains only
0024  * macros and definitions. The actual version numbers are defined here.
0025  */
0026 
0027  /*
0028   * IMPORTANT: When updating version, the following things need to be done:
0029   * source/common/unicode/uvernum.h - this file: update major, minor,
0030   *        patchlevel, suffix, version, short version constants, namespace,
0031   *                    renaming macro, and copyright
0032   *
0033   * The following files need to be updated as well, which can be done
0034   *  by running the UNIX makefile target 'update-windows-makefiles' in icu4c/source.
0035   *
0036   * source/allinone/Build.Windows.IcuVersion.props - Update the IcuMajorVersion
0037   * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
0038   *                            the new major/minor combination, and UNICODE_VERSION
0039   *                            for the Unicode version.
0040   */
0041 
0042 #ifndef UVERNUM_H
0043 #define UVERNUM_H
0044 
0045 /** The standard copyright notice that gets compiled into each library.
0046  *  This value will change in the subsequent releases of ICU
0047  *  @stable ICU 2.4
0048  */
0049 #define U_COPYRIGHT_STRING \
0050   " Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html "
0051 
0052 /** The current ICU major version as an integer.
0053  *  This value will change in the subsequent releases of ICU
0054  *  @stable ICU 2.4
0055  */
0056 #define U_ICU_VERSION_MAJOR_NUM 74
0057 
0058 /** The current ICU minor version as an integer.
0059  *  This value will change in the subsequent releases of ICU
0060  *  @stable ICU 2.6
0061  */
0062 #define U_ICU_VERSION_MINOR_NUM 2
0063 
0064 /** The current ICU patchlevel version as an integer.
0065  *  This value will change in the subsequent releases of ICU
0066  *  @stable ICU 2.4
0067  */
0068 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
0069 
0070 /** The current ICU build level version as an integer.
0071  *  This value is for use by ICU clients. It defaults to 0.
0072  *  @stable ICU 4.0
0073  */
0074 #ifndef U_ICU_VERSION_BUILDLEVEL_NUM
0075 #define U_ICU_VERSION_BUILDLEVEL_NUM 0
0076 #endif
0077 
0078 /** Glued version suffix for renamers
0079  *  This value will change in the subsequent releases of ICU
0080  *  @stable ICU 2.6
0081  */
0082 #define U_ICU_VERSION_SUFFIX _74
0083 
0084 /**
0085  * \def U_DEF2_ICU_ENTRY_POINT_RENAME
0086  * @internal
0087  */
0088 /**
0089  * \def U_DEF_ICU_ENTRY_POINT_RENAME
0090  * @internal
0091  */
0092 /** Glued version suffix function for renamers
0093  *  This value will change in the subsequent releases of ICU.
0094  *  If a custom suffix (such as matching library suffixes) is desired, this can be modified.
0095  *  Note that if present, platform.h may contain an earlier definition of this macro.
0096  *  \def U_ICU_ENTRY_POINT_RENAME
0097  *  @stable ICU 4.2
0098  */
0099 /**
0100  * Disable the version suffix. Use the custom suffix if exists.
0101  * \def U_DISABLE_VERSION_SUFFIX
0102  * @internal
0103  */
0104 #ifndef U_DISABLE_VERSION_SUFFIX
0105 #define U_DISABLE_VERSION_SUFFIX 0
0106 #endif
0107 
0108 #ifndef U_ICU_ENTRY_POINT_RENAME
0109 #ifdef U_HAVE_LIB_SUFFIX
0110 #   if !U_DISABLE_VERSION_SUFFIX
0111 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ##  z
0112 #       define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z)
0113 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME)
0114 #   else
0115 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
0116 #       define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
0117 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_LIB_SUFFIX_C_NAME)
0118 #   endif
0119 #else
0120 #   if !U_DISABLE_VERSION_SUFFIX
0121 #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
0122 #       define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
0123 #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
0124 #   else
0125 #       define U_ICU_ENTRY_POINT_RENAME(x)    x
0126 #   endif
0127 #endif
0128 #endif
0129 
0130 /** The current ICU library version as a dotted-decimal string. The patchlevel
0131  *  only appears in this string if it non-zero.
0132  *  This value will change in the subsequent releases of ICU
0133  *  @stable ICU 2.4
0134  */
0135 #define U_ICU_VERSION "74.2"
0136 
0137 /**
0138  * The current ICU library major version number as a string, for library name suffixes.
0139  * This value will change in subsequent releases of ICU.
0140  *
0141  * Until ICU 4.8, this was the combination of the single-digit major and minor ICU version numbers
0142  * into one string without dots ("48").
0143  * Since ICU 49, it is the double-digit major ICU version number.
0144  * See https://unicode-org.github.io/icu/userguide/design#version-numbers-in-icu
0145  *
0146  * @stable ICU 2.6
0147  */
0148 #define U_ICU_VERSION_SHORT "74"
0149 
0150 #ifndef U_HIDE_INTERNAL_API
0151 /** Data version in ICU4C.
0152  * @internal ICU 4.4 Internal Use Only
0153  **/
0154 #define U_ICU_DATA_VERSION "74.2"
0155 #endif  /* U_HIDE_INTERNAL_API */
0156 
0157 /*===========================================================================
0158  * ICU collation framework version information
0159  * Version info that can be obtained from a collator is affected by these
0160  * numbers in a secret and magic way. Please use collator version as whole
0161  *===========================================================================
0162  */
0163 
0164 /**
0165  * Collation runtime version (sort key generator, strcoll).
0166  * If the version is different, sort keys for the same string could be different.
0167  * This value may change in subsequent releases of ICU.
0168  * @stable ICU 2.4
0169  */
0170 #define UCOL_RUNTIME_VERSION 9
0171 
0172 /**
0173  * Collation builder code version.
0174  * When this is different, the same tailoring might result
0175  * in assigning different collation elements to code points.
0176  * This value may change in subsequent releases of ICU.
0177  * @stable ICU 2.4
0178  */
0179 #define UCOL_BUILDER_VERSION 9
0180 
0181 #ifndef U_HIDE_DEPRECATED_API
0182 /**
0183  * Constant 1.
0184  * This was intended to be the version of collation tailorings,
0185  * but instead the tailoring data carries a version number.
0186  * @deprecated ICU 54
0187  */
0188 #define UCOL_TAILORINGS_VERSION 1
0189 #endif  /* U_HIDE_DEPRECATED_API */
0190 
0191 #endif