13 #if !UCONFIG_NO_FORMATTING
42 typedef struct UPluralRules UPluralRules;
53 uplrules_open(
const char *locale,
62 uplrules_close(UPluralRules *uplrules);
65 #if U_SHOW_CPLUSPLUS_API
78 U_DEFINE_LOCAL_OPEN_POINTER(LocalUPluralRulesPointer, UPluralRules, uplrules_close);
97 uplrules_select(
const UPluralRules *uplrules,
99 UChar *keyword, int32_t capacity,
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
C++ API: "Smart pointers" for use with and in ICU4C C++ code.
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Basic definitions for ICU, for both C and C++ APIs.
#define U_DRAFT
This is used to declare a function as a draft public ICU C API.