mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-5008 Undraft some API
X-SVN-Rev: 18999
This commit is contained in:
parent
6227bf0f80
commit
ed52ece8ed
16 changed files with 91 additions and 108 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
***************************************************************************
|
||||
* Copyright (C) 1999-2005 International Business Machines Corporation *
|
||||
* Copyright (C) 1999-2006 International Business Machines Corporation *
|
||||
* and others. All rights reserved. *
|
||||
***************************************************************************
|
||||
|
||||
|
@ -423,7 +423,7 @@ public:
|
|||
* is the total number of status values that were available,
|
||||
* not the reduced number that were actually returned.
|
||||
* @see getRuleStatus
|
||||
* @draft ICU 3.0
|
||||
* @stable ICU 3.0
|
||||
*/
|
||||
virtual int32_t getRuleStatusVec(int32_t *fillInVec, int32_t capacity, UErrorCode &status);
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/*
|
||||
* Copyright (C) 1996-2005, International Business Machines Corporation and others. All Rights Reserved.
|
||||
*****************************************************************************************
|
||||
******************************************************************************
|
||||
* Copyright (C) 1996-2006, International Business Machines Corporation and others.
|
||||
* All Rights Reserved.
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef UBRK_H
|
||||
|
@ -453,9 +455,9 @@ ubrk_getRuleStatus(UBreakIterator *bi);
|
|||
* @param status receives error codes.
|
||||
* @return The number of rule status values from rules that determined
|
||||
* the most recent boundary returned by the break iterator.
|
||||
* @draft ICU 3.0
|
||||
* @stable ICU 3.0
|
||||
*/
|
||||
U_DRAFT int32_t U_EXPORT2
|
||||
U_STABLE int32_t U_EXPORT2
|
||||
ubrk_getRuleStatusVec(UBreakIterator *bi, int32_t *fillInVec, int32_t capacity, UErrorCode *status);
|
||||
|
||||
/**
|
||||
|
@ -465,9 +467,9 @@ ubrk_getRuleStatusVec(UBreakIterator *bi, int32_t *fillInVec, int32_t capacity,
|
|||
* @param type locale type (valid or actual)
|
||||
* @param status error code
|
||||
* @return locale string
|
||||
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
|
||||
* @stable ICU 2.8
|
||||
*/
|
||||
U_DRAFT const char* U_EXPORT2
|
||||
U_STABLE const char* U_EXPORT2
|
||||
ubrk_getLocaleByType(const UBreakIterator *bi, ULocDataLocaleType type, UErrorCode* status);
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1997-2005, International Business Machines
|
||||
* Copyright (C) 1997-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*
|
||||
|
@ -310,13 +310,13 @@ typedef enum UProperty {
|
|||
/** Binary property STerm (new in Unicode 4.0.1).
|
||||
Sentence Terminal. Used in UAX #29: Text Boundaries
|
||||
(http://www.unicode.org/reports/tr29/)
|
||||
@draft ICU 3.0 */
|
||||
@stable ICU 3.0 */
|
||||
UCHAR_S_TERM,
|
||||
/** Binary property Variation_Selector (new in Unicode 4.0.1).
|
||||
Indicates all those characters that qualify as Variation Selectors.
|
||||
For details on the behavior of these characters,
|
||||
see StandardizedVariants.html and 15.6 Variation Selectors.
|
||||
@draft ICU 3.0 */
|
||||
@stable ICU 3.0 */
|
||||
UCHAR_VARIATION_SELECTOR,
|
||||
/** Binary property NFD_Inert.
|
||||
ICU-specific property for characters that are inert under NFD,
|
||||
|
@ -339,7 +339,7 @@ typedef enum UProperty {
|
|||
|
||||
See also com.ibm.text.UCD.NFSkippable in the ICU4J repository,
|
||||
and icu/source/common/unormimp.h .
|
||||
@draft ICU 3.0 */
|
||||
@stable ICU 3.0 */
|
||||
UCHAR_NFD_INERT,
|
||||
/** Binary property NFKD_Inert.
|
||||
ICU-specific property for characters that are inert under NFKD,
|
||||
|
@ -348,7 +348,7 @@ typedef enum UProperty {
|
|||
to find the boundary of safely normalizable text despite possible
|
||||
text additions.
|
||||
@see UCHAR_NFD_INERT
|
||||
@draft ICU 3.0 */
|
||||
@stable ICU 3.0 */
|
||||
UCHAR_NFKD_INERT,
|
||||
/** Binary property NFC_Inert.
|
||||
ICU-specific property for characters that are inert under NFC,
|
||||
|
@ -357,7 +357,7 @@ typedef enum UProperty {
|
|||
to find the boundary of safely normalizable text despite possible
|
||||
text additions.
|
||||
@see UCHAR_NFD_INERT
|
||||
@draft ICU 3.0 */
|
||||
@stable ICU 3.0 */
|
||||
UCHAR_NFC_INERT,
|
||||
/** Binary property NFKC_Inert.
|
||||
ICU-specific property for characters that are inert under NFKC,
|
||||
|
@ -366,7 +366,7 @@ typedef enum UProperty {
|
|||
to find the boundary of safely normalizable text despite possible
|
||||
text additions.
|
||||
@see UCHAR_NFD_INERT
|
||||
@draft ICU 3.0 */
|
||||
@stable ICU 3.0 */
|
||||
UCHAR_NFKC_INERT,
|
||||
/** Binary Property Segment_Starter.
|
||||
ICU-specific property for characters that are starters in terms of
|
||||
|
@ -377,7 +377,7 @@ typedef enum UProperty {
|
|||
ICU uses this property for segmenting a string for generating a set of
|
||||
canonically equivalent strings, e.g. for canonical closure while
|
||||
processing collation tailoring rules.
|
||||
@draft ICU 3.0 */
|
||||
@stable ICU 3.0 */
|
||||
UCHAR_SEGMENT_STARTER,
|
||||
/** Binary property Pattern_Syntax (new in Unicode 4.1).
|
||||
See UAX #31 Identifier and Pattern Syntax
|
||||
|
@ -457,30 +457,30 @@ typedef enum UProperty {
|
|||
Returns UHangulSyllableType values. @stable ICU 2.6 */
|
||||
UCHAR_HANGUL_SYLLABLE_TYPE,
|
||||
/** Enumerated property NFD_Quick_Check.
|
||||
Returns UNormalizationCheckResult values. @draft ICU 3.0 */
|
||||
Returns UNormalizationCheckResult values. @stable ICU 3.0 */
|
||||
UCHAR_NFD_QUICK_CHECK,
|
||||
/** Enumerated property NFKD_Quick_Check.
|
||||
Returns UNormalizationCheckResult values. @draft ICU 3.0 */
|
||||
Returns UNormalizationCheckResult values. @stable ICU 3.0 */
|
||||
UCHAR_NFKD_QUICK_CHECK,
|
||||
/** Enumerated property NFC_Quick_Check.
|
||||
Returns UNormalizationCheckResult values. @draft ICU 3.0 */
|
||||
Returns UNormalizationCheckResult values. @stable ICU 3.0 */
|
||||
UCHAR_NFC_QUICK_CHECK,
|
||||
/** Enumerated property NFKC_Quick_Check.
|
||||
Returns UNormalizationCheckResult values. @draft ICU 3.0 */
|
||||
Returns UNormalizationCheckResult values. @stable ICU 3.0 */
|
||||
UCHAR_NFKC_QUICK_CHECK,
|
||||
/** Enumerated property Lead_Canonical_Combining_Class.
|
||||
ICU-specific property for the ccc of the first code point
|
||||
of the decomposition, or lccc(c)=ccc(NFD(c)[0]).
|
||||
Useful for checking for canonically ordered text;
|
||||
see UNORM_FCD and http://www.unicode.org/notes/tn5/#FCD .
|
||||
Returns 8-bit numeric values like UCHAR_CANONICAL_COMBINING_CLASS. @draft ICU 3.0 */
|
||||
Returns 8-bit numeric values like UCHAR_CANONICAL_COMBINING_CLASS. @stable ICU 3.0 */
|
||||
UCHAR_LEAD_CANONICAL_COMBINING_CLASS,
|
||||
/** Enumerated property Trail_Canonical_Combining_Class.
|
||||
ICU-specific property for the ccc of the last code point
|
||||
of the decomposition, or tccc(c)=ccc(NFD(c)[last]).
|
||||
Useful for checking for canonically ordered text;
|
||||
see UNORM_FCD and http://www.unicode.org/notes/tn5/#FCD .
|
||||
Returns 8-bit numeric values like UCHAR_CANONICAL_COMBINING_CLASS. @draft ICU 3.0 */
|
||||
Returns 8-bit numeric values like UCHAR_CANONICAL_COMBINING_CLASS. @stable ICU 3.0 */
|
||||
UCHAR_TRAIL_CANONICAL_COMBINING_CLASS,
|
||||
/** Enumerated property Grapheme_Cluster_Break (new in Unicode 4.1).
|
||||
Used in UAX #29: Text Boundaries
|
||||
|
@ -1128,7 +1128,7 @@ enum UBlockCode {
|
|||
* @stable ICU 2.2
|
||||
*/
|
||||
UBLOCK_CYRILLIC_SUPPLEMENTARY = 97,
|
||||
/** @draft ICU 3.0 */
|
||||
/** @stable ICU 3.0 */
|
||||
UBLOCK_CYRILLIC_SUPPLEMENT = UBLOCK_CYRILLIC_SUPPLEMENTARY, /*[0500]*/
|
||||
/** @stable ICU 2.2 */
|
||||
UBLOCK_TAGALOG = 98, /*[1700]*/
|
||||
|
|
|
@ -673,8 +673,6 @@ ucnv_resetFromUnicode(UConverter *converter);
|
|||
U_STABLE int8_t U_EXPORT2
|
||||
ucnv_getMaxCharSize(const UConverter *converter);
|
||||
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
|
||||
/**
|
||||
* Calculates the size of a buffer for conversion from Unicode to a charset.
|
||||
* The calculated size is guaranteed to be sufficient for this conversion.
|
||||
|
@ -697,8 +695,6 @@ ucnv_getMaxCharSize(const UConverter *converter);
|
|||
#define UCNV_GET_MAX_BYTES_FOR_STRING(length, maxCharSize) \
|
||||
(((int32_t)(length)+10)*(int32_t)(maxCharSize))
|
||||
|
||||
#endif /*U_HIDE_DRAFT_API*/
|
||||
|
||||
/**
|
||||
* Returns the minimum byte length for characters in this codepage.
|
||||
* This is usually either 1 or 2.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 2002-2005, International Business Machines
|
||||
* Copyright (C) 2002-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
* file name: uconfig.h
|
||||
|
@ -85,7 +85,7 @@
|
|||
* ICU will not completely build with this switch turned on.
|
||||
* This switch turns off all converters.
|
||||
*
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#ifndef UCONFIG_NO_CONVERSION
|
||||
# define UCONFIG_NO_CONVERSION 0
|
||||
|
@ -199,7 +199,7 @@
|
|||
* \def UCONFIG_NO_SERVICE
|
||||
* This switch turns off service registration.
|
||||
*
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#ifndef UCONFIG_NO_SERVICE
|
||||
# define UCONFIG_NO_SERVICE 0
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2003-2005, International Business Machines
|
||||
* Copyright (C) 2003-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
*******************************************************************************
|
||||
|
@ -49,8 +49,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
|
||||
/**
|
||||
* Option to prohibit processing of unassigned codepoints in the input and
|
||||
* do not check if the input conforms to STD-3 ASCII rules.
|
||||
|
@ -74,8 +72,6 @@
|
|||
*/
|
||||
#define UIDNA_USE_STD3_RULES 0x0002
|
||||
|
||||
#endif /*U_HIDE_DRAFT_API*/
|
||||
|
||||
/**
|
||||
* This function implements the ToASCII operation as defined in the IDNA RFC.
|
||||
* This operation is done on <b>single labels</b> before sending it to something that expects
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1997-2005, International Business Machines
|
||||
* Copyright (C) 1997-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*
|
||||
|
@ -420,7 +420,7 @@ uloc_getScript(const char* localeID,
|
|||
* than countryCapacity, the returned country code will be truncated.
|
||||
* @stable ICU 2.0
|
||||
*/
|
||||
U_DRAFT int32_t U_EXPORT2
|
||||
U_STABLE int32_t U_EXPORT2
|
||||
uloc_getCountry(const char* localeID,
|
||||
char* country,
|
||||
int32_t countryCapacity,
|
||||
|
@ -852,9 +852,9 @@ uloc_getKeywordValue(const char* localeID,
|
|||
* @param status containing error code - buffer not big enough.
|
||||
* @return the length needed for the buffer
|
||||
* @see uloc_getKeywordValue
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT int32_t U_EXPORT2
|
||||
U_STABLE int32_t U_EXPORT2
|
||||
uloc_setKeywordValue(const char* keywordName,
|
||||
const char* keywordValue,
|
||||
char* buffer, int32_t bufferCapacity,
|
||||
|
@ -864,7 +864,7 @@ uloc_setKeywordValue(const char* keywordName,
|
|||
* enums for the 'outResult' parameter return value
|
||||
* @see uloc_acceptLanguageFromHTTP
|
||||
* @see uloc_acceptLanguage
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
typedef enum {
|
||||
ULOC_ACCEPT_FAILED = 0, /* No exact match was found. */
|
||||
|
@ -885,9 +885,9 @@ typedef enum {
|
|||
* @param availableLocales - list of available locales to match
|
||||
* @param status Error status, may be BUFFER_OVERFLOW_ERROR
|
||||
* @return length needed for the locale.
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT int32_t U_EXPORT2
|
||||
U_STABLE int32_t U_EXPORT2
|
||||
uloc_acceptLanguageFromHTTP(char *result, int32_t resultAvailable,
|
||||
UAcceptResult *outResult,
|
||||
const char *httpAcceptLanguage,
|
||||
|
@ -905,9 +905,9 @@ uloc_acceptLanguageFromHTTP(char *result, int32_t resultAvailable,
|
|||
* @param availableLocales - list of available locales to match
|
||||
* @param status Error status, may be BUFFER_OVERFLOW_ERROR
|
||||
* @return length needed for the locale.
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT int32_t U_EXPORT2
|
||||
U_STABLE int32_t U_EXPORT2
|
||||
uloc_acceptLanguage(char *result, int32_t resultAvailable,
|
||||
UAcceptResult *outResult, const char **acceptList,
|
||||
int32_t acceptListCount,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (C) 1999-2005, International Business Machines Corporation and others.
|
||||
**********************************************************************
|
||||
* Copyright (C) 1999-2006, International Business Machines Corporation and others.
|
||||
* All Rights Reserved.
|
||||
**********************************************************************
|
||||
* Date Name Description
|
||||
|
@ -25,7 +26,7 @@ U_NAMESPACE_BEGIN
|
|||
* characters outside the range contextStart..contextLimit-1. This
|
||||
* allows explicit matching by rules and UnicodeSets of text outside a
|
||||
* defined range.
|
||||
* @draft ICU 3.0
|
||||
* @stable ICU 3.0
|
||||
*/
|
||||
#define U_ETHER ((UChar)0xFFFF)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1998-2005, International Business Machines
|
||||
* Copyright (C) 1998-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*
|
||||
|
@ -63,7 +63,7 @@ class BreakIterator; // unicode/brkiter.h
|
|||
* therefore recommended over ones taking a charset name string
|
||||
* (where the empty string "" indicates invariant-character conversion).
|
||||
*
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
#define US_INV UnicodeString::kInvariant
|
||||
|
||||
|
@ -192,12 +192,12 @@ public:
|
|||
* Use the macro US_INV instead of the full qualification for this value.
|
||||
*
|
||||
* @see US_INV
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
enum EInvariant {
|
||||
/**
|
||||
* @see EInvariant
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
kInvariant
|
||||
};
|
||||
|
@ -1438,7 +1438,7 @@ public:
|
|||
* @param targetCapacity the length of the target buffer
|
||||
* @param inv Signature-distinguishing paramater, use US_INV.
|
||||
* @return the output string length, not including the terminating NUL
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
int32_t extract(int32_t start,
|
||||
int32_t startLength,
|
||||
|
@ -2817,7 +2817,7 @@ public:
|
|||
* @param inv Signature-distinguishing paramater, use US_INV.
|
||||
*
|
||||
* @see US_INV
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
UnicodeString(const char *src, int32_t length, enum EInvariant inv);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1997-2005, International Business Machines
|
||||
* Copyright (C) 1997-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*
|
||||
|
@ -299,9 +299,9 @@ ures_getLocale(const UResourceBundle* resourceBundle,
|
|||
* ULocDataLocaleType in uloc.h
|
||||
* @param status just for catching illegal arguments
|
||||
* @return A Locale name
|
||||
* @draft ICU 2.8 likely to change in the future
|
||||
* @stable ICU 2.8
|
||||
*/
|
||||
U_DRAFT const char* U_EXPORT2
|
||||
U_STABLE const char* U_EXPORT2
|
||||
ures_getLocaleByType(const UResourceBundle* resourceBundle,
|
||||
ULocDataLocaleType type,
|
||||
UErrorCode* status);
|
||||
|
@ -692,9 +692,9 @@ U_NAMESPACE_END
|
|||
* @param packageName name of the tree, such as (NULL) or U_ICUDATA_ALIAS or or "ICUDATA-coll"
|
||||
* This call is similar to uloc_getAvailable().
|
||||
* @param status error code
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT UEnumeration* U_EXPORT2
|
||||
U_STABLE UEnumeration* U_EXPORT2
|
||||
ures_openAvailableLocales(const char *packageName, UErrorCode *status);
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1997-2005, International Business Machines
|
||||
* Copyright (C) 1997-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*
|
||||
|
@ -88,7 +88,7 @@ typedef enum UScriptCode {
|
|||
USCRIPT_TAI_LE, /* Tale */
|
||||
USCRIPT_UGARITIC, /* Ugar */
|
||||
|
||||
/** New script code in Unicode 4.0.1 @draft ICU 3.0 */
|
||||
/** New script code in Unicode 4.0.1 @stable ICU 3.0 */
|
||||
USCRIPT_KATAKANA_OR_HIRAGANA,/*Hrkt */
|
||||
|
||||
/* New scripts in Unicode 4.1 @draft ICU 3.4 */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2002-2005, International Business Machines
|
||||
* Copyright (C) 2002-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
*******************************************************************************
|
||||
|
@ -93,7 +93,7 @@ enum {
|
|||
* match all except 'a', 'A', 'b', and 'B'. This adds the lower-,
|
||||
* title-, and uppercase mappings as well as the case folding
|
||||
* of each existing element in the set.
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
USET_ADD_CASE_MAPPINGS = 4,
|
||||
|
||||
|
@ -192,9 +192,9 @@ uset_close(USet* set);
|
|||
* @param set the object to set to the given range
|
||||
* @param start first character in the set, inclusive
|
||||
* @param end last character in the set, inclusive
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
U_STABLE void U_EXPORT2
|
||||
uset_set(USet* set,
|
||||
UChar32 start, UChar32 end);
|
||||
|
||||
|
@ -243,9 +243,9 @@ uset_applyPattern(USet *set,
|
|||
*
|
||||
* @param ec error code input/output parameter
|
||||
*
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
U_STABLE void U_EXPORT2
|
||||
uset_applyIntPropertyValue(USet* set,
|
||||
UProperty prop, int32_t value, UErrorCode* ec);
|
||||
|
||||
|
@ -281,9 +281,9 @@ uset_applyIntPropertyValue(USet* set,
|
|||
*
|
||||
* @param ec error code input/output parameter
|
||||
*
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
U_STABLE void U_EXPORT2
|
||||
uset_applyPropertyAlias(USet* set,
|
||||
const UChar *prop, int32_t propLength,
|
||||
const UChar *value, int32_t valueLength,
|
||||
|
@ -296,9 +296,9 @@ uset_applyPropertyAlias(USet* set,
|
|||
* @param pattern a string specifying the pattern
|
||||
* @param patternLength the length of the pattern, or -1 if NULL
|
||||
* @param pos the given position
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT UBool U_EXPORT2
|
||||
U_STABLE UBool U_EXPORT2
|
||||
uset_resemblesPattern(const UChar *pattern, int32_t patternLength,
|
||||
int32_t pos);
|
||||
|
||||
|
@ -420,9 +420,9 @@ uset_removeString(USet* set, const UChar* str, int32_t strLen);
|
|||
* @param set the object from which the elements are to be removed
|
||||
* @param removeSet the object that defines which elements will be
|
||||
* removed from this set
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
U_STABLE void U_EXPORT2
|
||||
uset_removeAll(USet* set, const USet* removeSet);
|
||||
|
||||
/**
|
||||
|
@ -436,9 +436,9 @@ uset_removeAll(USet* set, const USet* removeSet);
|
|||
* to this set.
|
||||
* @param end last character, inclusive, of range to be retained
|
||||
* to this set.
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
U_STABLE void U_EXPORT2
|
||||
uset_retain(USet* set, UChar32 start, UChar32 end);
|
||||
|
||||
/**
|
||||
|
@ -450,9 +450,9 @@ uset_retain(USet* set, UChar32 start, UChar32 end);
|
|||
*
|
||||
* @param set the object on which to perform the retain
|
||||
* @param retain set that defines which elements this set will retain
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
U_STABLE void U_EXPORT2
|
||||
uset_retainAll(USet* set, const USet* retain);
|
||||
|
||||
/**
|
||||
|
@ -460,9 +460,9 @@ uset_retainAll(USet* set, const USet* retain);
|
|||
* possible space, without changing this object's value.
|
||||
*
|
||||
* @param set the object on which to perfrom the compact
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
U_STABLE void U_EXPORT2
|
||||
uset_compact(USet* set);
|
||||
|
||||
/**
|
||||
|
@ -483,9 +483,9 @@ uset_complement(USet* set);
|
|||
* @param set the set with which to complement
|
||||
* @param complement set that defines which elements will be xor'ed
|
||||
* from this set.
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT void U_EXPORT2
|
||||
U_STABLE void U_EXPORT2
|
||||
uset_complementAll(USet* set, const USet* complement);
|
||||
|
||||
/**
|
||||
|
@ -548,9 +548,9 @@ uset_containsString(const USet* set, const UChar* str, int32_t strLen);
|
|||
* @param set the set
|
||||
* @param c the character to obtain the index for
|
||||
* @return an index from 0..size()-1, or -1
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT int32_t U_EXPORT2
|
||||
U_STABLE int32_t U_EXPORT2
|
||||
uset_indexOf(const USet* set, UChar32 c);
|
||||
|
||||
/**
|
||||
|
@ -561,9 +561,9 @@ uset_indexOf(const USet* set, UChar32 c);
|
|||
* @param set the set
|
||||
* @param index an index from 0..size()-1 to obtain the char for
|
||||
* @return the character at the given index, or (UChar32)-1.
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT UChar32 U_EXPORT2
|
||||
U_STABLE UChar32 U_EXPORT2
|
||||
uset_charAt(const USet* set, int32_t index);
|
||||
|
||||
/**
|
||||
|
@ -618,9 +618,9 @@ uset_getItem(const USet* set, int32_t itemIndex,
|
|||
* @param set1 set to be checked for containment
|
||||
* @param set2 set to be checked for containment
|
||||
* @return true if the test condition is met
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT UBool U_EXPORT2
|
||||
U_STABLE UBool U_EXPORT2
|
||||
uset_containsAll(const USet* set1, const USet* set2);
|
||||
|
||||
/**
|
||||
|
@ -642,9 +642,9 @@ uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
|
|||
* @param set1 set to be checked for containment
|
||||
* @param set2 set to be checked for containment
|
||||
* @return true if the test condition is met
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT UBool U_EXPORT2
|
||||
U_STABLE UBool U_EXPORT2
|
||||
uset_containsNone(const USet* set1, const USet* set2);
|
||||
|
||||
/**
|
||||
|
@ -653,9 +653,9 @@ uset_containsNone(const USet* set1, const USet* set2);
|
|||
* @param set1 set to be checked for containment
|
||||
* @param set2 set to be checked for containment
|
||||
* @return true if the test condition is met
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT UBool U_EXPORT2
|
||||
U_STABLE UBool U_EXPORT2
|
||||
uset_containsSome(const USet* set1, const USet* set2);
|
||||
|
||||
/**
|
||||
|
@ -664,9 +664,9 @@ uset_containsSome(const USet* set1, const USet* set2);
|
|||
* @param set1 set to be checked for containment
|
||||
* @param set2 set to be checked for containment
|
||||
* @return true if the test condition is met
|
||||
* @draft ICU 3.2
|
||||
* @stable ICU 3.2
|
||||
*/
|
||||
U_DRAFT UBool U_EXPORT2
|
||||
U_STABLE UBool U_EXPORT2
|
||||
uset_equals(const USet* set1, const USet* set2);
|
||||
|
||||
/*********************************************************************
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2003-2005, International Business Machines
|
||||
* Copyright (C) 2003-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
*******************************************************************************
|
||||
|
@ -59,8 +59,6 @@
|
|||
|
||||
#include "unicode/parseerr.h"
|
||||
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
|
||||
/**
|
||||
* The StringPrep profile
|
||||
* @stable ICU 2.8
|
||||
|
@ -85,8 +83,6 @@ typedef struct UStringPrepProfile UStringPrepProfile;
|
|||
#define USPREP_ALLOW_UNASSIGNED 0x0001
|
||||
|
||||
|
||||
#endif /*U_HIDE_DRAFT_API*/
|
||||
|
||||
/**
|
||||
* Creates a StringPrep profile from the data file.
|
||||
*
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
*
|
||||
* Copyright (C) 1999-2005, International Business Machines
|
||||
* Copyright (C) 1999-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
*******************************************************************************
|
||||
|
@ -157,8 +157,6 @@
|
|||
(uint32_t)(c)<=0x10ffff && \
|
||||
!U_IS_UNICODE_NONCHAR(c)))
|
||||
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
|
||||
/**
|
||||
* Is this code point a BMP code point (U+0000..U+ffff)?
|
||||
* @param c 32-bit code point
|
||||
|
@ -174,8 +172,6 @@
|
|||
* @stable ICU 2.8
|
||||
*/
|
||||
#define U_IS_SUPPLEMENTARY(c) ((uint32_t)((c)-0x10000)<=0xfffff)
|
||||
|
||||
#endif /*U_HIDE_DRAFT_API*/
|
||||
|
||||
/**
|
||||
* Is this code point a lead surrogate (U+d800..U+dbff)?
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2003-2005, International Business Machines
|
||||
* Copyright (C) 2003-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
*******************************************************************************
|
||||
|
@ -30,8 +30,6 @@
|
|||
|
||||
U_CDECL_BEGIN
|
||||
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
|
||||
/**
|
||||
* Trace severity levels. Higher levels increase the verbosity of the trace output.
|
||||
* @see utrace_setLevel
|
||||
|
@ -85,8 +83,6 @@ typedef enum UTraceFunctionNumber {
|
|||
UTRACE_COLLATION_LIMIT
|
||||
} UTraceFunctionNumber;
|
||||
|
||||
#endif /*U_HIDE_DRAFT_API*/
|
||||
|
||||
/**
|
||||
* Setter for the trace level.
|
||||
* @param traceLevel A UTraceLevel value.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1996-2005, International Business Machines
|
||||
* Copyright (C) 1996-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*
|
||||
|
@ -322,7 +322,7 @@ typedef void* UClassID;
|
|||
* \def U_DATA_API
|
||||
* Set to export library symbols from inside the stubdata library,
|
||||
* and to import them from outside.
|
||||
* @draft ICU 3.0
|
||||
* @stable ICU 3.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue