diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/JavaScriptCore/icu/unicode/uset.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/JavaScriptCore/icu/unicode/uset.h')
-rw-r--r-- | Source/JavaScriptCore/icu/unicode/uset.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Source/JavaScriptCore/icu/unicode/uset.h b/Source/JavaScriptCore/icu/unicode/uset.h index 77ab06342..40510cd41 100644 --- a/Source/JavaScriptCore/icu/unicode/uset.h +++ b/Source/JavaScriptCore/icu/unicode/uset.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 2002-2010, International Business Machines +* Copyright (C) 2002-2012, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -89,13 +89,7 @@ enum { * of each existing element in the set. * @stable ICU 3.2 */ - USET_ADD_CASE_MAPPINGS = 4, - - /** - * Enough for any single-code point set - * @internal - */ - USET_SERIALIZED_STATIC_ARRAY_CAPACITY=8 + USET_ADD_CASE_MAPPINGS = 4 }; /** @@ -207,6 +201,16 @@ typedef enum USetSpanCondition { USET_SPAN_CONDITION_COUNT } USetSpanCondition; +enum { + /** + * Capacity of USerializedSet::staticArray. + * Enough for any single-code point set. + * Also provides padding for nice sizeof(USerializedSet). + * @stable ICU 2.4 + */ + USET_SERIALIZED_STATIC_ARRAY_CAPACITY=8 +}; + /** * A serialized form of a Unicode set. Limited manipulations are * possible directly on a serialized set. See below. @@ -247,7 +251,7 @@ typedef struct USerializedSet { * @stable ICU 4.2 */ U_STABLE USet* U_EXPORT2 -uset_openEmpty(); +uset_openEmpty(void); /** * Creates a USet object that contains the range of characters |