]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/uset_imp.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / common / uset_imp.h
index b5a969e1047105884d0982baa8b3eb28538eb5e3..7233b9303c3a1737a508164263dd5d4f57723ea6 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) 2004, International Business Machines
+*   Copyright (C) 2004-2007, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *******************************************************************************
 *   file name:  uset_imp.h
-*   encoding:   US-ASCII
+*   encoding:   UTF-8
 *   tab size:   8 (not used)
 *   indentation:4
 *
@@ -33,6 +35,12 @@ USetAddRange(USet *set, UChar32 start, UChar32 end);
 typedef void U_CALLCONV
 USetAddString(USet *set, const UChar *str, int32_t length);
 
+typedef void U_CALLCONV
+USetRemove(USet *set, UChar32 c);
+
+typedef void U_CALLCONV
+USetRemoveRange(USet *set, UChar32 start, UChar32 end);
+
 /**
  * Interface for adding items to a USet, to keep low-level code from
  * statically depending on the USet implementation.
@@ -43,18 +51,12 @@ struct USetAdder {
     USetAdd *add;
     USetAddRange *addRange;
     USetAddString *addString;
+    USetRemove *remove;
+    USetRemoveRange *removeRange;
 };
 typedef struct USetAdder USetAdder;
 
 U_CDECL_END
 
-/**
- * Get the set of "white space" characters in the sense of ICU rule
- * parsers.  Caller must close/delete result.
- * @internal
- */
-U_CAPI USet* U_EXPORT2
-uprv_openRuleWhiteSpaceSet(UErrorCode* ec);
-
 #endif