1 // © 2017 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html 3 #ifndef COLPROBE_H 4 #define COLPROBE_H 5 6 #include "unicode/uniset.h" 7 #include "unicode/normlzr.h" 8 9 typedef int (*CompareFn) (const void *elem1, const void *elem2); 10 typedef int (*GetSortKeyFn) (const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity); 11 //typedef int (__cdecl *CompareFn)(const void *elem1, const void *elem2); 12 void generateRepertoire(const char *locale, UnicodeSet &rep, UBool &hanAppears, UErrorCode &status); 13 UnicodeSet flatten(const UnicodeSet &source, UErrorCode &status); 14 15 //UnicodeSet generateRepertoire(const char *locale); 16 17 #endif 18