errorcode.h   errorcode.h 
skipping to change at line 65 skipping to change at line 65
* *
* Sample code: * Sample code:
* \code * \code
* class IcuErrorCode: public icu::ErrorCode { * class IcuErrorCode: public icu::ErrorCode {
* public: * public:
* virtual ~IcuErrorCode() { * virtual ~IcuErrorCode() {
* // Safe because our handleFailure() does not throw exceptions. * // Safe because our handleFailure() does not throw exceptions.
* if(isFailure()) { handleFailure(); } * if(isFailure()) { handleFailure(); }
* } * }
* protected: * protected:
* virtual handleFailure() { * virtual void handleFailure() const {
* log_failure(u_errorName(errorCode)); * log_failure(u_errorName(errorCode));
* exit(errorCode); * exit(errorCode);
* } * }
* }; * };
* IcuErrorCode error_code; * IcuErrorCode error_code;
* UConverter *cnv = ucnv_open("Shift-JIS", error_code); * UConverter *cnv = ucnv_open("Shift-JIS", error_code);
* length = ucnv_fromUChars(dest, capacity, src, length, error_code); * length = ucnv_fromUChars(dest, capacity, src, length, error_code);
* ucnv_close(cnv); * ucnv_close(cnv);
* // IcuErrorCode destructor checks for success. * // IcuErrorCode destructor checks for success.
* \endcode * \endcode
skipping to change at line 112 skipping to change at line 112
/** /**
* Asserts isSuccess(). * Asserts isSuccess().
* In other words, this method checks for a failure code, * In other words, this method checks for a failure code,
* and the base class handles it like this: * and the base class handles it like this:
* \code * \code
* if(isFailure()) { handleFailure(); } * if(isFailure()) { handleFailure(); }
* \endcode * \endcode
* @draft ICU 4.4 * @draft ICU 4.4
*/ */
void assertSuccess() const; void assertSuccess() const;
/**
* Return a string for the UErrorCode value.
* The string will be the same as the name of the error code constant
* in the UErrorCode enum.
* @draft ICU 4.4
*/
const char* errorName() const;
protected: protected:
/** /**
* Internal UErrorCode, accessible to subclasses. * Internal UErrorCode, accessible to subclasses.
* @draft ICU 4.2 * @draft ICU 4.2
*/ */
UErrorCode errorCode; UErrorCode errorCode;
/** /**
* Called by assertSuccess() if isFailure() is true. * Called by assertSuccess() if isFailure() is true.
* A subclass should override this function to deal with a failure code : * A subclass should override this function to deal with a failure code :
 End of changes. 2 change blocks. 
1 lines changed or deleted 8 lines changed or added


 ubidi.h   ubidi.h 
/* /*
*************************************************************************** *** *************************************************************************** ***
* *
* Copyright (C) 1999-2008, International Business Machines * Copyright (C) 1999-2009, International Business Machines
* Corporation and others. All Rights Reserved. * Corporation and others. All Rights Reserved.
* *
*************************************************************************** *** *************************************************************************** ***
* file name: ubidi.h * file name: ubidi.h
* encoding: US-ASCII * encoding: US-ASCII
* tab size: 8 (not used) * tab size: 8 (not used)
* indentation:4 * indentation:4
* *
* created on: 1999jul27 * created on: 1999jul27
* created by: Markus W. Scherer, updated by Matitiahu Allouche * created by: Markus W. Scherer, updated by Matitiahu Allouche
*/ */
#ifndef UBIDI_H #ifndef UBIDI_H
#define UBIDI_H #define UBIDI_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/uchar.h" #include "unicode/uchar.h"
#include "unicode/localpointer.h"
/** /**
*\file *\file
* \brief C API: Bidi algorithm * \brief C API: Bidi algorithm
* *
* <h2>Bidi algorithm for ICU</h2> * <h2>Bidi algorithm for ICU</h2>
* *
* This is an implementation of the Unicode Bidirectional algorithm. * This is an implementation of the Unicode Bidirectional algorithm.
* The algorithm is defined in the * The algorithm is defined in the
* <a href="http://www.unicode.org/unicode/reports/tr9/">Unicode Standard A nnex #9</a>, * <a href="http://www.unicode.org/unicode/reports/tr9/">Unicode Standard A nnex #9</a>,
skipping to change at line 522 skipping to change at line 523
* *
* @param pBiDi is a <code>UBiDi</code> object. * @param pBiDi is a <code>UBiDi</code> object.
* *
* @see ubidi_setPara * @see ubidi_setPara
* @see ubidi_setLine * @see ubidi_setLine
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ubidi_close(UBiDi *pBiDi); ubidi_close(UBiDi *pBiDi);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUBiDiPointer
* "Smart pointer" class, closes a UBiDi via ubidi_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUBiDiPointer, UBiDi, ubidi_close);
U_NAMESPACE_END
#endif
/** /**
* Modify the operation of the Bidi algorithm such that it * Modify the operation of the Bidi algorithm such that it
* approximates an "inverse Bidi" algorithm. This function * approximates an "inverse Bidi" algorithm. This function
* must be called before <code>ubidi_setPara()</code>. * must be called before <code>ubidi_setPara()</code>.
* *
* <p>The normal operation of the Bidi algorithm as described * <p>The normal operation of the Bidi algorithm as described
* in the Unicode Technical Report is to take text stored in logical * in the Unicode Technical Report is to take text stored in logical
* (keyboard, typing) order and to determine the reordering of it for visua l * (keyboard, typing) order and to determine the reordering of it for visua l
* rendering. * rendering.
* Some legacy systems store text in visual order, and for operations * Some legacy systems store text in visual order, and for operations
 End of changes. 3 change blocks. 
1 lines changed or deleted 21 lines changed or added


 ubrk.h   ubrk.h 
skipping to change at line 14 skipping to change at line 14
* All Rights Reserved. * All Rights Reserved.
*************************************************************************** *** *************************************************************************** ***
*/ */
#ifndef UBRK_H #ifndef UBRK_H
#define UBRK_H #define UBRK_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/uloc.h" #include "unicode/uloc.h"
#include "unicode/utext.h" #include "unicode/utext.h"
#include "unicode/localpointer.h"
/** /**
* A text-break iterator. * A text-break iterator.
* For usage in C programs. * For usage in C programs.
*/ */
#ifndef UBRK_TYPEDEF_UBREAK_ITERATOR #ifndef UBRK_TYPEDEF_UBREAK_ITERATOR
# define UBRK_TYPEDEF_UBREAK_ITERATOR # define UBRK_TYPEDEF_UBREAK_ITERATOR
/** /**
* Opaque type representing an ICU Break iterator object. * Opaque type representing an ICU Break iterator object.
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
typedef void UBreakIterator; typedef struct UBreakIterator UBreakIterator;
#endif #endif
#if !UCONFIG_NO_BREAK_ITERATION #if !UCONFIG_NO_BREAK_ITERATION
#include "unicode/parseerr.h" #include "unicode/parseerr.h"
/** /**
* \file * \file
* \brief C API: BreakIterator * \brief C API: BreakIterator
* *
skipping to change at line 276 skipping to change at line 277
/** /**
* Close a UBreakIterator. * Close a UBreakIterator.
* Once closed, a UBreakIterator may no longer be used. * Once closed, a UBreakIterator may no longer be used.
* @param bi The break iterator to close. * @param bi The break iterator to close.
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ubrk_close(UBreakIterator *bi); ubrk_close(UBreakIterator *bi);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUBreakIteratorPointer
* "Smart pointer" class, closes a UBreakIterator via ubrk_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUBreakIteratorPointer, UBreakIterator, ubr
k_close);
U_NAMESPACE_END
#endif
/** /**
* Sets an existing iterator to point to a new piece of text * Sets an existing iterator to point to a new piece of text
* @param bi The iterator to use * @param bi The iterator to use
* @param text The text to be set * @param text The text to be set
* @param textLength The length of the text * @param textLength The length of the text
* @param status The error code * @param status The error code
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ubrk_setText(UBreakIterator* bi, ubrk_setText(UBreakIterator* bi,
 End of changes. 3 change blocks. 
1 lines changed or deleted 22 lines changed or added


 ucasemap.h   ucasemap.h 
skipping to change at line 24 skipping to change at line 24
* created by: Markus W. Scherer * created by: Markus W. Scherer
* *
* Case mapping service object and functions using it. * Case mapping service object and functions using it.
*/ */
#ifndef __UCASEMAP_H__ #ifndef __UCASEMAP_H__
#define __UCASEMAP_H__ #define __UCASEMAP_H__
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/ustring.h" #include "unicode/ustring.h"
#include "unicode/localpointer.h"
/** /**
* \file * \file
* \brief C API: Unicode case mapping functions using a UCaseMap service ob ject. * \brief C API: Unicode case mapping functions using a UCaseMap service ob ject.
* *
* The service object takes care of memory allocations, data loading, and s etup * The service object takes care of memory allocations, data loading, and s etup
* for the attributes, as usual. * for the attributes, as usual.
* *
* Currently, the functionality provided here does not overlap with uchar.h * Currently, the functionality provided here does not overlap with uchar.h
* and ustring.h, except for ucasemap_toTitle(). * and ustring.h, except for ucasemap_toTitle().
skipping to change at line 79 skipping to change at line 80
ucasemap_open(const char *locale, uint32_t options, UErrorCode *pErrorCode) ; ucasemap_open(const char *locale, uint32_t options, UErrorCode *pErrorCode) ;
/** /**
* Close a UCaseMap service object. * Close a UCaseMap service object.
* @param csm Object to be closed. * @param csm Object to be closed.
* @stable ICU 3.4 * @stable ICU 3.4
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ucasemap_close(UCaseMap *csm); ucasemap_close(UCaseMap *csm);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUCaseMapPointer
* "Smart pointer" class, closes a UCaseMap via ucasemap_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUCaseMapPointer, UCaseMap, ucasemap_close)
;
U_NAMESPACE_END
#endif
/** /**
* Get the locale ID that is used for language-dependent case mappings. * Get the locale ID that is used for language-dependent case mappings.
* @param csm UCaseMap service object. * @param csm UCaseMap service object.
* @return locale ID * @return locale ID
* @stable ICU 3.4 * @stable ICU 3.4
*/ */
U_STABLE const char * U_EXPORT2 U_STABLE const char * U_EXPORT2
ucasemap_getLocale(const UCaseMap *csm); ucasemap_getLocale(const UCaseMap *csm);
/** /**
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 uchar.h   uchar.h 
skipping to change at line 42 skipping to change at line 42
/*========================================================================= =*/ /*========================================================================= =*/
/** /**
* Unicode version number, default for the current ICU version. * Unicode version number, default for the current ICU version.
* The actual Unicode Character Database (UCD) data is stored in uprops.dat * The actual Unicode Character Database (UCD) data is stored in uprops.dat
* and may be generated from UCD files from a different Unicode version. * and may be generated from UCD files from a different Unicode version.
* Call u_getUnicodeVersion to get the actual Unicode version of the data. * Call u_getUnicodeVersion to get the actual Unicode version of the data.
* *
* @see u_getUnicodeVersion * @see u_getUnicodeVersion
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
#define U_UNICODE_VERSION "5.1" #define U_UNICODE_VERSION "5.2"
/** /**
* \file * \file
* \brief C API: Unicode Properties * \brief C API: Unicode Properties
* *
* This C API provides low-level access to the Unicode Character Database. * This C API provides low-level access to the Unicode Character Database.
* In addition to raw property values, some convenience functions calculate * In addition to raw property values, some convenience functions calculate
* derived properties, for example for Java-style programming. * derived properties, for example for Java-style programming.
* *
* Unicode assigns each code point (not just assigned character) values for * Unicode assigns each code point (not just assigned character) values for
skipping to change at line 417 skipping to change at line 417
/** Binary property print (a C/POSIX character class). /** Binary property print (a C/POSIX character class).
Implemented according to the UTS #18 Annex C Standard Recommendatio n. Implemented according to the UTS #18 Annex C Standard Recommendatio n.
See the uchar.h file documentation. See the uchar.h file documentation.
@stable ICU 3.4 */ @stable ICU 3.4 */
UCHAR_POSIX_PRINT=47, UCHAR_POSIX_PRINT=47,
/** Binary property xdigit (a C/POSIX character class). /** Binary property xdigit (a C/POSIX character class).
Implemented according to the UTS #18 Annex C Standard Recommendatio n. Implemented according to the UTS #18 Annex C Standard Recommendatio n.
See the uchar.h file documentation. See the uchar.h file documentation.
@stable ICU 3.4 */ @stable ICU 3.4 */
UCHAR_POSIX_XDIGIT=48, UCHAR_POSIX_XDIGIT=48,
/** Binary property Cased. For Lowercase, Uppercase and Titlecase chara
cters. @draft ICU 4.4 */
UCHAR_CASED=49,
/** Binary property Case_Ignorable. Used in context-sensitive case mapp
ings. @draft ICU 4.4 */
UCHAR_CASE_IGNORABLE=50,
/** Binary property Changes_When_Lowercased. @draft ICU 4.4 */
UCHAR_CHANGES_WHEN_LOWERCASED=51,
/** Binary property Changes_When_Uppercased. @draft ICU 4.4 */
UCHAR_CHANGES_WHEN_UPPERCASED=52,
/** Binary property Changes_When_Titlecased. @draft ICU 4.4 */
UCHAR_CHANGES_WHEN_TITLECASED=53,
/** Binary property Changes_When_Casefolded. @draft ICU 4.4 */
UCHAR_CHANGES_WHEN_CASEFOLDED=54,
/** Binary property Changes_When_Casemapped. @draft ICU 4.4 */
UCHAR_CHANGES_WHEN_CASEMAPPED=55,
/** One more than the last constant for binary Unicode properties. @sta ble ICU 2.1 */ /** One more than the last constant for binary Unicode properties. @sta ble ICU 2.1 */
UCHAR_BINARY_LIMIT=49, UCHAR_BINARY_LIMIT=56,
/** Enumerated property Bidi_Class. /** Enumerated property Bidi_Class.
Same as u_charDirection, returns UCharDirection values. @stable ICU 2.2 */ Same as u_charDirection, returns UCharDirection values. @stable ICU 2.2 */
UCHAR_BIDI_CLASS=0x1000, UCHAR_BIDI_CLASS=0x1000,
/** First constant for enumerated/integer Unicode properties. @stable I CU 2.2 */ /** First constant for enumerated/integer Unicode properties. @stable I CU 2.2 */
UCHAR_INT_START=UCHAR_BIDI_CLASS, UCHAR_INT_START=UCHAR_BIDI_CLASS,
/** Enumerated property Block. /** Enumerated property Block.
Same as ublock_getCode, returns UBlockCode values. @stable ICU 2.2 */ Same as ublock_getCode, returns UBlockCode values. @stable ICU 2.2 */
UCHAR_BLOCK=0x1001, UCHAR_BLOCK=0x1001,
/** Enumerated property Canonical_Combining_Class. /** Enumerated property Canonical_Combining_Class.
skipping to change at line 1293 skipping to change at line 1307
UBLOCK_LYCIAN = 167, /*[10280]*/ UBLOCK_LYCIAN = 167, /*[10280]*/
/** @stable ICU 4.0 */ /** @stable ICU 4.0 */
UBLOCK_CARIAN = 168, /*[102A0]*/ UBLOCK_CARIAN = 168, /*[102A0]*/
/** @stable ICU 4.0 */ /** @stable ICU 4.0 */
UBLOCK_LYDIAN = 169, /*[10920]*/ UBLOCK_LYDIAN = 169, /*[10920]*/
/** @stable ICU 4.0 */ /** @stable ICU 4.0 */
UBLOCK_MAHJONG_TILES = 170, /*[1F000]*/ UBLOCK_MAHJONG_TILES = 170, /*[1F000]*/
/** @stable ICU 4.0 */ /** @stable ICU 4.0 */
UBLOCK_DOMINO_TILES = 171, /*[1F030]*/ UBLOCK_DOMINO_TILES = 171, /*[1F030]*/
/* New blocks in Unicode 5.2 */
/** @draft ICU 4.4 */
UBLOCK_SAMARITAN = 172, /*[0800]*/
/** @draft ICU 4.4 */
UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED = 173, /*[18B0]*/
/** @draft ICU 4.4 */
UBLOCK_TAI_THAM = 174, /*[1A20]*/
/** @draft ICU 4.4 */
UBLOCK_VEDIC_EXTENSIONS = 175, /*[1CD0]*/
/** @draft ICU 4.4 */
UBLOCK_LISU = 176, /*[A4D0]*/
/** @draft ICU 4.4 */
UBLOCK_BAMUM = 177, /*[A6A0]*/
/** @draft ICU 4.4 */
UBLOCK_COMMON_INDIC_NUMBER_FORMS = 178, /*[A830]*/
/** @draft ICU 4.4 */
UBLOCK_DEVANAGARI_EXTENDED = 179, /*[A8E0]*/
/** @draft ICU 4.4 */
UBLOCK_HANGUL_JAMO_EXTENDED_A = 180, /*[A960]*/
/** @draft ICU 4.4 */
UBLOCK_JAVANESE = 181, /*[A980]*/
/** @draft ICU 4.4 */
UBLOCK_MYANMAR_EXTENDED_A = 182, /*[AA60]*/
/** @draft ICU 4.4 */
UBLOCK_TAI_VIET = 183, /*[AA80]*/
/** @draft ICU 4.4 */
UBLOCK_MEETEI_MAYEK = 184, /*[ABC0]*/
/** @draft ICU 4.4 */
UBLOCK_HANGUL_JAMO_EXTENDED_B = 185, /*[D7B0]*/
/** @draft ICU 4.4 */
UBLOCK_IMPERIAL_ARAMAIC = 186, /*[10840]*/
/** @draft ICU 4.4 */
UBLOCK_OLD_SOUTH_ARABIAN = 187, /*[10A60]*/
/** @draft ICU 4.4 */
UBLOCK_AVESTAN = 188, /*[10B00]*/
/** @draft ICU 4.4 */
UBLOCK_INSCRIPTIONAL_PARTHIAN = 189, /*[10B40]*/
/** @draft ICU 4.4 */
UBLOCK_INSCRIPTIONAL_PAHLAVI = 190, /*[10B60]*/
/** @draft ICU 4.4 */
UBLOCK_OLD_TURKIC = 191, /*[10C00]*/
/** @draft ICU 4.4 */
UBLOCK_RUMI_NUMERAL_SYMBOLS = 192, /*[10E60]*/
/** @draft ICU 4.4 */
UBLOCK_KAITHI = 193, /*[11080]*/
/** @draft ICU 4.4 */
UBLOCK_EGYPTIAN_HIEROGLYPHS = 194, /*[13000]*/
/** @draft ICU 4.4 */
UBLOCK_ENCLOSED_ALPHANUMERIC_SUPPLEMENT = 195, /*[1F100]*/
/** @draft ICU 4.4 */
UBLOCK_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT = 196, /*[1F200]*/
/** @draft ICU 4.4 */
UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C = 197, /*[2A700]*/
/** @stable ICU 2.0 */ /** @stable ICU 2.0 */
UBLOCK_COUNT = 172, UBLOCK_COUNT = 198,
/** @stable ICU 2.0 */ /** @stable ICU 2.0 */
UBLOCK_INVALID_CODE=-1 UBLOCK_INVALID_CODE=-1
}; };
/** @stable ICU 2.0 */ /** @stable ICU 2.0 */
typedef enum UBlockCode UBlockCode; typedef enum UBlockCode UBlockCode;
/** /**
* East Asian Width constants. * East Asian Width constants.
skipping to change at line 1339 skipping to change at line 1408
* with ISO-10646; or an "extended" name that gives each * with ISO-10646; or an "extended" name that gives each
* Unicode code point a unique name. * Unicode code point a unique name.
* *
* @see u_charName * @see u_charName
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
typedef enum UCharNameChoice { typedef enum UCharNameChoice {
U_UNICODE_CHAR_NAME, U_UNICODE_CHAR_NAME,
U_UNICODE_10_CHAR_NAME, U_UNICODE_10_CHAR_NAME,
U_EXTENDED_CHAR_NAME, U_EXTENDED_CHAR_NAME,
U_CHAR_NAME_ALIAS, /**< Corrected name from NameAliases.txt. @ draft ICU 4.4 */
U_CHAR_NAME_CHOICE_COUNT U_CHAR_NAME_CHOICE_COUNT
} UCharNameChoice; } UCharNameChoice;
/** /**
* Selector constants for u_getPropertyName() and * Selector constants for u_getPropertyName() and
* u_getPropertyValueName(). These selectors are used to choose which * u_getPropertyValueName(). These selectors are used to choose which
* name is returned for a given property or value. All properties and * name is returned for a given property or value. All properties and
* values have a long name. Most have a short name, but some do not. * values have a long name. Most have a short name, but some do not.
* Unicode allows for additional names, beyond the long and short * Unicode allows for additional names, beyond the long and short
* name, which would be indicated by U_LONG_PROPERTY_NAME + i, where * name, which would be indicated by U_LONG_PROPERTY_NAME + i, where
skipping to change at line 1467 skipping to change at line 1537
U_JG_YEH, U_JG_YEH,
U_JG_YEH_BARREE, U_JG_YEH_BARREE,
U_JG_YEH_WITH_TAIL, U_JG_YEH_WITH_TAIL,
U_JG_YUDH, U_JG_YUDH,
U_JG_YUDH_HE, U_JG_YUDH_HE,
U_JG_ZAIN, U_JG_ZAIN,
U_JG_FE, /**< @stable ICU 2.6 */ U_JG_FE, /**< @stable ICU 2.6 */
U_JG_KHAPH, /**< @stable ICU 2.6 */ U_JG_KHAPH, /**< @stable ICU 2.6 */
U_JG_ZHAIN, /**< @stable ICU 2.6 */ U_JG_ZHAIN, /**< @stable ICU 2.6 */
U_JG_BURUSHASKI_YEH_BARREE, /**< @stable ICU 4.0 */ U_JG_BURUSHASKI_YEH_BARREE, /**< @stable ICU 4.0 */
U_JG_FARSI_YEH, /**< @draft ICU 4.4 */
U_JG_NYA, /**< @draft ICU 4.4 */
U_JG_COUNT U_JG_COUNT
} UJoiningGroup; } UJoiningGroup;
/** /**
* Grapheme Cluster Break constants. * Grapheme Cluster Break constants.
* *
* @see UCHAR_GRAPHEME_CLUSTER_BREAK * @see UCHAR_GRAPHEME_CLUSTER_BREAK
* @stable ICU 3.4 * @stable ICU 3.4
*/ */
typedef enum UGraphemeClusterBreak { typedef enum UGraphemeClusterBreak {
skipping to change at line 1586 skipping to change at line 1658
U_LB_SPACE = 26, /*[SP]*/ U_LB_SPACE = 26, /*[SP]*/
U_LB_BREAK_SYMBOLS = 27, /*[SY]*/ U_LB_BREAK_SYMBOLS = 27, /*[SY]*/
U_LB_ZWSPACE = 28, /*[ZW]*/ U_LB_ZWSPACE = 28, /*[ZW]*/
U_LB_NEXT_LINE = 29, /*[NL]*/ /* from here on: new in Unicode 4 /ICU 2.6 */ U_LB_NEXT_LINE = 29, /*[NL]*/ /* from here on: new in Unicode 4 /ICU 2.6 */
U_LB_WORD_JOINER = 30, /*[WJ]*/ U_LB_WORD_JOINER = 30, /*[WJ]*/
U_LB_H2 = 31, /*[H2]*/ /* from here on: new in Unicode 4 .1/ICU 3.4 */ U_LB_H2 = 31, /*[H2]*/ /* from here on: new in Unicode 4 .1/ICU 3.4 */
U_LB_H3 = 32, /*[H3]*/ U_LB_H3 = 32, /*[H3]*/
U_LB_JL = 33, /*[JL]*/ U_LB_JL = 33, /*[JL]*/
U_LB_JT = 34, /*[JT]*/ U_LB_JT = 34, /*[JT]*/
U_LB_JV = 35, /*[JV]*/ U_LB_JV = 35, /*[JV]*/
U_LB_COUNT = 36 U_LB_CLOSE_PARENTHESIS = 36, /*[CP]*/ /* new in Unicode 5.2/ICU 4.4 */
U_LB_COUNT = 37
} ULineBreak; } ULineBreak;
/** /**
* Numeric Type constants. * Numeric Type constants.
* *
* @see UCHAR_NUMERIC_TYPE * @see UCHAR_NUMERIC_TYPE
* @stable ICU 2.2 * @stable ICU 2.2
*/ */
typedef enum UNumericType { typedef enum UNumericType {
U_NT_NONE, /*[None]*/ /*See note !!*/ U_NT_NONE, /*[None]*/ /*See note !!*/
skipping to change at line 2459 skipping to change at line 2532
U_STABLE int32_t U_EXPORT2 U_STABLE int32_t U_EXPORT2
u_charName(UChar32 code, UCharNameChoice nameChoice, u_charName(UChar32 code, UCharNameChoice nameChoice,
char *buffer, int32_t bufferLength, char *buffer, int32_t bufferLength,
UErrorCode *pErrorCode); UErrorCode *pErrorCode);
/** /**
* Get the ISO 10646 comment for a character. * Get the ISO 10646 comment for a character.
* The ISO 10646 comment is an informative field in the Unicode Character * The ISO 10646 comment is an informative field in the Unicode Character
* Database (UnicodeData.txt field 11) and is from the ISO 10646 names list . * Database (UnicodeData.txt field 11) and is from the ISO 10646 names list .
* *
* Note: Unicode 5.2 removes all ISO comment data, resulting in empty strin
gs
* returned for all characters.
*
* @param c The character (code point) for which to get the ISO comment. * @param c The character (code point) for which to get the ISO comment.
* It must be <code>0<=c<=0x10ffff</code>. * It must be <code>0<=c<=0x10ffff</code>.
* @param dest Destination address for copying the comment. * @param dest Destination address for copying the comment.
* The comment will be zero-terminated if possible. * The comment will be zero-terminated if possible.
* If there is no comment, then the buffer will be set to the e mpty string. * If there is no comment, then the buffer will be set to the e mpty string.
* @param destCapacity <code>==sizeof(dest)</code> * @param destCapacity <code>==sizeof(dest)</code>
* @param pErrorCode Pointer to a UErrorCode variable; * @param pErrorCode Pointer to a UErrorCode variable;
* check for <code>U_SUCCESS()</code> after <code>u_getISOComment()< /code> * check for <code>U_SUCCESS()</code> after <code>u_getISOComment()< /code>
* returns. * returns.
* @return The length of the comment, or 0 if there is no comment for this character. * @return The length of the comment, or 0 if there is no comment for this character.
 End of changes. 9 change blocks. 
4 lines changed or deleted 83 lines changed or added


 ucnv.h   ucnv.h 
skipping to change at line 52 skipping to change at line 52
* <p>More information about this API can be found in our * <p>More information about this API can be found in our
* <a href="http://icu-project.org/userguide/conversion.html">User's * <a href="http://icu-project.org/userguide/conversion.html">User's
* Guide</a>.</p> * Guide</a>.</p>
*/ */
#ifndef UCNV_H #ifndef UCNV_H
#define UCNV_H #define UCNV_H
#include "unicode/ucnv_err.h" #include "unicode/ucnv_err.h"
#include "unicode/uenum.h" #include "unicode/uenum.h"
#include "unicode/localpointer.h"
#ifndef __USET_H__ #ifndef __USET_H__
/** /**
* USet is the C API type for Unicode sets. * USet is the C API type for Unicode sets.
* It is forward-declared here to avoid including the header file if relate d * It is forward-declared here to avoid including the header file if relate d
* conversion APIs are not used. * conversion APIs are not used.
* See unicode/uset.h * See unicode/uset.h
* *
* @see ucnv_getUnicodeSet * @see ucnv_getUnicodeSet
skipping to change at line 524 skipping to change at line 525
* *
* @param converter the converter object to be deleted * @param converter the converter object to be deleted
* @see ucnv_open * @see ucnv_open
* @see ucnv_openU * @see ucnv_openU
* @see ucnv_openCCSID * @see ucnv_openCCSID
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ucnv_close(UConverter * converter); ucnv_close(UConverter * converter);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUConverterPointer
* "Smart pointer" class, closes a UConverter via ucnv_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close)
;
U_NAMESPACE_END
#endif
/** /**
* Fills in the output parameter, subChars, with the substitution character s * Fills in the output parameter, subChars, with the substitution character s
* as multiple bytes. * as multiple bytes.
* If ucnv_setSubstString() set a Unicode string because the converter is * If ucnv_setSubstString() set a Unicode string because the converter is
* stateful, then subChars will be an empty string. * stateful, then subChars will be an empty string.
* *
* @param converter the Unicode converter * @param converter the Unicode converter
* @param subChars the subsitution characters * @param subChars the subsitution characters
* @param len on input the capacity of subChars, on output the number * @param len on input the capacity of subChars, on output the number
* of bytes copied to it * of bytes copied to it
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 ucnvsel.h   ucnvsel.h 
/* /*
*************************************************************************** **** *************************************************************************** ****
* *
* Copyright (C) 2008, International Business Machines * Copyright (C) 2008-2009, International Business Machines
* Corporation, Google and others. All Rights Reserved. * Corporation, Google and others. All Rights Reserved.
* *
*************************************************************************** **** *************************************************************************** ****
*/ */
/* /*
* Author : eldawy@google.com (Mohamed Eldawy) * Author : eldawy@google.com (Mohamed Eldawy)
* ucnvsel.h * ucnvsel.h
* *
* Purpose: To generate a list of encodings capable of handling * Purpose: To generate a list of encodings capable of handling
* a given Unicode text * a given Unicode text
skipping to change at line 27 skipping to change at line 27
*/ */
#ifndef __ICU_UCNV_SEL_H__ #ifndef __ICU_UCNV_SEL_H__
#define __ICU_UCNV_SEL_H__ #define __ICU_UCNV_SEL_H__
#include "unicode/uset.h" #include "unicode/uset.h"
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/utf16.h" #include "unicode/utf16.h"
#include "unicode/uenum.h" #include "unicode/uenum.h"
#include "unicode/ucnv.h" #include "unicode/ucnv.h"
#include "unicode/localpointer.h"
/** /**
* \file * \file
* *
* A converter selector is built with a set of encoding/charset names * A converter selector is built with a set of encoding/charset names
* and given an input string returns the set of names of the * and given an input string returns the set of names of the
* corresponding converters which can convert the string. * corresponding converters which can convert the string.
* *
* A converter selector can be serialized into a buffer and reopened * A converter selector can be serialized into a buffer and reopened
* from the serialized form. * from the serialized form.
skipping to change at line 90 skipping to change at line 91
* @see ucnv_selectForString * @see ucnv_selectForString
* @see ucnv_selectForUTF8 * @see ucnv_selectForUTF8
* *
* @param sel selector to close * @param sel selector to close
* *
* @draft ICU 4.2 * @draft ICU 4.2
*/ */
U_CAPI void U_EXPORT2 U_CAPI void U_EXPORT2
ucnvsel_close(UConverterSelector *sel); ucnvsel_close(UConverterSelector *sel);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUConverterSelectorPointer
* "Smart pointer" class, closes a UConverterSelector via ucnvsel_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterSelectorPointer, UConverterSelec
tor, ucnvsel_close);
U_NAMESPACE_END
#endif
/** /**
* Open a selector from its serialized form. * Open a selector from its serialized form.
* The buffer must remain valid and unchanged for the lifetime of the selec tor. * The buffer must remain valid and unchanged for the lifetime of the selec tor.
* This is much faster than creating a selector from scratch. * This is much faster than creating a selector from scratch.
* Using a serialized form from a different machine (endianness/charset) is supported. * Using a serialized form from a different machine (endianness/charset) is supported.
* *
* @param buffer pointer to the serialized form of a converter selector; * @param buffer pointer to the serialized form of a converter selector;
* must be 32-bit-aligned * must be 32-bit-aligned
* @param length the capacity of this buffer (can be equal to or larger tha n * @param length the capacity of this buffer (can be equal to or larger tha n
* the actual data length) * the actual data length)
 End of changes. 3 change blocks. 
1 lines changed or deleted 22 lines changed or added


 ucol.h   ucol.h 
skipping to change at line 16 skipping to change at line 16
*/ */
#ifndef UCOL_H #ifndef UCOL_H
#define UCOL_H #define UCOL_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#if !UCONFIG_NO_COLLATION #if !UCONFIG_NO_COLLATION
#include "unicode/unorm.h" #include "unicode/unorm.h"
#include "unicode/localpointer.h"
#include "unicode/parseerr.h" #include "unicode/parseerr.h"
#include "unicode/uloc.h" #include "unicode/uloc.h"
#include "unicode/uset.h" #include "unicode/uset.h"
/** /**
* \file * \file
* \brief C API: Collator * \brief C API: Collator
* *
* <h2> Collator C API </h2> * <h2> Collator C API </h2>
* *
skipping to change at line 376 skipping to change at line 377
* be closed. Otherwise, a memory leak will result. * be closed. Otherwise, a memory leak will result.
* @param coll The UCollator to close. * @param coll The UCollator to close.
* @see ucol_open * @see ucol_open
* @see ucol_openRules * @see ucol_openRules
* @see ucol_safeClone * @see ucol_safeClone
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ucol_close(UCollator *coll); ucol_close(UCollator *coll);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUCollatorPointer
* "Smart pointer" class, closes a UCollator via ucol_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUCollatorPointer, UCollator, ucol_close);
U_NAMESPACE_END
#endif
/** /**
* Compare two strings. * Compare two strings.
* The strings will be compared using the options already specified. * The strings will be compared using the options already specified.
* @param coll The UCollator containing the comparison rules. * @param coll The UCollator containing the comparison rules.
* @param source The source string. * @param source The source string.
* @param sourceLength The length of source, or -1 if null-terminated. * @param sourceLength The length of source, or -1 if null-terminated.
* @param target The target string. * @param target The target string.
* @param targetLength The length of target, or -1 if null-terminated. * @param targetLength The length of target, or -1 if null-terminated.
* @return The result of comparing the strings; one of UCOL_EQUAL, * @return The result of comparing the strings; one of UCOL_EQUAL,
* UCOL_GREATER, UCOL_LESS * UCOL_GREATER, UCOL_LESS
 End of changes. 2 change blocks. 
0 lines changed or deleted 20 lines changed or added


 ucsdet.h   ucsdet.h 
/* /*
********************************************************************** **********************************************************************
* Copyright (C) 2005-2007, International Business Machines * Copyright (C) 2005-2009, International Business Machines
* Corporation and others. All Rights Reserved. * Corporation and others. All Rights Reserved.
********************************************************************** **********************************************************************
* file name: ucsdet.h * file name: ucsdet.h
* encoding: US-ASCII * encoding: US-ASCII
* indentation:4 * indentation:4
* *
* created on: 2005Aug04 * created on: 2005Aug04
* created by: Andy Heninger * created by: Andy Heninger
* *
* ICU Character Set Detection, API for C * ICU Character Set Detection, API for C
skipping to change at line 25 skipping to change at line 25
* Draft version 18 Oct 2005 * Draft version 18 Oct 2005
* *
*/ */
#ifndef __UCSDET_H #ifndef __UCSDET_H
#define __UCSDET_H #define __UCSDET_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#if !UCONFIG_NO_CONVERSION #if !UCONFIG_NO_CONVERSION
#include "unicode/localpointer.h"
#include "unicode/uenum.h" #include "unicode/uenum.h"
/** /**
* \file * \file
* \brief C API: Charset Detection API * \brief C API: Charset Detection API
* *
* This API provides a facility for detecting the * This API provides a facility for detecting the
* charset or encoding of character data in an unknown text format. * charset or encoding of character data in an unknown text format.
* The input data can be from an array of bytes. * The input data can be from an array of bytes.
* <p> * <p>
skipping to change at line 84 skipping to change at line 86
* owned by this charset detector will be released. Failure to * owned by this charset detector will be released. Failure to
* close a charset detector when finished with it can result in * close a charset detector when finished with it can result in
* memory leaks in the application. * memory leaks in the application.
* *
* @param ucsd The charset detector to be closed. * @param ucsd The charset detector to be closed.
* @stable ICU 3.6 * @stable ICU 3.6
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ucsdet_close(UCharsetDetector *ucsd); ucsdet_close(UCharsetDetector *ucsd);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUCharsetDetectorPointer
* "Smart pointer" class, closes a UCharsetDetector via ucsdet_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUCharsetDetectorPointer, UCharsetDetector,
ucsdet_close);
U_NAMESPACE_END
#endif
/** /**
* Set the input byte data whose charset is to detected. * Set the input byte data whose charset is to detected.
* *
* Ownership of the input text byte array remains with the caller. * Ownership of the input text byte array remains with the caller.
* The input string must not be altered or deleted until the charset * The input string must not be altered or deleted until the charset
* detector is either closed or reset to refer to different input text. * detector is either closed or reset to refer to different input text.
* *
* @param ucsd the charset detector to be used. * @param ucsd the charset detector to be used.
* @param textIn the input text of unknown encoding. . * @param textIn the input text of unknown encoding. .
* @param len the length of the input text, or -1 if the text * @param len the length of the input text, or -1 if the text
 End of changes. 3 change blocks. 
1 lines changed or deleted 23 lines changed or added


 udata.h   udata.h 
skipping to change at line 21 skipping to change at line 21
* indentation:4 * indentation:4
* *
* created on: 1999oct25 * created on: 1999oct25
* created by: Markus W. Scherer * created by: Markus W. Scherer
*/ */
#ifndef __UDATA_H__ #ifndef __UDATA_H__
#define __UDATA_H__ #define __UDATA_H__
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/localpointer.h"
U_CDECL_BEGIN U_CDECL_BEGIN
/** /**
* \file * \file
* \brief C API: Data loading interface * \brief C API: Data loading interface
* *
* <h2>Information about data loading interface</h2> * <h2>Information about data loading interface</h2>
* *
* This API is used to find and efficiently load data for ICU and applicati ons * This API is used to find and efficiently load data for ICU and applicati ons
skipping to change at line 258 skipping to change at line 259
/** /**
* Close the data memory. * Close the data memory.
* This function must be called to allow the system to * This function must be called to allow the system to
* release resources associated with this data memory. * release resources associated with this data memory.
* @param pData The pointer to data memory object * @param pData The pointer to data memory object
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
udata_close(UDataMemory *pData); udata_close(UDataMemory *pData);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUDataMemoryPointer
* "Smart pointer" class, closes a UDataMemory via udata_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUDataMemoryPointer, UDataMemory, udata_clo
se);
U_NAMESPACE_END
#endif
/** /**
* Get the pointer to the actual data inside the data memory. * Get the pointer to the actual data inside the data memory.
* The data is read-only. * The data is read-only.
* @param pData The pointer to data memory object * @param pData The pointer to data memory object
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE const void * U_EXPORT2 U_STABLE const void * U_EXPORT2
udata_getMemory(UDataMemory *pData); udata_getMemory(UDataMemory *pData);
/** /**
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 udatpg.h   udatpg.h 
skipping to change at line 22 skipping to change at line 22
* *
* created on: 2007jul30 * created on: 2007jul30
* created by: Markus W. Scherer * created by: Markus W. Scherer
*/ */
#ifndef __UDATPG_H__ #ifndef __UDATPG_H__
#define __UDATPG_H__ #define __UDATPG_H__
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/uenum.h" #include "unicode/uenum.h"
#include "unicode/localpointer.h"
/** /**
* \file * \file
* \brief C API: Wrapper for DateTimePatternGenerator (unicode/dtptngen.h). * \brief C API: Wrapper for DateTimePatternGenerator (unicode/dtptngen.h).
* *
* UDateTimePatternGenerator provides flexible generation of date format pa tterns, * UDateTimePatternGenerator provides flexible generation of date format pa tterns,
* like "yy-MM-dd". The user can build up the generator by adding successiv e * like "yy-MM-dd". The user can build up the generator by adding successiv e
* patterns. Once that is done, a query can be made using a "skeleton", whi ch is * patterns. Once that is done, a query can be made using a "skeleton", whi ch is
* a pattern which just includes the desired fields and lengths. The genera tor * a pattern which just includes the desired fields and lengths. The genera tor
* will return the "best fit" pattern corresponding to that skeleton. * will return the "best fit" pattern corresponding to that skeleton.
skipping to change at line 133 skipping to change at line 134
udatpg_openEmpty(UErrorCode *pErrorCode); udatpg_openEmpty(UErrorCode *pErrorCode);
/** /**
* Close a generator. * Close a generator.
* @param dtpg a pointer to UDateTimePatternGenerator. * @param dtpg a pointer to UDateTimePatternGenerator.
* @stable ICU 3.8 * @stable ICU 3.8
*/ */
U_DRAFT void U_EXPORT2 U_DRAFT void U_EXPORT2
udatpg_close(UDateTimePatternGenerator *dtpg); udatpg_close(UDateTimePatternGenerator *dtpg);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUDateTimePatternGeneratorPointer
* "Smart pointer" class, closes a UDateTimePatternGenerator via udatpg_clo
se().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUDateTimePatternGeneratorPointer, UDateTim
ePatternGenerator, udatpg_close);
U_NAMESPACE_END
#endif
/** /**
* Create a copy pf a generator. * Create a copy pf a generator.
* @param dtpg a pointer to UDateTimePatternGenerator to be copied. * @param dtpg a pointer to UDateTimePatternGenerator to be copied.
* @param pErrorCode a pointer to the UErrorCode which must not indicate a * @param pErrorCode a pointer to the UErrorCode which must not indicate a
* failure before the function call. * failure before the function call.
* @return a pointer to a new UDateTimePatternGenerator. * @return a pointer to a new UDateTimePatternGenerator.
* @stable ICU 3.8 * @stable ICU 3.8
*/ */
U_DRAFT UDateTimePatternGenerator * U_EXPORT2 U_DRAFT UDateTimePatternGenerator * U_EXPORT2
udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) ; udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) ;
 End of changes. 2 change blocks. 
0 lines changed or deleted 22 lines changed or added


 uenum.h   uenum.h 
skipping to change at line 21 skipping to change at line 21
* indentation:2 * indentation:2
* *
* created on: 2002jul08 * created on: 2002jul08
* created by: Vladimir Weinstein * created by: Vladimir Weinstein
*/ */
#ifndef __UENUM_H #ifndef __UENUM_H
#define __UENUM_H #define __UENUM_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/localpointer.h"
#ifdef XP_CPLUSPLUS #ifdef XP_CPLUSPLUS
#include "unicode/strenum.h" #include "unicode/strenum.h"
#endif #endif
/** /**
* \file * \file
* \brief C API: String Enumeration * \brief C API: String Enumeration
*/ */
skipping to change at line 50 skipping to change at line 51
/** /**
* Disposes of resources in use by the iterator. If en is NULL, * Disposes of resources in use by the iterator. If en is NULL,
* does nothing. After this call, any char* or UChar* pointer * does nothing. After this call, any char* or UChar* pointer
* returned by uenum_unext() or uenum_next() is invalid. * returned by uenum_unext() or uenum_next() is invalid.
* @param en UEnumeration structure pointer * @param en UEnumeration structure pointer
* @stable ICU 2.2 * @stable ICU 2.2
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
uenum_close(UEnumeration* en); uenum_close(UEnumeration* en);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUEnumerationPointer
* "Smart pointer" class, closes a UEnumeration via uenum_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_c
lose);
U_NAMESPACE_END
#endif
/** /**
* Returns the number of elements that the iterator traverses. If * Returns the number of elements that the iterator traverses. If
* the iterator is out-of-sync with its service, status is set to * the iterator is out-of-sync with its service, status is set to
* U_ENUM_OUT_OF_SYNC_ERROR. * U_ENUM_OUT_OF_SYNC_ERROR.
* This is a convenience function. It can end up being very * This is a convenience function. It can end up being very
* expensive as all the items might have to be pre-fetched (depending * expensive as all the items might have to be pre-fetched (depending
* on the type of data being traversed). Use with caution and only * on the type of data being traversed). Use with caution and only
* when necessary. * when necessary.
* @param en UEnumeration structure pointer * @param en UEnumeration structure pointer
* @param status error code, can be U_ENUM_OUT_OF_SYNC_ERROR if the * @param status error code, can be U_ENUM_OUT_OF_SYNC_ERROR if the
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 ulocdata.h   ulocdata.h 
skipping to change at line 23 skipping to change at line 23
* created on: 2003Oct21 * created on: 2003Oct21
* created by: Ram Viswanadha * created by: Ram Viswanadha
*/ */
#ifndef __ULOCDATA_H__ #ifndef __ULOCDATA_H__
#define __ULOCDATA_H__ #define __ULOCDATA_H__
#include "unicode/ures.h" #include "unicode/ures.h"
#include "unicode/uloc.h" #include "unicode/uloc.h"
#include "unicode/uset.h" #include "unicode/uset.h"
#include "unicode/localpointer.h"
/** /**
* \file * \file
* \brief C API: Provides access to locale data. * \brief C API: Provides access to locale data.
*/ */
/** Forward declaration of the ULocaleData structure. @stable ICU 3.6 */ /** Forward declaration of the ULocaleData structure. @stable ICU 3.6 */
struct ULocaleData; struct ULocaleData;
/** A locale data object. @stable ICU 3.6 */ /** A locale data object. @stable ICU 3.6 */
skipping to change at line 75 skipping to change at line 76
/** /**
* Closes a locale data object. * Closes a locale data object.
* *
* @param uld The locale data object to close * @param uld The locale data object to close
* @stable ICU 3.4 * @stable ICU 3.4
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ulocdata_close(ULocaleData *uld); ulocdata_close(ULocaleData *uld);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalULocaleDataPointer
* "Smart pointer" class, closes a ULocaleData via ulocdata_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalULocaleDataPointer, ULocaleData, ulocdata_
close);
U_NAMESPACE_END
#endif
/** /**
* Sets the "no Substitute" attribute of the locale data * Sets the "no Substitute" attribute of the locale data
* object. If true, then any methods associated with the * object. If true, then any methods associated with the
* locale data object will return null when there is no * locale data object will return null when there is no
* data available for that method, given the locale ID * data available for that method, given the locale ID
* supplied to ulocdata_open(). * supplied to ulocdata_open().
* *
* @param uld The locale data object to set. * @param uld The locale data object to set.
* @param setting Value of the "no substitute" attribute. * @param setting Value of the "no substitute" attribute.
* @stable ICU 3.4 * @stable ICU 3.4
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 unistr.h   unistr.h 
skipping to change at line 4039 skipping to change at line 4039
#if !UCONFIG_NO_CONVERSION #if !UCONFIG_NO_CONVERSION
inline int32_t inline int32_t
UnicodeString::extract(int32_t start, UnicodeString::extract(int32_t start,
int32_t _length, int32_t _length,
char *dst, char *dst,
const char *codepage) const const char *codepage) const
{ {
// This dstSize value will be checked explicitly // This dstSize value will be checked explicitly
#if defined(__GNUC__)
// Ticket #7039: Clip length to the maximum valid length to the end of ad dressable memory given the starting address // Ticket #7039: Clip length to the maximum valid length to the end of ad dressable memory given the starting address
// This is only an issue when using GCC and certain optimizations are tur ned on.
return extract(start, _length, dst, dst!=0 ? ((dst >= (char*)((size_t)-1) - UINT32_MAX) ? (((char*)UINT32_MAX) - dst) : UINT32_MAX) : 0, codepage); return extract(start, _length, dst, dst!=0 ? ((dst >= (char*)((size_t)-1) - UINT32_MAX) ? (((char*)UINT32_MAX) - dst) : UINT32_MAX) : 0, codepage);
#else
return extract(start, _length, dst, dst!=0 ? 0xffffffff : 0, codepage);
#endif
} }
#endif #endif
inline void inline void
UnicodeString::extractBetween(int32_t start, UnicodeString::extractBetween(int32_t start,
int32_t limit, int32_t limit,
UChar *dst, UChar *dst,
int32_t dstStart) const { int32_t dstStart) const {
pinIndex(start); pinIndex(start);
 End of changes. 3 change blocks. 
0 lines changed or deleted 5 lines changed or added


 uregex.h   uregex.h 
skipping to change at line 30 skipping to change at line 30
* <p>This is a C wrapper around the C++ RegexPattern and RegexMatcher clas ses.</p> * <p>This is a C wrapper around the C++ RegexPattern and RegexMatcher clas ses.</p>
*/ */
#ifndef UREGEX_H #ifndef UREGEX_H
#define UREGEX_H #define UREGEX_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#if !UCONFIG_NO_REGULAR_EXPRESSIONS #if !UCONFIG_NO_REGULAR_EXPRESSIONS
#include "unicode/localpointer.h"
#include "unicode/parseerr.h" #include "unicode/parseerr.h"
struct URegularExpression; struct URegularExpression;
/** /**
* Structure representing a compiled regular rexpression, plus the results * Structure representing a compiled regular rexpression, plus the results
* of a match operation. * of a match operation.
* @stable ICU 3.0 * @stable ICU 3.0
*/ */
typedef struct URegularExpression URegularExpression; typedef struct URegularExpression URegularExpression;
skipping to change at line 177 skipping to change at line 178
/** /**
* Close the regular expression, recovering all resources (memory) it * Close the regular expression, recovering all resources (memory) it
* was holding. * was holding.
* *
* @param regexp The regular expression to be closed. * @param regexp The regular expression to be closed.
* @stable ICU 3.0 * @stable ICU 3.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
uregex_close(URegularExpression *regexp); uregex_close(URegularExpression *regexp);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalURegularExpressionPointer
* "Smart pointer" class, closes a URegularExpression via uregex_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalURegularExpressionPointer, URegularExpress
ion, uregex_close);
U_NAMESPACE_END
#endif
/** /**
* Make a copy of a compiled regular expression. Cloning a regular * Make a copy of a compiled regular expression. Cloning a regular
* expression is faster than opening a second instance from the source * expression is faster than opening a second instance from the source
* form of the expression, and requires less memory. * form of the expression, and requires less memory.
* <p> * <p>
* Note that the current input string and the position of any matched text * Note that the current input string and the position of any matched text
* within it are not cloned; only the pattern itself and and the * within it are not cloned; only the pattern itself and and the
* match mode flags are copied. * match mode flags are copied.
* <p> * <p>
* Cloning can be particularly useful to threaded applications that perform * Cloning can be particularly useful to threaded applications that perform
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 urename.h   urename.h 
skipping to change at line 562 skipping to change at line 562
#define ucasemap_utf8FoldCase U_ICU_ENTRY_POINT_RENAME(ucasemap_utf8FoldCas e) #define ucasemap_utf8FoldCase U_ICU_ENTRY_POINT_RENAME(ucasemap_utf8FoldCas e)
#define ucasemap_utf8ToLower U_ICU_ENTRY_POINT_RENAME(ucasemap_utf8ToLower) #define ucasemap_utf8ToLower U_ICU_ENTRY_POINT_RENAME(ucasemap_utf8ToLower)
#define ucasemap_utf8ToTitle U_ICU_ENTRY_POINT_RENAME(ucasemap_utf8ToTitle) #define ucasemap_utf8ToTitle U_ICU_ENTRY_POINT_RENAME(ucasemap_utf8ToTitle)
#define ucasemap_utf8ToUpper U_ICU_ENTRY_POINT_RENAME(ucasemap_utf8ToUpper) #define ucasemap_utf8ToUpper U_ICU_ENTRY_POINT_RENAME(ucasemap_utf8ToUpper)
#define ucd_close U_ICU_ENTRY_POINT_RENAME(ucd_close) #define ucd_close U_ICU_ENTRY_POINT_RENAME(ucd_close)
#define ucd_flushCache U_ICU_ENTRY_POINT_RENAME(ucd_flushCache) #define ucd_flushCache U_ICU_ENTRY_POINT_RENAME(ucd_flushCache)
#define ucd_freeCache U_ICU_ENTRY_POINT_RENAME(ucd_freeCache) #define ucd_freeCache U_ICU_ENTRY_POINT_RENAME(ucd_freeCache)
#define ucd_getCollator U_ICU_ENTRY_POINT_RENAME(ucd_getCollator) #define ucd_getCollator U_ICU_ENTRY_POINT_RENAME(ucd_getCollator)
#define ucd_open U_ICU_ENTRY_POINT_RENAME(ucd_open) #define ucd_open U_ICU_ENTRY_POINT_RENAME(ucd_open)
#define uchar_addPropertyStarts U_ICU_ENTRY_POINT_RENAME(uchar_addPropertyS tarts) #define uchar_addPropertyStarts U_ICU_ENTRY_POINT_RENAME(uchar_addPropertyS tarts)
#define uchar_getHST U_ICU_ENTRY_POINT_RENAME(uchar_getHST)
#define uchar_swapNames U_ICU_ENTRY_POINT_RENAME(uchar_swapNames) #define uchar_swapNames U_ICU_ENTRY_POINT_RENAME(uchar_swapNames)
#define ucln_cleanupOne U_ICU_ENTRY_POINT_RENAME(ucln_cleanupOne) #define ucln_cleanupOne U_ICU_ENTRY_POINT_RENAME(ucln_cleanupOne)
#define ucln_common_registerCleanup U_ICU_ENTRY_POINT_RENAME(ucln_common_re gisterCleanup) #define ucln_common_registerCleanup U_ICU_ENTRY_POINT_RENAME(ucln_common_re gisterCleanup)
#define ucln_i18n_registerCleanup U_ICU_ENTRY_POINT_RENAME(ucln_i18n_regist erCleanup) #define ucln_i18n_registerCleanup U_ICU_ENTRY_POINT_RENAME(ucln_i18n_regist erCleanup)
#define ucln_io_registerCleanup U_ICU_ENTRY_POINT_RENAME(ucln_io_registerCl eanup) #define ucln_io_registerCleanup U_ICU_ENTRY_POINT_RENAME(ucln_io_registerCl eanup)
#define ucln_lib_cleanup U_ICU_ENTRY_POINT_RENAME(ucln_lib_cleanup) #define ucln_lib_cleanup U_ICU_ENTRY_POINT_RENAME(ucln_lib_cleanup)
#define ucln_registerCleanup U_ICU_ENTRY_POINT_RENAME(ucln_registerCleanup) #define ucln_registerCleanup U_ICU_ENTRY_POINT_RENAME(ucln_registerCleanup)
#define ucnv_MBCSFromUChar32 U_ICU_ENTRY_POINT_RENAME(ucnv_MBCSFromUChar32) #define ucnv_MBCSFromUChar32 U_ICU_ENTRY_POINT_RENAME(ucnv_MBCSFromUChar32)
#define ucnv_MBCSFromUnicodeWithOffsets U_ICU_ENTRY_POINT_RENAME(ucnv_MBCSF romUnicodeWithOffsets) #define ucnv_MBCSFromUnicodeWithOffsets U_ICU_ENTRY_POINT_RENAME(ucnv_MBCSF romUnicodeWithOffsets)
#define ucnv_MBCSGetFilteredUnicodeSetForUnicode U_ICU_ENTRY_POINT_RENAME(u cnv_MBCSGetFilteredUnicodeSetForUnicode) #define ucnv_MBCSGetFilteredUnicodeSetForUnicode U_ICU_ENTRY_POINT_RENAME(u cnv_MBCSGetFilteredUnicodeSetForUnicode)
skipping to change at line 935 skipping to change at line 934
#define uhash_remove U_ICU_ENTRY_POINT_RENAME(uhash_remove) #define uhash_remove U_ICU_ENTRY_POINT_RENAME(uhash_remove)
#define uhash_removeAll U_ICU_ENTRY_POINT_RENAME(uhash_removeAll) #define uhash_removeAll U_ICU_ENTRY_POINT_RENAME(uhash_removeAll)
#define uhash_removeElement U_ICU_ENTRY_POINT_RENAME(uhash_removeElement) #define uhash_removeElement U_ICU_ENTRY_POINT_RENAME(uhash_removeElement)
#define uhash_removei U_ICU_ENTRY_POINT_RENAME(uhash_removei) #define uhash_removei U_ICU_ENTRY_POINT_RENAME(uhash_removei)
#define uhash_setKeyComparator U_ICU_ENTRY_POINT_RENAME(uhash_setKeyCompara tor) #define uhash_setKeyComparator U_ICU_ENTRY_POINT_RENAME(uhash_setKeyCompara tor)
#define uhash_setKeyDeleter U_ICU_ENTRY_POINT_RENAME(uhash_setKeyDeleter) #define uhash_setKeyDeleter U_ICU_ENTRY_POINT_RENAME(uhash_setKeyDeleter)
#define uhash_setKeyHasher U_ICU_ENTRY_POINT_RENAME(uhash_setKeyHasher) #define uhash_setKeyHasher U_ICU_ENTRY_POINT_RENAME(uhash_setKeyHasher)
#define uhash_setResizePolicy U_ICU_ENTRY_POINT_RENAME(uhash_setResizePolic y) #define uhash_setResizePolicy U_ICU_ENTRY_POINT_RENAME(uhash_setResizePolic y)
#define uhash_setValueComparator U_ICU_ENTRY_POINT_RENAME(uhash_setValueCom parator) #define uhash_setValueComparator U_ICU_ENTRY_POINT_RENAME(uhash_setValueCom parator)
#define uhash_setValueDeleter U_ICU_ENTRY_POINT_RENAME(uhash_setValueDelete r) #define uhash_setValueDeleter U_ICU_ENTRY_POINT_RENAME(uhash_setValueDelete r)
#define uhst_addPropertyStarts U_ICU_ENTRY_POINT_RENAME(uhst_addPropertySta rts)
#define uidna_IDNToASCII U_ICU_ENTRY_POINT_RENAME(uidna_IDNToASCII) #define uidna_IDNToASCII U_ICU_ENTRY_POINT_RENAME(uidna_IDNToASCII)
#define uidna_IDNToUnicode U_ICU_ENTRY_POINT_RENAME(uidna_IDNToUnicode) #define uidna_IDNToUnicode U_ICU_ENTRY_POINT_RENAME(uidna_IDNToUnicode)
#define uidna_compare U_ICU_ENTRY_POINT_RENAME(uidna_compare) #define uidna_compare U_ICU_ENTRY_POINT_RENAME(uidna_compare)
#define uidna_toASCII U_ICU_ENTRY_POINT_RENAME(uidna_toASCII) #define uidna_toASCII U_ICU_ENTRY_POINT_RENAME(uidna_toASCII)
#define uidna_toUnicode U_ICU_ENTRY_POINT_RENAME(uidna_toUnicode) #define uidna_toUnicode U_ICU_ENTRY_POINT_RENAME(uidna_toUnicode)
#define uiter_current32 U_ICU_ENTRY_POINT_RENAME(uiter_current32) #define uiter_current32 U_ICU_ENTRY_POINT_RENAME(uiter_current32)
#define uiter_getState U_ICU_ENTRY_POINT_RENAME(uiter_getState) #define uiter_getState U_ICU_ENTRY_POINT_RENAME(uiter_getState)
#define uiter_next32 U_ICU_ENTRY_POINT_RENAME(uiter_next32) #define uiter_next32 U_ICU_ENTRY_POINT_RENAME(uiter_next32)
#define uiter_previous32 U_ICU_ENTRY_POINT_RENAME(uiter_previous32) #define uiter_previous32 U_ICU_ENTRY_POINT_RENAME(uiter_previous32)
#define uiter_setCharacterIterator U_ICU_ENTRY_POINT_RENAME(uiter_setCharac terIterator) #define uiter_setCharacterIterator U_ICU_ENTRY_POINT_RENAME(uiter_setCharac terIterator)
 End of changes. 2 change blocks. 
2 lines changed or deleted 0 lines changed or added


 ures.h   ures.h 
skipping to change at line 28 skipping to change at line 28
* 11/09/99 weiv Added ures_getLocale() * 11/09/99 weiv Added ures_getLocale()
* 06/24/02 weiv Added support for resource sharing * 06/24/02 weiv Added support for resource sharing
*************************************************************************** *** *************************************************************************** ***
*/ */
#ifndef URES_H #ifndef URES_H
#define URES_H #define URES_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/uloc.h" #include "unicode/uloc.h"
#include "unicode/localpointer.h"
/** /**
* \file * \file
* \brief C API: Resource Bundle * \brief C API: Resource Bundle
* *
* <h2>C API: Resource Bundle</h2> * <h2>C API: Resource Bundle</h2>
* *
* C API representing a collection of resource information pertaining to a given * C API representing a collection of resource information pertaining to a given
* locale. A resource bundle provides a way of accessing locale- specific i nformation in * locale. A resource bundle provides a way of accessing locale- specific i nformation in
* a data file. You create a resource bundle that manages the resources for a given * a data file. You create a resource bundle that manages the resources for a given
skipping to change at line 240 skipping to change at line 241
* Close a resource bundle, all pointers returned from the various ures_get XXX calls * Close a resource bundle, all pointers returned from the various ures_get XXX calls
* on this particular bundle should be considered invalid henceforth. * on this particular bundle should be considered invalid henceforth.
* *
* @param resourceBundle a pointer to a resourceBundle struct. Can be NULL. * @param resourceBundle a pointer to a resourceBundle struct. Can be NULL.
* @see ures_open * @see ures_open
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
ures_close(UResourceBundle* resourceBundle); ures_close(UResourceBundle* resourceBundle);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUResourceBundlePointer
* "Smart pointer" class, closes a UResourceBundle via ures_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, u
res_close);
U_NAMESPACE_END
#endif
/** /**
* Return the version number associated with this ResourceBundle as a strin g. Please * Return the version number associated with this ResourceBundle as a strin g. Please
* use ures_getVersion as this function is going to be deprecated. * use ures_getVersion as this function is going to be deprecated.
* *
* @param resourceBundle The resource bundle for which the version is check ed. * @param resourceBundle The resource bundle for which the version is check ed.
* @return A version number string as specified in the resource bundle or its parent. * @return A version number string as specified in the resource bundle or its parent.
* The caller does not own this string. * The caller does not own this string.
* @see ures_getVersion * @see ures_getVersion
* @deprecated ICU 2.8 Use ures_getVersion instead. * @deprecated ICU 2.8 Use ures_getVersion instead.
*/ */
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 uscript.h   uscript.h 
skipping to change at line 49 skipping to change at line 49
* Hans or Hant. All Han ideographs have the Hani script code. * Hans or Hant. All Han ideographs have the Hani script code.
* The Hans and Hant script codes are used with CLDR data. * The Hans and Hant script codes are used with CLDR data.
* *
* ISO 15924 script codes are included for use with CLDR and similar. * ISO 15924 script codes are included for use with CLDR and similar.
* *
* @stable ICU 2.2 * @stable ICU 2.2
*/ */
typedef enum UScriptCode { typedef enum UScriptCode {
USCRIPT_INVALID_CODE = -1, USCRIPT_INVALID_CODE = -1,
USCRIPT_COMMON = 0 , /* Zyyy */ USCRIPT_COMMON = 0 , /* Zyyy */
USCRIPT_INHERITED = 1, /* Qaai */ USCRIPT_INHERITED = 1, /* Zinh */ /* "Code for inherited script" , for non-spacing combining marks; also Qaai */
USCRIPT_ARABIC = 2, /* Arab */ USCRIPT_ARABIC = 2, /* Arab */
USCRIPT_ARMENIAN = 3, /* Armn */ USCRIPT_ARMENIAN = 3, /* Armn */
USCRIPT_BENGALI = 4, /* Beng */ USCRIPT_BENGALI = 4, /* Beng */
USCRIPT_BOPOMOFO = 5, /* Bopo */ USCRIPT_BOPOMOFO = 5, /* Bopo */
USCRIPT_CHEROKEE = 6, /* Cher */ USCRIPT_CHEROKEE = 6, /* Cher */
USCRIPT_COPTIC = 7, /* Copt */ USCRIPT_COPTIC = 7, /* Copt */
USCRIPT_CYRILLIC = 8, /* Cyrl */ USCRIPT_CYRILLIC = 8, /* Cyrl */
USCRIPT_DESERET = 9, /* Dsrt */ USCRIPT_DESERET = 9, /* Dsrt */
USCRIPT_DEVANAGARI = 10, /* Deva */ USCRIPT_DEVANAGARI = 10, /* Deva */
USCRIPT_ETHIOPIC = 11, /* Ethi */ USCRIPT_ETHIOPIC = 11, /* Ethi */
skipping to change at line 159 skipping to change at line 159
USCRIPT_PHAGS_PA = 90, /* Phag */ USCRIPT_PHAGS_PA = 90, /* Phag */
USCRIPT_PHOENICIAN = 91, /* Phnx */ USCRIPT_PHOENICIAN = 91, /* Phnx */
USCRIPT_PHONETIC_POLLARD = 92, /* Plrd */ USCRIPT_PHONETIC_POLLARD = 92, /* Plrd */
USCRIPT_RONGORONGO = 93, /* Roro */ USCRIPT_RONGORONGO = 93, /* Roro */
USCRIPT_SARATI = 94, /* Sara */ USCRIPT_SARATI = 94, /* Sara */
USCRIPT_ESTRANGELO_SYRIAC = 95, /* Syre */ USCRIPT_ESTRANGELO_SYRIAC = 95, /* Syre */
USCRIPT_WESTERN_SYRIAC = 96, /* Syrj */ USCRIPT_WESTERN_SYRIAC = 96, /* Syrj */
USCRIPT_EASTERN_SYRIAC = 97, /* Syrn */ USCRIPT_EASTERN_SYRIAC = 97, /* Syrn */
USCRIPT_TENGWAR = 98, /* Teng */ USCRIPT_TENGWAR = 98, /* Teng */
USCRIPT_VAI = 99, /* Vaii */ USCRIPT_VAI = 99, /* Vaii */
USCRIPT_VISIBLE_SPEECH = 100, /* Visp */ USCRIPT_VISIBLE_SPEECH = 100,/* Visp */
USCRIPT_CUNEIFORM = 101,/* Xsux */ USCRIPT_CUNEIFORM = 101,/* Xsux */
USCRIPT_UNWRITTEN_LANGUAGES = 102,/* Zxxx */ USCRIPT_UNWRITTEN_LANGUAGES = 102,/* Zxxx */
USCRIPT_UNKNOWN = 103,/* Zzzz */ /* Unknown="Co de for uncoded script", for unassigned code points */ USCRIPT_UNKNOWN = 103,/* Zzzz */ /* Unknown="Co de for uncoded script", for unassigned code points */
/* New script codes from ISO 15924 @stable ICU 3.8 */ /* New script codes from ISO 15924 @stable ICU 3.8 */
USCRIPT_CARIAN = 104,/* Cari */ USCRIPT_CARIAN = 104,/* Cari */
USCRIPT_JAPANESE = 105,/* Jpan */ USCRIPT_JAPANESE = 105,/* Jpan */
USCRIPT_LANNA = 106,/* Lana */ USCRIPT_LANNA = 106,/* Lana */
USCRIPT_LYCIAN = 107,/* Lyci */ USCRIPT_LYCIAN = 107,/* Lyci */
USCRIPT_LYDIAN = 108,/* Lydi */ USCRIPT_LYDIAN = 108,/* Lydi */
skipping to change at line 194 skipping to change at line 194
USCRIPT_MANICHAEAN = 121,/* Mani */ USCRIPT_MANICHAEAN = 121,/* Mani */
USCRIPT_INSCRIPTIONAL_PAHLAVI = 122,/* Phli */ USCRIPT_INSCRIPTIONAL_PAHLAVI = 122,/* Phli */
USCRIPT_PSALTER_PAHLAVI = 123,/* Phlp */ USCRIPT_PSALTER_PAHLAVI = 123,/* Phlp */
USCRIPT_BOOK_PAHLAVI = 124,/* Phlv */ USCRIPT_BOOK_PAHLAVI = 124,/* Phlv */
USCRIPT_INSCRIPTIONAL_PARTHIAN = 125,/* Prti */ USCRIPT_INSCRIPTIONAL_PARTHIAN = 125,/* Prti */
USCRIPT_SAMARITAN = 126,/* Samr */ USCRIPT_SAMARITAN = 126,/* Samr */
USCRIPT_TAI_VIET = 127,/* Tavt */ USCRIPT_TAI_VIET = 127,/* Tavt */
USCRIPT_MATHEMATICAL_NOTATION = 128,/* Zmth */ USCRIPT_MATHEMATICAL_NOTATION = 128,/* Zmth */
USCRIPT_SYMBOLS = 129,/* Zsym */ USCRIPT_SYMBOLS = 129,/* Zsym */
/* New script codes from ISO 15924 @draft ICU 4.4 */
USCRIPT_BAMUM = 130,/* Bamu */
USCRIPT_LISU = 131,/* Lisu */
USCRIPT_NAKHI_GEBA = 132,/* Nkgb */
USCRIPT_OLD_SOUTH_ARABIAN = 133,/* Sarb */
/* Private use codes from Qaaa - Qabx are not supported*/ /* Private use codes from Qaaa - Qabx are not supported*/
USCRIPT_CODE_LIMIT = 130 USCRIPT_CODE_LIMIT = 134
} UScriptCode; } UScriptCode;
/** /**
* Gets script codes associated with the given locale or ISO 15924 abbrevia tion or name. * Gets script codes associated with the given locale or ISO 15924 abbrevia tion or name.
* Fills in USCRIPT_MALAYALAM given "Malayam" OR "Mlym". * Fills in USCRIPT_MALAYALAM given "Malayam" OR "Mlym".
* Fills in USCRIPT_LATIN given "en" OR "en_US" * Fills in USCRIPT_LATIN given "en" OR "en_US"
* If required capacity is greater than capacity of the destination buffer then the error code * If required capacity is greater than capacity of the destination buffer then the error code
* is set to U_BUFFER_OVERFLOW_ERROR and the required capacity is returned * is set to U_BUFFER_OVERFLOW_ERROR and the required capacity is returned
* *
* <p>Note: To search by short or long script alias only, use * <p>Note: To search by short or long script alias only, use
 End of changes. 4 change blocks. 
3 lines changed or deleted 9 lines changed or added


 usearch.h   usearch.h 
/* /*
********************************************************************** **********************************************************************
* Copyright (C) 2001-2008 IBM and others. All rights reserved. * Copyright (C) 2001-2009 IBM and others. All rights reserved.
********************************************************************** **********************************************************************
* Date Name Description * Date Name Description
* 06/28/2001 synwee Creation. * 06/28/2001 synwee Creation.
********************************************************************** **********************************************************************
*/ */
#ifndef USEARCH_H #ifndef USEARCH_H
#define USEARCH_H #define USEARCH_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#if !UCONFIG_NO_COLLATION && !UCONFIG_NO_BREAK_ITERATION #if !UCONFIG_NO_COLLATION && !UCONFIG_NO_BREAK_ITERATION
#include "unicode/localpointer.h"
#include "unicode/ucol.h" #include "unicode/ucol.h"
#include "unicode/ucoleitr.h" #include "unicode/ucoleitr.h"
#include "unicode/ubrk.h" #include "unicode/ubrk.h"
/** /**
* \file * \file
* \brief C API: StringSearch * \brief C API: StringSearch
* *
* C Apis for an engine that provides language-sensitive text searching bas ed * C Apis for an engine that provides language-sensitive text searching bas ed
* on the comparison rules defined in a <tt>UCollator</tt> data struct, * on the comparison rules defined in a <tt>UCollator</tt> data struct,
skipping to change at line 252 skipping to change at line 253
UErrorCode *status); UErrorCode *status);
/** /**
* Destroying and cleaning up the search iterator data struct. * Destroying and cleaning up the search iterator data struct.
* If a collator is created in <tt>usearch_open</tt>, it will be destroyed h ere. * If a collator is created in <tt>usearch_open</tt>, it will be destroyed h ere.
* @param searchiter data struct to clean up * @param searchiter data struct to clean up
* @stable ICU 2.4 * @stable ICU 2.4
*/ */
U_STABLE void U_EXPORT2 usearch_close(UStringSearch *searchiter); U_STABLE void U_EXPORT2 usearch_close(UStringSearch *searchiter);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUStringSearchPointer
* "Smart pointer" class, closes a UStringSearch via usearch_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUStringSearchPointer, UStringSearch, usear
ch_close);
U_NAMESPACE_END
#endif
/* get and set methods -------------------------------------------------- * / /* get and set methods -------------------------------------------------- * /
/** /**
* Sets the current position in the text string which the next search will * Sets the current position in the text string which the next search will
* start from. Clears previous states. * start from. Clears previous states.
* This method takes the argument index and sets the position in the text * This method takes the argument index and sets the position in the text
* string accordingly without checking if the index is pointing to a * string accordingly without checking if the index is pointing to a
* valid starting point to begin searching. * valid starting point to begin searching.
* Search positions that may render incorrect results are highlighted in the * Search positions that may render incorrect results are highlighted in the
* header comments * header comments
 End of changes. 3 change blocks. 
1 lines changed or deleted 22 lines changed or added


 uset.h   uset.h 
skipping to change at line 31 skipping to change at line 31
* \brief C API: Unicode Set * \brief C API: Unicode Set
* *
* <p>This is a C wrapper around the C++ UnicodeSet class.</p> * <p>This is a C wrapper around the C++ UnicodeSet class.</p>
*/ */
#ifndef __USET_H__ #ifndef __USET_H__
#define __USET_H__ #define __USET_H__
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/uchar.h" #include "unicode/uchar.h"
#include "unicode/localpointer.h"
#ifndef UCNV_H #ifndef UCNV_H
struct USet; struct USet;
/** /**
* A UnicodeSet. Use the uset_* API to manipulate. Create with * A UnicodeSet. Use the uset_* API to manipulate. Create with
* uset_open*, and destroy with uset_close. * uset_open*, and destroy with uset_close.
* @stable ICU 2.4 * @stable ICU 2.4
*/ */
typedef struct USet USet; typedef struct USet USet;
#endif #endif
skipping to change at line 301 skipping to change at line 302
/** /**
* Disposes of the storage used by a USet object. This function should * Disposes of the storage used by a USet object. This function should
* be called exactly once for objects returned by uset_open(). * be called exactly once for objects returned by uset_open().
* @param set the object to dispose of * @param set the object to dispose of
* @stable ICU 2.4 * @stable ICU 2.4
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
uset_close(USet* set); uset_close(USet* set);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUSetPointer
* "Smart pointer" class, closes a USet via uset_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUSetPointer, USet, uset_close);
U_NAMESPACE_END
#endif
/** /**
* Returns a copy of this object. * Returns a copy of this object.
* If this set is frozen, then the clone will be frozen as well. * If this set is frozen, then the clone will be frozen as well.
* Use uset_cloneAsThawed() for a mutable clone of a frozen set. * Use uset_cloneAsThawed() for a mutable clone of a frozen set.
* @param set the original set * @param set the original set
* @return the newly allocated copy of the set * @return the newly allocated copy of the set
* @see uset_cloneAsThawed * @see uset_cloneAsThawed
* @stable ICU 3.8 * @stable ICU 3.8
*/ */
U_DRAFT USet * U_EXPORT2 U_DRAFT USet * U_EXPORT2
 End of changes. 2 change blocks. 
0 lines changed or deleted 20 lines changed or added


 uspoof.h   uspoof.h 
skipping to change at line 28 skipping to change at line 28
* \file * \file
* \brief C API: Unicode Spoof Detection * \brief C API: Unicode Spoof Detection
*/ */
#ifndef USPOOF_H #ifndef USPOOF_H
#define USPOOF_H #define USPOOF_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/uset.h" #include "unicode/uset.h"
#include "unicode/parseerr.h" #include "unicode/parseerr.h"
#include "unicode/localpointer.h"
#if !UCONFIG_NO_NORMALIZATION #if !UCONFIG_NO_NORMALIZATION
#ifdef XP_CPLUSPLUS #ifdef XP_CPLUSPLUS
#include "unicode/unistr.h" #include "unicode/unistr.h"
#include "unicode/uniset.h" #include "unicode/uniset.h"
U_NAMESPACE_USE U_NAMESPACE_USE
#endif #endif
skipping to change at line 287 skipping to change at line 288
int32_t *errType, UParseError *pe, UErrorCode *status ); int32_t *errType, UParseError *pe, UErrorCode *status );
/** /**
* Close a Spoof Checker, freeing any memory that was being held by * Close a Spoof Checker, freeing any memory that was being held by
* its implementation. * its implementation.
* @draft ICU 4.2 * @draft ICU 4.2
*/ */
U_DRAFT void U_EXPORT2 U_DRAFT void U_EXPORT2
uspoof_close(USpoofChecker *sc); uspoof_close(USpoofChecker *sc);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUSpoofCheckerPointer
* "Smart pointer" class, closes a USpoofChecker via uspoof_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUSpoofCheckerPointer, USpoofChecker, uspoo
f_close);
U_NAMESPACE_END
#endif
/** /**
* Clone a Spoof Checker. The clone will be set to perform the same checks * Clone a Spoof Checker. The clone will be set to perform the same checks
* as the original source. * as the original source.
* *
* @param sc The source USpoofChecker * @param sc The source USpoofChecker
* @param status The error code, set if this function encounters a proble m. * @param status The error code, set if this function encounters a proble m.
* @return * @return
* @draft ICU 4.2 * @draft ICU 4.2
*/ */
U_DRAFT USpoofChecker * U_EXPORT2 U_DRAFT USpoofChecker * U_EXPORT2
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added


 usprep.h   usprep.h 
skipping to change at line 26 skipping to change at line 26
#ifndef __USPREP_H__ #ifndef __USPREP_H__
#define __USPREP_H__ #define __USPREP_H__
/** /**
* \file * \file
* \brief C API: Implements the StringPrep algorithm. * \brief C API: Implements the StringPrep algorithm.
*/ */
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/localpointer.h"
/** /**
* *
* StringPrep API implements the StingPrep framework as described by RFC 34 54. * StringPrep API implements the StingPrep framework as described by RFC 34 54.
* StringPrep prepares Unicode strings for use in network protocols. * StringPrep prepares Unicode strings for use in network protocols.
* Profiles of StingPrep are set of rules and data according to with the * Profiles of StingPrep are set of rules and data according to with the
* Unicode Strings are prepared. Each profiles contains tables which descri be * Unicode Strings are prepared. Each profiles contains tables which descri be
* how a code point should be treated. The tables are broadly classied into * how a code point should be treated. The tables are broadly classied into
* <ul> * <ul>
* <li> Unassinged Table: Contains code points that are unassigned * <li> Unassinged Table: Contains code points that are unassigned
* in the Unicode Version supported by StringPrep. Currently * in the Unicode Version supported by StringPrep. Currently
skipping to change at line 207 skipping to change at line 209
UErrorCode* status); UErrorCode* status);
/** /**
* Closes the profile * Closes the profile
* @param profile The profile to close * @param profile The profile to close
* @stable ICU 2.8 * @stable ICU 2.8
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
usprep_close(UStringPrepProfile* profile); usprep_close(UStringPrepProfile* profile);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUStringPrepProfilePointer
* "Smart pointer" class, closes a UStringPrepProfile via usprep_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUStringPrepProfilePointer, UStringPrepProf
ile, usprep_close);
U_NAMESPACE_END
#endif
/** /**
* Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC), * Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC),
* checks for prohited and BiDi characters in the order defined by RFC 3454 * checks for prohited and BiDi characters in the order defined by RFC 3454
* depending on the options specified in the profile. * depending on the options specified in the profile.
* *
* @param prep The profile to use * @param prep The profile to use
* @param src Pointer to UChar buffer containing the string to pr epare * @param src Pointer to UChar buffer containing the string to pr epare
* @param srcLength Number of characters in the source string * @param srcLength Number of characters in the source string
* @param dest Pointer to the destination buffer to receive the ou tput * @param dest Pointer to the destination buffer to receive the ou tput
* @param destCapacity The capacity of destination array * @param destCapacity The capacity of destination array
 End of changes. 2 change blocks. 
0 lines changed or deleted 22 lines changed or added


 ustdio.h   ustdio.h 
skipping to change at line 31 skipping to change at line 31
#ifndef USTDIO_H #ifndef USTDIO_H
#define USTDIO_H #define USTDIO_H
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/ucnv.h" #include "unicode/ucnv.h"
#include "unicode/utrans.h" #include "unicode/utrans.h"
#include "unicode/localpointer.h"
/* /*
TODO TODO
The following is a small list as to what is currently wrong/suggestions fo r The following is a small list as to what is currently wrong/suggestions fo r
ustdio. ustdio.
* Make sure that * in the scanf format specification works for all formats . * Make sure that * in the scanf format specification works for all formats .
* Each UFILE takes up at least 2KB. * Each UFILE takes up at least 2KB.
Look into adding setvbuf() for configurable buffers. Look into adding setvbuf() for configurable buffers.
* This library does buffering. The OS should do this for us already. Check on * This library does buffering. The OS should do this for us already. Check on
skipping to change at line 286 skipping to change at line 287
const char *locale); const char *locale);
/** /**
* Close a UFILE. * Close a UFILE.
* @param file The UFILE to close. * @param file The UFILE to close.
* @stable ICU 3.0 * @stable ICU 3.0
*/ */
U_DRAFT void U_EXPORT2 U_DRAFT void U_EXPORT2
u_fclose(UFILE *file); u_fclose(UFILE *file);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUFILEPointer
* "Smart pointer" class, closes a UFILE via u_fclose().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUFILEPointer, UFILE, u_fclose);
U_NAMESPACE_END
#endif
/** /**
* Tests if the UFILE is at the end of the file stream. * Tests if the UFILE is at the end of the file stream.
* @param f The UFILE from which to read. * @param f The UFILE from which to read.
* @return Returns TRUE after the first read operation that attempts to * @return Returns TRUE after the first read operation that attempts to
* read past the end of the file. It returns FALSE if the current position is * read past the end of the file. It returns FALSE if the current position is
* not end of file. * not end of file.
* @stable ICU 3.0 * @stable ICU 3.0
*/ */
U_DRAFT UBool U_EXPORT2 U_DRAFT UBool U_EXPORT2
u_feof(UFILE *f); u_feof(UFILE *f);
 End of changes. 2 change blocks. 
0 lines changed or deleted 20 lines changed or added


 ustring.h   ustring.h 
skipping to change at line 26 skipping to change at line 26
#ifndef USTRING_H #ifndef USTRING_H
#define USTRING_H #define USTRING_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#include "unicode/putil.h" #include "unicode/putil.h"
#include "unicode/uiter.h" #include "unicode/uiter.h"
/** Simple declaration for u_strToTitle() to avoid including unicode/ubrk.h . @stable ICU 2.1*/ /** Simple declaration for u_strToTitle() to avoid including unicode/ubrk.h . @stable ICU 2.1*/
#ifndef UBRK_TYPEDEF_UBREAK_ITERATOR #ifndef UBRK_TYPEDEF_UBREAK_ITERATOR
# define UBRK_TYPEDEF_UBREAK_ITERATOR # define UBRK_TYPEDEF_UBREAK_ITERATOR
typedef void UBreakIterator; typedef struct UBreakIterator UBreakIterator;
#endif #endif
/** /**
* \file * \file
* \brief C API: Unicode string handling functions * \brief C API: Unicode string handling functions
* *
* These C API functions provide general Unicode string handling. * These C API functions provide general Unicode string handling.
* *
* Some functions are equivalent in name, signature, and behavior to the AN SI C <string.h> * Some functions are equivalent in name, signature, and behavior to the AN SI C <string.h>
* functions. (For example, they do not check for bad arguments like NULL s tring pointers.) * functions. (For example, they do not check for bad arguments like NULL s tring pointers.)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 utext.h   utext.h 
/* /*
*************************************************************************** **** *************************************************************************** ****
* *
* Copyright (C) 2004-2008, International Business Machines * Copyright (C) 2004-2009, International Business Machines
* Corporation and others. All Rights Reserved. * Corporation and others. All Rights Reserved.
* *
*************************************************************************** **** *************************************************************************** ****
* file name: utext.h * file name: utext.h
* encoding: US-ASCII * encoding: US-ASCII
* tab size: 8 (not used) * tab size: 8 (not used)
* indentation:4 * indentation:4
* *
* created on: 2004oct06 * created on: 2004oct06
* created by: Markus W. Scherer * created by: Markus W. Scherer
skipping to change at line 138 skipping to change at line 138
* *
* Any existing UText passed to an open function _must_ have been initializ ed, * Any existing UText passed to an open function _must_ have been initializ ed,
* either by the UTEXT_INITIALIZER, or by having been originally heap-alloc ated * either by the UTEXT_INITIALIZER, or by having been originally heap-alloc ated
* by an open function. Passing NULL will cause the open function to * by an open function. Passing NULL will cause the open function to
* heap-allocate and fully initialize a new UText. * heap-allocate and fully initialize a new UText.
* *
*/ */
#include "unicode/utypes.h" #include "unicode/utypes.h"
#ifdef XP_CPLUSPLUS #ifdef XP_CPLUSPLUS
#include "unicode/localpointer.h"
#include "unicode/rep.h" #include "unicode/rep.h"
#include "unicode/unistr.h" #include "unicode/unistr.h"
#include "unicode/chariter.h" #include "unicode/chariter.h"
#endif #endif
U_CDECL_BEGIN U_CDECL_BEGIN
struct UText; struct UText;
typedef struct UText UText; /**< C typedef for struct UText. @stable ICU 3. 6 */ typedef struct UText UText; /**< C typedef for struct UText. @stable ICU 3. 6 */
skipping to change at line 177 skipping to change at line 178
* @return NULL if the UText struct was deleted by the close. If the U Text struct * @return NULL if the UText struct was deleted by the close. If the U Text struct
* was originally provided by the caller to the open function, it is * was originally provided by the caller to the open function, it is
* returned by this function, and may be safely used again in * returned by this function, and may be safely used again in
* a subsequent utext_open. * a subsequent utext_open.
* *
* @stable ICU 3.4 * @stable ICU 3.4
*/ */
U_STABLE UText * U_EXPORT2 U_STABLE UText * U_EXPORT2
utext_close(UText *ut); utext_close(UText *ut);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUTextPointer
* "Smart pointer" class, closes a UText via utext_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
U_NAMESPACE_END
#endif
/** /**
* Open a read-only UText implementation for UTF-8 strings. * Open a read-only UText implementation for UTF-8 strings.
* *
* \htmlonly * \htmlonly
* Any invalid UTF-8 in the input will be handled in this way: * Any invalid UTF-8 in the input will be handled in this way:
* a sequence of bytes that has the form of a truncated, but otherwise vali d, * a sequence of bytes that has the form of a truncated, but otherwise vali d,
* UTF-8 sequence will be replaced by a single unicode replacement characte r, \uFFFD. * UTF-8 sequence will be replaced by a single unicode replacement characte r, \uFFFD.
* Any other illegal bytes will each be replaced by a \uFFFD. * Any other illegal bytes will each be replaced by a \uFFFD.
* \endhtmlonly * \endhtmlonly
* *
 End of changes. 3 change blocks. 
1 lines changed or deleted 21 lines changed or added


 utrans.h   utrans.h 
/* /*
*************************************************************************** **** *************************************************************************** ****
* Copyright (C) 1997-2005, International Business Machines * Copyright (C) 1997-2009, International Business Machines
* Corporation and others. All Rights Reserved. * Corporation and others. All Rights Reserved.
*************************************************************************** **** *************************************************************************** ****
* Date Name Description * Date Name Description
* 06/21/00 aliu Creation. * 06/21/00 aliu Creation.
*************************************************************************** **** *************************************************************************** ****
*/ */
#ifndef UTRANS_H #ifndef UTRANS_H
#define UTRANS_H #define UTRANS_H
#include "unicode/utypes.h" #include "unicode/utypes.h"
#if !UCONFIG_NO_TRANSLITERATION #if !UCONFIG_NO_TRANSLITERATION
#include "unicode/localpointer.h"
#include "unicode/urep.h" #include "unicode/urep.h"
#include "unicode/parseerr.h" #include "unicode/parseerr.h"
#include "unicode/uenum.h" #include "unicode/uenum.h"
/******************************************************************** /********************************************************************
* General Notes * General Notes
******************************************************************** ********************************************************************
*/ */
/** /**
* \file * \file
skipping to change at line 238 skipping to change at line 239
/** /**
* Close a transliterator. Any non-NULL pointer returned by * Close a transliterator. Any non-NULL pointer returned by
* utrans_openXxx() or utrans_clone() should eventually be closed. * utrans_openXxx() or utrans_clone() should eventually be closed.
* @param trans the transliterator to be closed. * @param trans the transliterator to be closed.
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
U_STABLE void U_EXPORT2 U_STABLE void U_EXPORT2
utrans_close(UTransliterator* trans); utrans_close(UTransliterator* trans);
#ifdef XP_CPLUSPLUS
U_NAMESPACE_BEGIN
/**
* \class LocalUTransliteratorPointer
* "Smart pointer" class, closes a UTransliterator via utrans_close().
* For most methods see the LocalPointerBase base class.
*
* @see LocalPointerBase
* @see LocalPointer
* @draft ICU 4.4
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUTransliteratorPointer, UTransliterator, u
trans_close);
U_NAMESPACE_END
#endif
/** /**
* Return the programmatic identifier for this transliterator. * Return the programmatic identifier for this transliterator.
* If this identifier is passed to utrans_openU(), it will open * If this identifier is passed to utrans_openU(), it will open
* a transliterator equivalent to this one, if the ID has been * a transliterator equivalent to this one, if the ID has been
* registered. * registered.
* *
* @param trans the transliterator to return the ID of. * @param trans the transliterator to return the ID of.
* @param resultLength pointer to an output variable receiving the length * @param resultLength pointer to an output variable receiving the length
* of the ID string; can be NULL * of the ID string; can be NULL
* @return the NUL-terminated ID string. This pointer remains * @return the NUL-terminated ID string. This pointer remains
 End of changes. 3 change blocks. 
1 lines changed or deleted 22 lines changed or added


 uvernum.h   uvernum.h 
skipping to change at line 44 skipping to change at line 44
/** The current ICU minor version as an integer. /** The current ICU minor version as an integer.
* This value will change in the subsequent releases of ICU * This value will change in the subsequent releases of ICU
* @stable ICU 2.6 * @stable ICU 2.6
*/ */
#define U_ICU_VERSION_MINOR_NUM 3 #define U_ICU_VERSION_MINOR_NUM 3
/** The current ICU patchlevel version as an integer. /** The current ICU patchlevel version as an integer.
* This value will change in the subsequent releases of ICU * This value will change in the subsequent releases of ICU
* @stable ICU 2.4 * @stable ICU 2.4
*/ */
#define U_ICU_VERSION_PATCHLEVEL_NUM 2 #define U_ICU_VERSION_PATCHLEVEL_NUM 3
/** The current ICU build level version as an integer. /** The current ICU build level version as an integer.
* This value is for use by ICU clients. It defaults to 0. * This value is for use by ICU clients. It defaults to 0.
* @draft ICU 4.0 * @draft ICU 4.0
*/ */
#ifndef U_ICU_VERSION_BUILDLEVEL_NUM #ifndef U_ICU_VERSION_BUILDLEVEL_NUM
#define U_ICU_VERSION_BUILDLEVEL_NUM 0 #define U_ICU_VERSION_BUILDLEVEL_NUM 0
#endif #endif
/** Glued version suffix for renamers /** Glued version suffix for renamers
skipping to change at line 75 skipping to change at line 75
*/ */
#ifndef U_ICU_ENTRY_POINT_RENAME #ifndef U_ICU_ENTRY_POINT_RENAME
#define U_ICU_ENTRY_POINT_RENAME(x) x ## _43 #define U_ICU_ENTRY_POINT_RENAME(x) x ## _43
#endif #endif
/** The current ICU library version as a dotted-decimal string. The patchle vel /** The current ICU library version as a dotted-decimal string. The patchle vel
* only appears in this string if it non-zero. * only appears in this string if it non-zero.
* This value will change in the subsequent releases of ICU * This value will change in the subsequent releases of ICU
* @stable ICU 2.4 * @stable ICU 2.4
*/ */
#define U_ICU_VERSION "4.3.2" #define U_ICU_VERSION "4.3.3"
/** The current ICU library major/minor version as a string without dots, f or library name suffixes. /** The current ICU library major/minor version as a string without dots, f or library name suffixes.
* This value will change in the subsequent releases of ICU * This value will change in the subsequent releases of ICU
* @stable ICU 2.6 * @stable ICU 2.6
*/ */
#define U_ICU_VERSION_SHORT "43" #define U_ICU_VERSION_SHORT "43"
/** Data version in ICU4C. /** Data version in ICU4C.
* * @draft ICU 4.4 * * @draft ICU 4.4
* */ * */
#define U_ICU_DATA_VERSION "4.3.2" #define U_ICU_DATA_VERSION "4.3.3"
/*========================================================================= == /*========================================================================= ==
* ICU collation framework version information * ICU collation framework version information
* Version info that can be obtained from a collator is affected by these * Version info that can be obtained from a collator is affected by these
* numbers in a secret and magic way. Please use collator version as whole * numbers in a secret and magic way. Please use collator version as whole
*========================================================================= == *========================================================================= ==
*/ */
/** Collation runtime version (sort key generator, strcoll). /** Collation runtime version (sort key generator, strcoll).
* If the version is different, sortkeys for the same string could be diffe rent * If the version is different, sortkeys for the same string could be diffe rent
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/