U_CAPI UChar32 ucpmap_getRange(const UCPMap *map, UChar32 start, UCPMapRangeOption option, uint32_t surrogateValue, UCPMapValueFilter *filter, const void *context, uint32_t *pValue)
Returns the last code point such that all those from start to there have the same value.
uint32_t UCPMapValueFilter(const void *context, uint32_t value)
Callback function type: Modifies a map value.
U_CAPI uint32_t ucpmap_get(const UCPMap *map, UChar32 c)
Returns the value for a code point as stored in the map, with range checking.
struct UCPMap UCPMap
Abstract map from Unicode code points (U+0000..U+10FFFF) to integer values.
UCPMapRangeOption
Selectors for how ucpmap_getRange() etc.
@ UCPMAP_RANGE_FIXED_LEAD_SURROGATES
ucpmap_getRange() enumerates all same-value ranges as stored in the map, except that lead surrogates ...
@ UCPMAP_RANGE_NORMAL
ucpmap_getRange() enumerates all same-value ranges as stored in the map.
@ UCPMAP_RANGE_FIXED_ALL_SURROGATES
ucpmap_getRange() enumerates all same-value ranges as stored in the map, except that all surrogates (...
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
#define U_CAPI
This is used to declare a function as a public ICU C API.
#define U_CDECL_BEGIN
This is used to begin a declaration of a library private ICU C API.
Basic definitions for ICU, for both C and C++ APIs.