ICU 72.1 72.1
Macros
uvernum.h File Reference

C API: definitions of ICU version numbers. More...

Go to the source code of this file.

Macros

#define U_COPYRIGHT_STRING    " Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html "
 The standard copyright notice that gets compiled into each library. More...
 
#define U_ICU_VERSION_MAJOR_NUM   72
 The current ICU major version as an integer. More...
 
#define U_ICU_VERSION_MINOR_NUM   1
 The current ICU minor version as an integer. More...
 
#define U_ICU_VERSION_PATCHLEVEL_NUM   0
 The current ICU patchlevel version as an integer. More...
 
#define U_ICU_VERSION_BUILDLEVEL_NUM   0
 The current ICU build level version as an integer. More...
 
#define U_ICU_VERSION_SUFFIX   _72
 Glued version suffix for renamers This value will change in the subsequent releases of ICU. More...
 
#define U_DISABLE_VERSION_SUFFIX   0
 Disable the version suffix. More...
 
#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)
 Glued version suffix function for renamers This value will change in the subsequent releases of ICU. More...
 
#define U_ICU_VERSION   "72.1"
 The current ICU library version as a dotted-decimal string. More...
 
#define U_ICU_VERSION_SHORT   "72"
 The current ICU library major version number as a string, for library name suffixes. More...
 
#define U_ICU_DATA_VERSION   "72.1"
 Data version in ICU4C. More...
 
#define UCOL_RUNTIME_VERSION   9
 Collation runtime version (sort key generator, strcoll). More...
 
#define UCOL_BUILDER_VERSION   9
 Collation builder code version. More...
 
#define UCOL_TAILORINGS_VERSION   1
 Constant 1. More...
 

Detailed Description

C API: definitions of ICU version numbers.

This file is included by uversion.h and other files. This file contains only macros and definitions. The actual version numbers are defined here.

Definition in file uvernum.h.

Macro Definition Documentation

◆ U_COPYRIGHT_STRING

#define U_COPYRIGHT_STRING    " Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html "

The standard copyright notice that gets compiled into each library.

This value will change in the subsequent releases of ICU

Stable:
ICU 2.4

Definition at line 49 of file uvernum.h.

◆ U_DEF2_ICU_ENTRY_POINT_RENAME

#define U_DEF2_ICU_ENTRY_POINT_RENAME (   x,
 
)    U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
Internal:
Do not use. This API is for internal use only.

Definition at line 122 of file uvernum.h.

◆ U_DEF_ICU_ENTRY_POINT_RENAME

#define U_DEF_ICU_ENTRY_POINT_RENAME (   x,
 
)    x ## y
Internal:
Do not use. This API is for internal use only.

Definition at line 121 of file uvernum.h.

◆ U_DISABLE_VERSION_SUFFIX

#define U_DISABLE_VERSION_SUFFIX   0

Disable the version suffix.

Use the custom suffix if exists.

Internal:
Do not use. This API is for internal use only.

Definition at line 105 of file uvernum.h.

◆ U_ICU_DATA_VERSION

#define U_ICU_DATA_VERSION   "72.1"

Data version in ICU4C.

Internal:
Do not use. This API is for internal use only. ICU 4.4 Internal Use Only

Definition at line 154 of file uvernum.h.

◆ U_ICU_ENTRY_POINT_RENAME

#define U_ICU_ENTRY_POINT_RENAME (   x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)

Glued version suffix function for renamers 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.

Stable:
ICU 4.2

Definition at line 123 of file uvernum.h.

◆ U_ICU_VERSION

#define U_ICU_VERSION   "72.1"

The current ICU library version as a dotted-decimal string.

The patchlevel only appears in this string if it non-zero. This value will change in the subsequent releases of ICU

Stable:
ICU 2.4

Definition at line 135 of file uvernum.h.

◆ U_ICU_VERSION_BUILDLEVEL_NUM

#define U_ICU_VERSION_BUILDLEVEL_NUM   0

The current ICU build level version as an integer.

This value is for use by ICU clients. It defaults to 0.

Stable:
ICU 4.0

Definition at line 75 of file uvernum.h.

◆ U_ICU_VERSION_MAJOR_NUM

#define U_ICU_VERSION_MAJOR_NUM   72

The current ICU major version as an integer.

This value will change in the subsequent releases of ICU

Stable:
ICU 2.4

Definition at line 56 of file uvernum.h.

◆ U_ICU_VERSION_MINOR_NUM

#define U_ICU_VERSION_MINOR_NUM   1

The current ICU minor version as an integer.

This value will change in the subsequent releases of ICU

Stable:
ICU 2.6

Definition at line 62 of file uvernum.h.

◆ U_ICU_VERSION_PATCHLEVEL_NUM

#define U_ICU_VERSION_PATCHLEVEL_NUM   0

The current ICU patchlevel version as an integer.

This value will change in the subsequent releases of ICU

Stable:
ICU 2.4

Definition at line 68 of file uvernum.h.

◆ U_ICU_VERSION_SHORT

#define U_ICU_VERSION_SHORT   "72"

The current ICU library major version number as a string, for library name suffixes.

This value will change in subsequent releases of ICU.

Until ICU 4.8, this was the combination of the single-digit major and minor ICU version numbers into one string without dots ("48"). Since ICU 49, it is the double-digit major ICU version number. See https://unicode-org.github.io/icu/userguide/design#version-numbers-in-icu

Stable:
ICU 2.6

Definition at line 148 of file uvernum.h.

◆ U_ICU_VERSION_SUFFIX

#define U_ICU_VERSION_SUFFIX   _72

Glued version suffix for renamers This value will change in the subsequent releases of ICU.

Stable:
ICU 2.6

Definition at line 82 of file uvernum.h.

◆ UCOL_BUILDER_VERSION

#define UCOL_BUILDER_VERSION   9

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.

Stable:
ICU 2.4

Definition at line 179 of file uvernum.h.

◆ UCOL_RUNTIME_VERSION

#define UCOL_RUNTIME_VERSION   9

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.

Stable:
ICU 2.4

Definition at line 170 of file uvernum.h.

◆ UCOL_TAILORINGS_VERSION

#define UCOL_TAILORINGS_VERSION   1

Constant 1.

This was intended to be the version of collation tailorings, but instead the tailoring data carries a version number.

Deprecated:
ICU 54

Definition at line 188 of file uvernum.h.