X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/46f4442e9a5a4f3b98b7c1083586332f6a8a99a4..4388f060552cc537e71e957d32f35e9d75a61233:/icuSources/i18n/ucol_elm.h diff --git a/icuSources/i18n/ucol_elm.h b/icuSources/i18n/ucol_elm.h index 3f78003f..e200b51c 100644 --- a/icuSources/i18n/ucol_elm.h +++ b/icuSources/i18n/ucol_elm.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 2000-2008, International Business Machines +* Copyright (C) 2000-2011, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -22,6 +22,7 @@ #define UCOL_UCAELEMS_H #include "unicode/utypes.h" +#include "unicode/uniset.h" #include "ucol_tok.h" #if !UCONFIG_NO_COLLATION @@ -69,7 +70,6 @@ typedef struct { uint32_t sizePrim[128]; uint32_t sizeSec[128]; uint32_t sizeTer[128]; - UBool variableTop; UBool caseBit; UBool isThai; } UCAElements; @@ -134,7 +134,10 @@ U_CAPI tempUCATable * U_EXPORT2 uprv_uca_initTempTable(UCATableHeader *image, UC U_CAPI void U_EXPORT2 uprv_uca_closeTempTable(tempUCATable *t); U_CAPI uint32_t U_EXPORT2 uprv_uca_addAnElement(tempUCATable *t, UCAElements *element, UErrorCode *status); U_CAPI UCATableHeader * U_EXPORT2 uprv_uca_assembleTable(tempUCATable *t, UErrorCode *status); -U_CAPI int32_t U_EXPORT2 uprv_uca_canonicalClosure(tempUCATable *t, UColTokenParser *src, UErrorCode *status); + +U_CAPI int32_t U_EXPORT2 +uprv_uca_canonicalClosure(tempUCATable *t, UColTokenParser *src, + icu::UnicodeSet *closed, UErrorCode *status); U_CDECL_END