]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | // © 2016 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
729e4ab9 A |
3 | /* |
4 | ****************************************************************************** | |
5 | * | |
51004dcb | 6 | * Copyright (C) 2009-2013, International Business Machines |
729e4ab9 A |
7 | * Corporation and others. All Rights Reserved. |
8 | * | |
9 | ****************************************************************************** | |
10 | */ | |
11 | ||
51004dcb A |
12 | |
13 | /** | |
14 | * \file | |
15 | * \brief C API: access to ICU Data Version number | |
16 | */ | |
17 | ||
729e4ab9 A |
18 | #ifndef __ICU_DATA_VER_H__ |
19 | #define __ICU_DATA_VER_H__ | |
20 | ||
21 | #include "unicode/utypes.h" | |
22 | ||
23 | /** | |
51004dcb | 24 | * @stable ICU 49 |
729e4ab9 A |
25 | */ |
26 | #define U_ICU_VERSION_BUNDLE "icuver" | |
27 | ||
28 | /** | |
51004dcb | 29 | * @stable ICU 49 |
729e4ab9 A |
30 | */ |
31 | #define U_ICU_DATA_KEY "DataVersion" | |
32 | ||
729e4ab9 A |
33 | /** |
34 | * Retrieves the data version from icuver and stores it in dataVersionFillin. | |
35 | * | |
36 | * @param dataVersionFillin icuver data version information to be filled in if not-null | |
37 | * @param status stores the error code from the calls to resource bundle | |
38 | * | |
51004dcb | 39 | * @stable ICU 49 |
729e4ab9 | 40 | */ |
51004dcb | 41 | U_STABLE void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status); |
729e4ab9 A |
42 | |
43 | #endif |