|
ICU 73.2
73.2
|
00001 // © 2018 and later: Unicode, Inc. and others. 00002 // License & terms of use: http://www.unicode.org/copyright.html 00003 00004 // ucpmap.h 00005 // created: 2018sep03 Markus W. Scherer 00006 00007 #ifndef __UCPMAP_H__ 00008 #define __UCPMAP_H__ 00009 00010 #include "unicode/utypes.h" 00011 00012 U_CDECL_BEGIN 00013 00030 typedef struct UCPMap UCPMap; 00031 00041 enum UCPMapRangeOption { 00047 UCPMAP_RANGE_NORMAL, 00063 UCPMAP_RANGE_FIXED_LEAD_SURROGATES, 00079 UCPMAP_RANGE_FIXED_ALL_SURROGATES 00080 }; 00081 #ifndef U_IN_DOXYGEN 00082 typedef enum UCPMapRangeOption UCPMapRangeOption; 00083 #endif 00084 00095 U_CAPI uint32_t U_EXPORT2 00096 ucpmap_get(const UCPMap *map, UChar32 c); 00097 00112 typedef uint32_t U_CALLCONV 00113 UCPMapValueFilter(const void *context, uint32_t value); 00114 00151 U_CAPI UChar32 U_EXPORT2 00152 ucpmap_getRange(const UCPMap *map, UChar32 start, 00153 UCPMapRangeOption option, uint32_t surrogateValue, 00154 UCPMapValueFilter *filter, const void *context, uint32_t *pValue); 00155 00156 U_CDECL_END 00157 00158 #endif
1.7.6.1