ICU4C Proposal: uset_applyPattern

"Ram Viswanadha" <[email protected]>
Newsgroups gmane.comp.lib.icu.general
Message-ID <[email protected]>
Motivation: The C API for Unicode set is a thin wrapper for the C++ API. The
C API is not fully fleshed out. The uset_applyPattern API is needed for some
APIs that are going into ICU 2.8 release.

Expires: 5th Nov 2003

/**
 * Modifies the set to represent the set specified by the given
 * pattern. See the UnicodeSet class description for the syntax of
 * the pattern language.
 * @param set               The set to which the pattern is to be applied.
 * @param pattern           A pointer to UChar string specifying what
characters are in the set
 * @param patternLength     The length of the UChar string
 * @param status            Returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if
the pattern
 * contains a syntax error.
 * @return Retruns the pointer to the passed in USet
 * @draft ICU 2.8
 */
U_CAPI USet* U_EXPORT2
uset_applyPattern(USet *set,
                  const UChar* pattern, int32_t patternLength,
                  UErrorCode* status);

Best Regards,

Ram Viswanadha
ICU
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.