annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/unicode/uvernum.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 // © 2016 and later: Unicode, Inc. and others.
jpayne@69 2 // License & terms of use: http://www.unicode.org/copyright.html
jpayne@69 3 /*
jpayne@69 4 *******************************************************************************
jpayne@69 5 * Copyright (C) 2000-2016, International Business Machines
jpayne@69 6 * Corporation and others. All Rights Reserved.
jpayne@69 7 *******************************************************************************
jpayne@69 8 *
jpayne@69 9 * file name: uvernum.h
jpayne@69 10 * encoding: UTF-8
jpayne@69 11 * tab size: 8 (not used)
jpayne@69 12 * indentation:4
jpayne@69 13 *
jpayne@69 14 * Created by: Vladimir Weinstein
jpayne@69 15 * Updated by: Steven R. Loomis
jpayne@69 16 *
jpayne@69 17 */
jpayne@69 18
jpayne@69 19 /**
jpayne@69 20 * \file
jpayne@69 21 * \brief C API: definitions of ICU version numbers
jpayne@69 22 *
jpayne@69 23 * This file is included by uversion.h and other files. This file contains only
jpayne@69 24 * macros and definitions. The actual version numbers are defined here.
jpayne@69 25 */
jpayne@69 26
jpayne@69 27 /*
jpayne@69 28 * IMPORTANT: When updating version, the following things need to be done:
jpayne@69 29 * source/common/unicode/uvernum.h - this file: update major, minor,
jpayne@69 30 * patchlevel, suffix, version, short version constants, namespace,
jpayne@69 31 * renaming macro, and copyright
jpayne@69 32 *
jpayne@69 33 * The following files need to be updated as well, which can be done
jpayne@69 34 * by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
jpayne@69 35 *
jpayne@69 36 *
jpayne@69 37 * source/common/common_uwp.vcxproj
jpayne@69 38 * source/common/common.vcxproj - update 'Output file name' on the link tab so
jpayne@69 39 * that it contains the new major/minor combination
jpayne@69 40 * source/i18n/i18n.vcxproj - same as for the common.vcxproj
jpayne@69 41 * source/i18n/i18n_uwp.vcxproj - same as for the common_uwp.vcxproj
jpayne@69 42 * source/layoutex/layoutex.vcproj - same
jpayne@69 43 * source/stubdata/stubdata.vcproj - same as for the common.vcxproj
jpayne@69 44 * source/io/io.vcproj - same as for the common.vcxproj
jpayne@69 45 * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
jpayne@69 46 * the new major/minor combination and the Unicode version.
jpayne@69 47 */
jpayne@69 48
jpayne@69 49 #ifndef UVERNUM_H
jpayne@69 50 #define UVERNUM_H
jpayne@69 51
jpayne@69 52 /** The standard copyright notice that gets compiled into each library.
jpayne@69 53 * This value will change in the subsequent releases of ICU
jpayne@69 54 * @stable ICU 2.4
jpayne@69 55 */
jpayne@69 56 #define U_COPYRIGHT_STRING \
jpayne@69 57 " Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html "
jpayne@69 58
jpayne@69 59 /** The current ICU major version as an integer.
jpayne@69 60 * This value will change in the subsequent releases of ICU
jpayne@69 61 * @stable ICU 2.4
jpayne@69 62 */
jpayne@69 63 #define U_ICU_VERSION_MAJOR_NUM 67
jpayne@69 64
jpayne@69 65 /** The current ICU minor version as an integer.
jpayne@69 66 * This value will change in the subsequent releases of ICU
jpayne@69 67 * @stable ICU 2.6
jpayne@69 68 */
jpayne@69 69 #define U_ICU_VERSION_MINOR_NUM 1
jpayne@69 70
jpayne@69 71 /** The current ICU patchlevel version as an integer.
jpayne@69 72 * This value will change in the subsequent releases of ICU
jpayne@69 73 * @stable ICU 2.4
jpayne@69 74 */
jpayne@69 75 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
jpayne@69 76
jpayne@69 77 /** The current ICU build level version as an integer.
jpayne@69 78 * This value is for use by ICU clients. It defaults to 0.
jpayne@69 79 * @stable ICU 4.0
jpayne@69 80 */
jpayne@69 81 #ifndef U_ICU_VERSION_BUILDLEVEL_NUM
jpayne@69 82 #define U_ICU_VERSION_BUILDLEVEL_NUM 0
jpayne@69 83 #endif
jpayne@69 84
jpayne@69 85 /** Glued version suffix for renamers
jpayne@69 86 * This value will change in the subsequent releases of ICU
jpayne@69 87 * @stable ICU 2.6
jpayne@69 88 */
jpayne@69 89 #define U_ICU_VERSION_SUFFIX _67
jpayne@69 90
jpayne@69 91 /**
jpayne@69 92 * \def U_DEF2_ICU_ENTRY_POINT_RENAME
jpayne@69 93 * @internal
jpayne@69 94 */
jpayne@69 95 /**
jpayne@69 96 * \def U_DEF_ICU_ENTRY_POINT_RENAME
jpayne@69 97 * @internal
jpayne@69 98 */
jpayne@69 99 /** Glued version suffix function for renamers
jpayne@69 100 * This value will change in the subsequent releases of ICU.
jpayne@69 101 * If a custom suffix (such as matching library suffixes) is desired, this can be modified.
jpayne@69 102 * Note that if present, platform.h may contain an earlier definition of this macro.
jpayne@69 103 * \def U_ICU_ENTRY_POINT_RENAME
jpayne@69 104 * @stable ICU 4.2
jpayne@69 105 */
jpayne@69 106 /**
jpayne@69 107 * Disable the version suffix. Use the custom suffix if exists.
jpayne@69 108 * \def U_DISABLE_VERSION_SUFFIX
jpayne@69 109 * @internal
jpayne@69 110 */
jpayne@69 111 #ifndef U_DISABLE_VERSION_SUFFIX
jpayne@69 112 #define U_DISABLE_VERSION_SUFFIX 0
jpayne@69 113 #endif
jpayne@69 114
jpayne@69 115 #ifndef U_ICU_ENTRY_POINT_RENAME
jpayne@69 116 #ifdef U_HAVE_LIB_SUFFIX
jpayne@69 117 # if !U_DISABLE_VERSION_SUFFIX
jpayne@69 118 # define U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z) x ## y ## z
jpayne@69 119 # define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y,z) U_DEF_ICU_ENTRY_POINT_RENAME(x,y,z)
jpayne@69 120 # define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX,U_LIB_SUFFIX_C_NAME)
jpayne@69 121 # else
jpayne@69 122 # define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
jpayne@69 123 # define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
jpayne@69 124 # define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_LIB_SUFFIX_C_NAME)
jpayne@69 125 # endif
jpayne@69 126 #else
jpayne@69 127 # if !U_DISABLE_VERSION_SUFFIX
jpayne@69 128 # define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
jpayne@69 129 # define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
jpayne@69 130 # define U_ICU_ENTRY_POINT_RENAME(x) U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
jpayne@69 131 # else
jpayne@69 132 # define U_ICU_ENTRY_POINT_RENAME(x) x
jpayne@69 133 # endif
jpayne@69 134 #endif
jpayne@69 135 #endif
jpayne@69 136
jpayne@69 137 /** The current ICU library version as a dotted-decimal string. The patchlevel
jpayne@69 138 * only appears in this string if it non-zero.
jpayne@69 139 * This value will change in the subsequent releases of ICU
jpayne@69 140 * @stable ICU 2.4
jpayne@69 141 */
jpayne@69 142 #define U_ICU_VERSION "67.1"
jpayne@69 143
jpayne@69 144 /**
jpayne@69 145 * The current ICU library major version number as a string, for library name suffixes.
jpayne@69 146 * This value will change in subsequent releases of ICU.
jpayne@69 147 *
jpayne@69 148 * Until ICU 4.8, this was the combination of the single-digit major and minor ICU version numbers
jpayne@69 149 * into one string without dots ("48").
jpayne@69 150 * Since ICU 49, it is the double-digit major ICU version number.
jpayne@69 151 * See http://userguide.icu-project.org/design#TOC-Version-Numbers-in-ICU
jpayne@69 152 *
jpayne@69 153 * @stable ICU 2.6
jpayne@69 154 */
jpayne@69 155 #define U_ICU_VERSION_SHORT "67"
jpayne@69 156
jpayne@69 157 #ifndef U_HIDE_INTERNAL_API
jpayne@69 158 /** Data version in ICU4C.
jpayne@69 159 * @internal ICU 4.4 Internal Use Only
jpayne@69 160 **/
jpayne@69 161 #define U_ICU_DATA_VERSION "67.1"
jpayne@69 162 #endif /* U_HIDE_INTERNAL_API */
jpayne@69 163
jpayne@69 164 /*===========================================================================
jpayne@69 165 * ICU collation framework version information
jpayne@69 166 * Version info that can be obtained from a collator is affected by these
jpayne@69 167 * numbers in a secret and magic way. Please use collator version as whole
jpayne@69 168 *===========================================================================
jpayne@69 169 */
jpayne@69 170
jpayne@69 171 /**
jpayne@69 172 * Collation runtime version (sort key generator, strcoll).
jpayne@69 173 * If the version is different, sort keys for the same string could be different.
jpayne@69 174 * This value may change in subsequent releases of ICU.
jpayne@69 175 * @stable ICU 2.4
jpayne@69 176 */
jpayne@69 177 #define UCOL_RUNTIME_VERSION 9
jpayne@69 178
jpayne@69 179 /**
jpayne@69 180 * Collation builder code version.
jpayne@69 181 * When this is different, the same tailoring might result
jpayne@69 182 * in assigning different collation elements to code points.
jpayne@69 183 * This value may change in subsequent releases of ICU.
jpayne@69 184 * @stable ICU 2.4
jpayne@69 185 */
jpayne@69 186 #define UCOL_BUILDER_VERSION 9
jpayne@69 187
jpayne@69 188 #ifndef U_HIDE_DEPRECATED_API
jpayne@69 189 /**
jpayne@69 190 * Constant 1.
jpayne@69 191 * This was intended to be the version of collation tailorings,
jpayne@69 192 * but instead the tailoring data carries a version number.
jpayne@69 193 * @deprecated ICU 54
jpayne@69 194 */
jpayne@69 195 #define UCOL_TAILORINGS_VERSION 1
jpayne@69 196 #endif /* U_HIDE_DEPRECATED_API */
jpayne@69 197
jpayne@69 198 #endif