ICU 63.1 63.1

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_STABLE void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
42
43 #endif
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
UErrorCode
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Definition: utypes.h:401
utypes.h
Basic definitions for ICU, for both C and C++ APIs.
u_getDataVersion
void u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status)
Retrieves the data version from icuver and stores it in dataVersionFillin.
U_STABLE
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
Definition: umachine.h:111