API addition proposal: ucol_getContractions

Vladimir Weinstein <[email protected]> Thu, 15 Apr 2004 18:23:44 -0700
Newsgroups gmane.comp.lib.icu.general
Message-ID <[email protected]>
Expiration: Thu, 2004-apr-22

This proposal seeks to add an API that would return a UnicodeSet consisting of contractions in effect for a given 
collator. This includes both the tailoring contractions and the UCA contractions.

/**
  * Get a set containing the contractions defined by the collator. The set includes
  * both the UCA contractions and the contractions defined by the collator
  * @param coll collator
  * @param conts the set to hold the result
  * @param status to hold the error code
  * @return the size of the contraction set
  *
  * @draft ICU 3.0
  */
U_CAPI int32_t U_EXPORT2
ucol_getContractions( const UCollator *coll,
                   USet *conts,
                   UErrorCode *status);

Regards,
v.

-- 
Vladimir Weinstein, IBM GCoC-Unicode/ICU  San Jose, CA [email protected]