]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/uset_props.cpp
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / common / uset_props.cpp
index fb607390a2dd79e97abcc2249294f0e952b2b0f5..f08e760b10d4e107baf059af81f5e4b2bf65029e 100644 (file)
@@ -1,12 +1,14 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 *******************************************************************************
 *
-*   Copyright (C) 2002-2006, International Business Machines
+*   Copyright (C) 2002-2011, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *******************************************************************************
 *   file name:  uset_props.cpp
-*   encoding:   US-ASCII
+*   encoding:   UTF-8
 *   tab size:   8 (not used)
 *   indentation:4
 *
@@ -38,7 +40,7 @@ uset_openPattern(const UChar* pattern, int32_t patternLength,
         *ec = U_MEMORY_ALLOCATION_ERROR;
         return 0;
     }
-    
+
     if (U_FAILURE(*ec)) {
         delete set;
         set = NULL;
@@ -58,7 +60,7 @@ uset_openPatternOptions(const UChar* pattern, int32_t patternLength,
         *ec = U_MEMORY_ALLOCATION_ERROR;
         return 0;
     }
-    
+
     if (U_FAILURE(*ec)) {
         delete set;
         set = NULL;
@@ -134,3 +136,8 @@ uset_toPattern(const USet* set,
     ((const UnicodeSet*) set)->toPattern(pat, escapeUnprintable);
     return pat.extract(result, resultCapacity, *ec);
 }
+
+U_CAPI void U_EXPORT2
+uset_closeOver(USet* set, int32_t attributes) {
+    ((UnicodeSet*) set)->UnicodeSet::closeOver(attributes);
+}