356#ifndef U_HIDE_DEPRECATED_API
521#ifndef U_HIDE_DEPRECATED_API
564U_CAPI const char* U_EXPORT2
576U_CAPI const char* U_EXPORT2
676#if U_SHOW_CPLUSPLUS_API
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
int8_t UBool
The ICU boolean type, a signed-byte integer.
#define U_CAPI
This is used to declare a function as a public ICU C API.
char16_t UChar
The base type for UTF-16 code units and pointers.
U_CAPI int32_t uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode)
Writes the script sample character string.
U_CAPI int32_t uscript_getCode(const char *nameOrAbbrOrLocale, UScriptCode *fillIn, int32_t capacity, UErrorCode *err)
Gets the script codes associated with the given locale or ISO 15924 abbreviation or name.
U_CAPI int32_t uscript_getScriptExtensions(UChar32 c, UScriptCode *scripts, int32_t capacity, UErrorCode *errorCode)
Writes code point c's Script_Extensions as a list of UScriptCode values to the output scripts array a...
U_COMMON_API icu::UnicodeString uscript_getSampleUnicodeString(UScriptCode script)
Returns the script sample character string.
UScriptCode
Constants for ISO 15924 script codes.
@ USCRIPT_INSCRIPTIONAL_PAHLAVI
@ USCRIPT_IMPERIAL_ARAMAIC
@ USCRIPT_SIGN_WRITING
Sutton SignWriting.
@ USCRIPT_CODE_LIMIT
One more than the highest normal UScriptCode value.
@ USCRIPT_CANADIAN_ABORIGINAL
Canadian_Aboriginal script.
@ USCRIPT_OLD_NORTH_ARABIAN
@ USCRIPT_TRADITIONAL_HAN
@ USCRIPT_MENDE
Mende Kikakui.
@ USCRIPT_INSCRIPTIONAL_PARTHIAN
@ USCRIPT_MEROITIC_HIEROGLYPHS
@ USCRIPT_UCAS
Canadian_Aboriginal script (alias).
@ USCRIPT_PHONETIC_POLLARD
@ USCRIPT_KHITAN_SMALL_SCRIPT
@ USCRIPT_NYIAKENG_PUACHUE_HMONG
@ USCRIPT_HANIFI_ROHINGYA
@ USCRIPT_OLD_CHURCH_SLAVONIC_CYRILLIC
@ USCRIPT_ANATOLIAN_HIEROGLYPHS
@ USCRIPT_MATHEMATICAL_NOTATION
@ USCRIPT_MAYAN_HIEROGLYPHS
@ USCRIPT_ZANABAZAR_SQUARE
@ USCRIPT_ARABIC_NASTALIQ
@ USCRIPT_HIERATIC_EGYPTIAN
@ USCRIPT_UNWRITTEN_LANGUAGES
@ USCRIPT_DEMOTIC_EGYPTIAN
@ USCRIPT_OLD_SOUTH_ARABIAN
@ USCRIPT_PSALTER_PAHLAVI
@ USCRIPT_EGYPTIAN_HIEROGLYPHS
@ USCRIPT_MEROITIC_CURSIVE
@ USCRIPT_KATAKANA_OR_HIRAGANA
New script code in Unicode 4.0.1.
@ USCRIPT_DUPLOYAN_SHORTAND
@ USCRIPT_ESTRANGELO_SYRIAC
@ USCRIPT_HAN_WITH_BOPOMOFO
@ USCRIPT_CAUCASIAN_ALBANIAN
U_CAPI UBool uscript_hasScript(UChar32 c, UScriptCode sc)
Do the Script_Extensions of code point c contain script sc? If c does not have explicit Script_Extens...
UScriptUsage
Script usage constants.
@ USCRIPT_USAGE_EXCLUDED
Candidate for Exclusion from Identifiers.
@ USCRIPT_USAGE_RECOMMENDED
Recommended script.
@ USCRIPT_USAGE_LIMITED_USE
Limited Use script.
@ USCRIPT_USAGE_UNKNOWN
Unknown script usage.
@ USCRIPT_USAGE_ASPIRATIONAL
Aspirational Use script.
@ USCRIPT_USAGE_NOT_ENCODED
Not encoded in Unicode.
U_CAPI UBool uscript_breaksBetweenLetters(UScriptCode script)
Returns true if the script allows line breaks between letters (excluding hyphenation).
U_CAPI UBool uscript_isCased(UScriptCode script)
Returns true if in modern (or most recent) usage of the script case distinctions are customary.
U_CAPI UScriptUsage uscript_getUsage(UScriptCode script)
Returns the script usage according to UAX #31 Unicode Identifier and Pattern Syntax.
U_CAPI const char * uscript_getName(UScriptCode scriptCode)
Returns the long Unicode script name, if there is one.
U_CAPI const char * uscript_getShortName(UScriptCode scriptCode)
Returns the 4-letter ISO 15924 script code, which is the same as the short Unicode script name if Uni...
U_CAPI UBool uscript_isRightToLeft(UScriptCode script)
Returns true if the script is written right-to-left.
U_CAPI UScriptCode uscript_getScript(UChar32 codepoint, UErrorCode *err)
Gets the script code associated with the given codepoint.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.