]>
git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/icuin40shim.cpp
2 *****************************************************************************************
3 * Copyright (C) 2010 Apple Inc. All Rights Reserved.
4 *****************************************************************************************
7 #include "unicode/utypes.h"
9 #include <unicode/ucol.h>
10 #include <unicode/utrans.h>
13 * imp: i18n/ucol_res.cpp
14 * hdr: i18n/unicode/ucol.h
17 U_CAPI UCollator
* U_EXPORT2
18 ucol_open_4_0(const char *loc
, UErrorCode
*status
)
20 return ucol_open(loc
, status
);
25 * hdr: i18n/unicode/ucol.h
29 ucol_close_4_0(UCollator
*coll
)
36 * hdr: i18n/unicode/ucol.h
39 U_CAPI
int32_t U_EXPORT2
40 ucol_getBound_4_0(const uint8_t *source
,
42 UColBoundMode boundType
,
48 return ucol_getBound(source
, sourceLength
, boundType
, noOfLevels
, result
, resultLength
, status
);
53 * hdr: i18n/unicode/ucol.h
56 U_CAPI
int32_t U_EXPORT2
57 ucol_getSortKey_4_0(const UCollator
*coll
,
63 return ucol_getSortKey(coll
, source
, sourceLength
, result
, resultLength
);
68 * hdr: i18n/unicode/ucol.h
72 ucol_setAttribute_4_0(UCollator
*coll
, UColAttribute attr
, UColAttributeValue value
, UErrorCode
*status
)
74 ucol_setAttribute(coll
, attr
, value
, status
);
78 * imp: i18n/utrans.cpp
79 * hdr: i18n/unicode/utrans.h
82 U_CAPI UTransliterator
* U_EXPORT2
83 utrans_openU_4_0(const UChar
*id
,
88 UParseError
*parseError
,
91 return utrans_openU(id
, idLength
, dir
, rules
, rulesLength
, parseError
, status
);
95 * imp: i18n/utrans.cpp
96 * hdr: i18n/unicode/utrans.h
100 utrans_close_4_0(UTransliterator
* trans
)
106 * imp: i18n/utrans.cpp
107 * hdr: i18n/unicode/utrans.h
110 U_CAPI
void U_EXPORT2
111 utrans_transUChars_4_0(const UTransliterator
* trans
,
114 int32_t textCapacity
,
119 return utrans_transUChars(trans
, text
, textLength
, textCapacity
, start
, limit
, status
);