mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-6066 take UnicodeSet::removeAllStrings() public
X-SVN-Rev: 25556
This commit is contained in:
parent
72cf0f3d06
commit
0e1d733bac
3 changed files with 15 additions and 1 deletions
|
@ -1299,7 +1299,7 @@ public:
|
|||
* Remove all strings from this set.
|
||||
*
|
||||
* @return a reference to this set.
|
||||
* @internal
|
||||
* @draft ICU 4.2
|
||||
*/
|
||||
virtual UnicodeSet &removeAllStrings();
|
||||
|
||||
|
|
|
@ -687,6 +687,15 @@ uset_complementAll(USet* set, const USet* complement);
|
|||
U_STABLE void U_EXPORT2
|
||||
uset_clear(USet* set);
|
||||
|
||||
/**
|
||||
* Remove all strings from this set.
|
||||
*
|
||||
* @param set the set
|
||||
* @draft ICU 4.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
uset_removeAllStrings(USet* set);
|
||||
|
||||
/**
|
||||
* Returns TRUE if the given USet contains no characters and no
|
||||
* strings.
|
||||
|
|
|
@ -149,6 +149,11 @@ uset_clear(USet* set) {
|
|||
((UnicodeSet*) set)->UnicodeSet::clear();
|
||||
}
|
||||
|
||||
U_CAPI void U_EXPORT2
|
||||
uset_removeAllStrings(USet* set) {
|
||||
((UnicodeSet*) set)->UnicodeSet::removeAllStrings();
|
||||
}
|
||||
|
||||
U_CAPI UBool U_EXPORT2
|
||||
uset_isEmpty(const USet* set) {
|
||||
return ((const UnicodeSet*) set)->UnicodeSet::isEmpty();
|
||||
|
|
Loading…
Add table
Reference in a new issue