ICU-8759 make USET_SERIALIZED_STATIC_ARRAY_CAPACITY @stable and move it out of the closure masks enum

X-SVN-Rev: 30484
This commit is contained in:
Markus Scherer 2011-08-10 23:08:30 +00:00
parent 9f785d7ed6
commit ea780441f3

View file

@ -89,15 +89,7 @@ enum {
* of each existing element in the set.
* @stable ICU 3.2
*/
USET_ADD_CASE_MAPPINGS = 4,
#ifndef U_HIDE_INTERNAL_API
/**
* Enough for any single-code point set
* @internal
*/
USET_SERIALIZED_STATIC_ARRAY_CAPACITY=8
#endif /* U_HIDE_INTERNAL_API */
USET_ADD_CASE_MAPPINGS = 4
};
/**
@ -209,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.