Logo Search packages:      
Sourcecode: icu version File versions  Download package

#define U16_LEAD ( supplementary   )     (UChar)(((supplementary)>>10)+0xd7c0)

Get the lead surrogate (0xd800..0xdbff) for a supplementary code point (0x10000..0x10ffff).

Parameters:
supplementary 32-bit code point (U+10000..U+10ffff)
Returns:
lead surrogate (U+d800..U+dbff) for supplementary ICU 2.4

Definition at line 122 of file utf16.h.

Referenced by RegexMatcher::appendReplacement(), u_fungetc(), u_memchr32(), u_memrchr32(), u_strchr32(), u_strFromJavaModifiedUTF8WithSub(), u_strFromUTF32WithSub(), u_strFromUTF8Lenient(), and u_strrchr32().


Generated by  Doxygen 1.6.0   Back to index