mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-12992 revert new C++ API (CaseMap) to raw pointers
X-SVN-Rev: 39746
This commit is contained in:
parent
a8bc4d7682
commit
14dbfd1d16
4 changed files with 16 additions and 16 deletions
|
@ -60,8 +60,8 @@ public:
|
|||
*/
|
||||
static int32_t toLower(
|
||||
const char *locale, uint32_t options,
|
||||
ConstChar16Ptr src, int32_t srcLength,
|
||||
Char16Ptr dest, int32_t destCapacity, Edits *edits,
|
||||
const char16_t *src, int32_t srcLength,
|
||||
char16_t *dest, int32_t destCapacity, Edits *edits,
|
||||
UErrorCode &errorCode);
|
||||
|
||||
/**
|
||||
|
@ -94,8 +94,8 @@ public:
|
|||
*/
|
||||
static int32_t toUpper(
|
||||
const char *locale, uint32_t options,
|
||||
ConstChar16Ptr src, int32_t srcLength,
|
||||
Char16Ptr dest, int32_t destCapacity, Edits *edits,
|
||||
const char16_t *src, int32_t srcLength,
|
||||
char16_t *dest, int32_t destCapacity, Edits *edits,
|
||||
UErrorCode &errorCode);
|
||||
|
||||
#if !UCONFIG_NO_BREAK_ITERATION
|
||||
|
@ -141,8 +141,8 @@ public:
|
|||
*/
|
||||
static int32_t toTitle(
|
||||
const char *locale, uint32_t options, BreakIterator *iter,
|
||||
ConstChar16Ptr src, int32_t srcLength,
|
||||
Char16Ptr dest, int32_t destCapacity, Edits *edits,
|
||||
const char16_t *src, int32_t srcLength,
|
||||
char16_t *dest, int32_t destCapacity, Edits *edits,
|
||||
UErrorCode &errorCode);
|
||||
|
||||
#endif // UCONFIG_NO_BREAK_ITERATION
|
||||
|
@ -181,8 +181,8 @@ public:
|
|||
*/
|
||||
static int32_t fold(
|
||||
uint32_t options,
|
||||
ConstChar16Ptr src, int32_t srcLength,
|
||||
Char16Ptr dest, int32_t destCapacity, Edits *edits,
|
||||
const char16_t *src, int32_t srcLength,
|
||||
char16_t *dest, int32_t destCapacity, Edits *edits,
|
||||
UErrorCode &errorCode);
|
||||
|
||||
private:
|
||||
|
|
|
@ -66,8 +66,8 @@ U_NAMESPACE_BEGIN
|
|||
|
||||
int32_t CaseMap::toTitle(
|
||||
const char *locale, uint32_t options, BreakIterator *iter,
|
||||
ConstChar16Ptr src, int32_t srcLength,
|
||||
Char16Ptr dest, int32_t destCapacity, Edits *edits,
|
||||
const UChar *src, int32_t srcLength,
|
||||
UChar *dest, int32_t destCapacity, Edits *edits,
|
||||
UErrorCode &errorCode) {
|
||||
LocalPointer<BreakIterator> ownedIter;
|
||||
if(iter==NULL) {
|
||||
|
|
|
@ -1198,8 +1198,8 @@ U_NAMESPACE_BEGIN
|
|||
|
||||
int32_t CaseMap::fold(
|
||||
uint32_t options,
|
||||
ConstChar16Ptr src, int32_t srcLength,
|
||||
Char16Ptr dest, int32_t destCapacity, Edits *edits,
|
||||
const UChar *src, int32_t srcLength,
|
||||
UChar *dest, int32_t destCapacity, Edits *edits,
|
||||
UErrorCode &errorCode) {
|
||||
return ustrcase_map(
|
||||
UCASE_LOC_ROOT, options, UCASEMAP_BREAK_ITERATOR_NULL
|
||||
|
|
|
@ -69,8 +69,8 @@ U_NAMESPACE_BEGIN
|
|||
|
||||
int32_t CaseMap::toLower(
|
||||
const char *locale, uint32_t options,
|
||||
ConstChar16Ptr src, int32_t srcLength,
|
||||
Char16Ptr dest, int32_t destCapacity, Edits *edits,
|
||||
const UChar *src, int32_t srcLength,
|
||||
UChar *dest, int32_t destCapacity, Edits *edits,
|
||||
UErrorCode &errorCode) {
|
||||
return ustrcase_map(
|
||||
ustrcase_getCaseLocale(locale), options, UCASEMAP_BREAK_ITERATOR_NULL
|
||||
|
@ -81,8 +81,8 @@ int32_t CaseMap::toLower(
|
|||
|
||||
int32_t CaseMap::toUpper(
|
||||
const char *locale, uint32_t options,
|
||||
ConstChar16Ptr src, int32_t srcLength,
|
||||
Char16Ptr dest, int32_t destCapacity, Edits *edits,
|
||||
const UChar *src, int32_t srcLength,
|
||||
UChar *dest, int32_t destCapacity, Edits *edits,
|
||||
UErrorCode &errorCode) {
|
||||
return ustrcase_map(
|
||||
ustrcase_getCaseLocale(locale), options, UCASEMAP_BREAK_ITERATOR_NULL
|
||||
|
|
Loading…
Add table
Reference in a new issue