mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 14:31:31 +00:00
ICU-739 Palm OS compiler has some issues with shared libraries and exported data (non-functions).
X-SVN-Rev: 17297
This commit is contained in:
parent
41ca4f63ee
commit
5099f3d680
8 changed files with 26 additions and 64 deletions
|
@ -42,8 +42,6 @@
|
|||
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
const int32_t BreakIterator::DONE = (int32_t)-1;
|
||||
|
||||
// -------------------------------------
|
||||
|
||||
BreakIterator*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
********************************************************************************
|
||||
* Copyright (C) 1997-2004, International Business Machines
|
||||
* Copyright (C) 1997-2005, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
********************************************************************************
|
||||
*
|
||||
|
@ -271,16 +271,14 @@ public:
|
|||
*/
|
||||
virtual void adoptText(CharacterIterator* it) = 0;
|
||||
|
||||
/**
|
||||
* DONE is returned by previous() and next() after all valid
|
||||
* boundaries have been returned.
|
||||
* @stable ICU 2.0
|
||||
*/
|
||||
#ifdef U_CYGWIN
|
||||
static U_COMMON_API const int32_t DONE;
|
||||
#else
|
||||
static const int32_t DONE;
|
||||
#endif
|
||||
enum {
|
||||
/**
|
||||
* DONE is returned by previous() and next() after all valid
|
||||
* boundaries have been returned.
|
||||
* @stable ICU 2.0
|
||||
*/
|
||||
DONE = (int32_t)-1
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the index of the first character in the text being scanned.
|
||||
|
|
|
@ -276,25 +276,19 @@ class U_COMMON_API UnicodeSet : public UnicodeFilter {
|
|||
|
||||
public:
|
||||
|
||||
/**
|
||||
* Minimum value that can be stored in a UnicodeSet.
|
||||
* @stable ICU 2.4
|
||||
*/
|
||||
#ifdef U_CYGWIN
|
||||
static U_COMMON_API const UChar32 MIN_VALUE;
|
||||
#else
|
||||
static const UChar32 MIN_VALUE;
|
||||
#endif
|
||||
enum {
|
||||
/**
|
||||
* Minimum value that can be stored in a UnicodeSet.
|
||||
* @stable ICU 2.4
|
||||
*/
|
||||
MIN_VALUE = 0,
|
||||
|
||||
/**
|
||||
* Maximum value that can be stored in a UnicodeSet.
|
||||
* @stable ICU 2.4
|
||||
*/
|
||||
#ifdef U_CYGWIN
|
||||
static U_COMMON_API const UChar32 MAX_VALUE;
|
||||
#else
|
||||
static const UChar32 MAX_VALUE;
|
||||
#endif
|
||||
/**
|
||||
* Maximum value that can be stored in a UnicodeSet.
|
||||
* @stable ICU 2.4
|
||||
*/
|
||||
MAX_VALUE = 0x10ffff
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------
|
||||
// Constructors &c
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1999-2004, International Business Machines
|
||||
* Copyright (C) 1999-2005, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
* Date Name Description
|
||||
|
@ -57,16 +57,6 @@ U_NAMESPACE_BEGIN
|
|||
|
||||
SymbolTable::~SymbolTable() {}
|
||||
|
||||
/**
|
||||
* Minimum value that can be stored in a UnicodeSet.
|
||||
*/
|
||||
const UChar32 UnicodeSet::MIN_VALUE = UNICODESET_LOW;
|
||||
|
||||
/**
|
||||
* Maximum value that can be stored in a UnicodeSet.
|
||||
*/
|
||||
const UChar32 UnicodeSet::MAX_VALUE = UNICODESET_HIGH - 1;
|
||||
|
||||
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UnicodeSet)
|
||||
|
||||
/**
|
||||
|
|
|
@ -18,13 +18,7 @@ U_NAMESPACE_BEGIN
|
|||
|
||||
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(NullTransliterator)
|
||||
|
||||
// "Any-Null"
|
||||
const UChar NullTransliterator::ID[] = {65,110,121,45,0x4E, 0x75, 0x6C, 0x6C, 0x00};
|
||||
|
||||
// "Null"
|
||||
const UChar NullTransliterator::SHORT_ID[] = {0x4E, 0x75, 0x6C, 0x6C, 0x00};
|
||||
|
||||
NullTransliterator::NullTransliterator() : Transliterator(ID, 0) {}
|
||||
NullTransliterator::NullTransliterator() : Transliterator(UNICODE_STRING_SIMPLE("Any-Null"), 0) {}
|
||||
|
||||
NullTransliterator::~NullTransliterator() {}
|
||||
|
||||
|
|
|
@ -27,18 +27,6 @@ class U_I18N_API NullTransliterator : public Transliterator {
|
|||
|
||||
public:
|
||||
|
||||
/**
|
||||
* ID for this transliterator.
|
||||
* @internal Use transliterator factory methods instead since this class will be removed in that release.
|
||||
*/
|
||||
static const UChar ID[]; // public for Transliterator
|
||||
|
||||
/**
|
||||
* ID for this transliterator.
|
||||
* @internal Use transliterator factory methods instead since this class will be removed in that release.
|
||||
*/
|
||||
static const UChar SHORT_ID[]; // public for Transliterator
|
||||
|
||||
/**
|
||||
* Constructs a transliterator.
|
||||
* @internal Use transliterator factory methods instead since this class will be removed in that release.
|
||||
|
|
|
@ -1526,8 +1526,8 @@ UBool Transliterator::initializeRegistry() {
|
|||
NormalizationTransliterator::registerIDs();
|
||||
AnyTransliterator::registerIDs();
|
||||
|
||||
_registerSpecialInverse(NullTransliterator::SHORT_ID,
|
||||
NullTransliterator::SHORT_ID, FALSE);
|
||||
_registerSpecialInverse(UNICODE_STRING_SIMPLE("Null"),
|
||||
UNICODE_STRING_SIMPLE("Null"), FALSE);
|
||||
_registerSpecialInverse(UNICODE_STRING_SIMPLE("Upper"),
|
||||
UNICODE_STRING_SIMPLE("Lower"), TRUE);
|
||||
_registerSpecialInverse(UNICODE_STRING_SIMPLE("Title"),
|
||||
|
|
|
@ -535,7 +535,7 @@ Transliterator* TransliteratorRegistry::reget(const UnicodeString& ID,
|
|||
// No idBlock, no data -- this is just an
|
||||
// alias for Null
|
||||
entry->entryType = Entry::ALIAS;
|
||||
entry->stringArg = NullTransliterator::ID;
|
||||
entry->stringArg = UNICODE_STRING_SIMPLE("Any-Null");
|
||||
} else {
|
||||
// No idBlock, data != 0 -- this is an
|
||||
// ordinary RBT_DATA
|
||||
|
|
Loading…
Add table
Reference in a new issue