OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * | 3 * |
4 * Copyright (C) 2003-2009, International Business Machines | 4 * Copyright (C) 2003-2014, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ******************************************************************************* | 7 ******************************************************************************* |
8 * file name: ucol_swp.h | 8 * file name: ucol_swp.h |
9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
11 * indentation:4 | 11 * indentation:4 |
12 * | 12 * |
13 * created on: 2003sep10 | 13 * created on: 2003sep10 |
14 * created by: Markus W. Scherer | 14 * created by: Markus W. Scherer |
(...skipping 12 matching lines...) Expand all Loading... |
27 | 27 |
28 /* | 28 /* |
29 * Does the data look like a collation binary? | 29 * Does the data look like a collation binary? |
30 * @internal | 30 * @internal |
31 */ | 31 */ |
32 U_INTERNAL UBool U_EXPORT2 | 32 U_INTERNAL UBool U_EXPORT2 |
33 ucol_looksLikeCollationBinary(const UDataSwapper *ds, | 33 ucol_looksLikeCollationBinary(const UDataSwapper *ds, |
34 const void *inData, int32_t length); | 34 const void *inData, int32_t length); |
35 | 35 |
36 /** | 36 /** |
37 * Swap a header-less collation binary, inside a resource bundle or ucadata.icu. | |
38 * See udataswp.h. | |
39 * @internal | |
40 */ | |
41 U_CAPI int32_t U_EXPORT2 | |
42 ucol_swapBinary(const UDataSwapper *ds, | |
43 const void *inData, int32_t length, void *outData, | |
44 UErrorCode *pErrorCode); | |
45 | |
46 /** | |
47 * Swap ICU collation data like ucadata.icu. See udataswp.h. | 37 * Swap ICU collation data like ucadata.icu. See udataswp.h. |
48 * @internal | 38 * @internal |
49 */ | 39 */ |
50 U_CAPI int32_t U_EXPORT2 | 40 U_CAPI int32_t U_EXPORT2 |
51 ucol_swap(const UDataSwapper *ds, | 41 ucol_swap(const UDataSwapper *ds, |
52 const void *inData, int32_t length, void *outData, | 42 const void *inData, int32_t length, void *outData, |
53 UErrorCode *pErrorCode); | 43 UErrorCode *pErrorCode); |
54 | 44 |
55 /** | 45 /** |
56 * Swap inverse UCA collation data (invuca.icu). See udataswp.h. | 46 * Swap inverse UCA collation data (invuca.icu). See udataswp.h. |
57 * @internal | 47 * @internal |
58 */ | 48 */ |
59 U_CAPI int32_t U_EXPORT2 | 49 U_CAPI int32_t U_EXPORT2 |
60 ucol_swapInverseUCA(const UDataSwapper *ds, | 50 ucol_swapInverseUCA(const UDataSwapper *ds, |
61 const void *inData, int32_t length, void *outData, | 51 const void *inData, int32_t length, void *outData, |
62 UErrorCode *pErrorCode); | 52 UErrorCode *pErrorCode); |
63 | 53 |
64 #endif /* #if !UCONFIG_NO_COLLATION */ | 54 #endif /* #if !UCONFIG_NO_COLLATION */ |
65 | 55 |
66 #endif | 56 #endif |
OLD | NEW |