mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-5932 Fix a namespace issue.
X-SVN-Rev: 22670
This commit is contained in:
parent
8d8b83f35b
commit
02deecc34f
2 changed files with 3 additions and 3 deletions
|
@ -428,14 +428,14 @@ uprv_isRuleWhiteSpace(UChar32 c) {
|
|||
c == 0x200E || c == 0x200F || c >= 0x2028));
|
||||
}
|
||||
|
||||
U_CAPI UnicodeSet* U_EXPORT2
|
||||
U_CAPI U_NAMESPACE_QUALIFIER UnicodeSet* U_EXPORT2
|
||||
uprv_openRuleWhiteSpaceSet(UErrorCode* ec) {
|
||||
if(U_FAILURE(*ec)) {
|
||||
return NULL;
|
||||
}
|
||||
// create a set with the Pattern_White_Space characters,
|
||||
// without a pattern for fewer code dependencies
|
||||
UnicodeSet *set=new UnicodeSet(9, 0xd);
|
||||
U_NAMESPACE_QUALIFIER UnicodeSet *set=new U_NAMESPACE_QUALIFIER UnicodeSet(9, 0xd);
|
||||
set->UnicodeSet::add(0x20).add(0x85).add(0x200e, 0x200f).add(0x2028, 0x2029);
|
||||
return set;
|
||||
}
|
||||
|
|
|
@ -244,7 +244,7 @@ U_NAMESPACE_END
|
|||
* See UAX #31 Identifier and Pattern Syntax: http://www.unicode.org/reports/tr31/
|
||||
* @internal
|
||||
*/
|
||||
U_CAPI UnicodeSet* U_EXPORT2
|
||||
U_CAPI U_NAMESPACE_QUALIFIER UnicodeSet* U_EXPORT2
|
||||
uprv_openRuleWhiteSpaceSet(UErrorCode* ec);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue