mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #1971 - Part 2: Update ICU source to 63.2.
This commit is contained in:
parent
8df84683be
commit
1e69214382
3160 changed files with 275815 additions and 234203 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
*******************************************************************************
|
||||
|
|
@ -28,6 +28,21 @@ class SkippedState;
|
|||
class UCharsTrie;
|
||||
class UVector32;
|
||||
|
||||
/* Large enough for CEs of most short strings. */
|
||||
#define CEBUFFER_INITIAL_CAPACITY 40
|
||||
|
||||
// Export an explicit template instantiation of the MaybeStackArray that
|
||||
// is used as a data member of CEBuffer.
|
||||
//
|
||||
// When building DLLs for Windows this is required even though
|
||||
// no direct access to the MaybeStackArray leaks out of the i18n library.
|
||||
//
|
||||
// See digitlst.h, pluralaffix.h, datefmt.h, and others for similar examples.
|
||||
//
|
||||
#if U_PF_WINDOWS <= U_PLATFORM && U_PLATFORM <= U_PF_CYGWIN
|
||||
template class U_I18N_API MaybeStackArray<int64_t, CEBUFFER_INITIAL_CAPACITY>;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Collation element iterator and abstract character iterator.
|
||||
*
|
||||
|
|
@ -36,10 +51,10 @@ class UVector32;
|
|||
*/
|
||||
class U_I18N_API CollationIterator : public UObject {
|
||||
private:
|
||||
class CEBuffer {
|
||||
class U_I18N_API CEBuffer {
|
||||
private:
|
||||
/** Large enough for CEs of most short strings. */
|
||||
static const int32_t INITIAL_CAPACITY = 40;
|
||||
static const int32_t INITIAL_CAPACITY = CEBUFFER_INITIAL_CAPACITY;
|
||||
public:
|
||||
CEBuffer() : length(0) {}
|
||||
~CEBuffer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue