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