15#if !UCONFIG_NO_FORMATTING
17#if U_SHOW_CPLUSPLUS_API
C++ API: "Smart pointers" for use with and in ICU4C C++ code.
struct UGenderInfo UGenderInfo
Opaque UGenderInfo object for use in C programs.
@ UGENDER_FEMALE
Female gender.
@ UGENDER_MALE
Male gender.
@ UGENDER_OTHER
Neutral gender.
U_CAPI const UGenderInfo * ugender_getInstance(const char *locale, UErrorCode *status)
Opens a new UGenderInfo object given locale.
U_CAPI UGender ugender_getListGender(const UGenderInfo *genderInfo, const UGender *genders, int32_t size, UErrorCode *status)
Given a list, returns the gender of the list as a whole.
#define U_CAPI
This is used to declare a function as a public ICU C API.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.