ICU 78.2: common/unicode/icudataver.h Source File

ICU 78.2 78.2

icudataver.h
Go to the documentation of this file.
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 ******************************************************************************
5 *
6 * Copyright (C) 2009-2013, International Business Machines
7 * Corporation and others. All Rights Reserved.
8 *
9 ******************************************************************************
10 */
11
12
18 #ifndef __ICU_DATA_VER_H__
19 #define __ICU_DATA_VER_H__
20
21 #include "unicode/utypes.h"
22
26 #define U_ICU_VERSION_BUNDLE "icuver"
27
31 #define U_ICU_DATA_KEY "DataVersion"
32
41 U_CAPI void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
42
43 #endif
u_getDataVersion
U_CAPI void u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status)
Retrieves the data version from icuver and stores it in dataVersionFillin.
U_CAPI
#define U_CAPI
This is used to declare a function as a public ICU C API.
Definition: umachine.h:110
utypes.h
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Definition: utypes.h:509
UVersionInfo
uint8_t UVersionInfo[U_MAX_VERSION_LENGTH]
The binary form of a version on ICU APIs is an array of 4 uint8_t.
Definition: uversion.h:59