ICU-1728 internal function for CodePointOrder comparisons, works with surrogate code points

X-SVN-Rev: 8611
This commit is contained in:
Markus Scherer 2002-05-13 23:01:38 +00:00
parent e64cea6ab7
commit 63f6acf6d7

View file

@ -25,6 +25,18 @@
typedef void *UBreakIterator;
#endif
/**
* Compare two strings in code point order.
* Works in strcmp style (both lengths -1),
* strncmp style (lengths equal and >=0, flag TRUE),
* and memcmp/UnicodeString style (at least one length >=0).
* @internal
*/
U_CFUNC int32_t
u_strCompareCodePointOrder(const UChar *s1, int32_t length1,
const UChar *s2, int32_t length2,
UBool strncmpStyle);
/**
* Are the Unicode properties loaded?
* This must be used before internal functions are called that do