aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/include/unicode/ugender.h
diff options
context:
space:
mode:
authorneksard <neksard@yandex-team.ru>2022-02-10 16:45:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:23 +0300
commit8f7cf138264e0caa318144bf8a2c950e0b0a8593 (patch)
tree83bf5c8c8047c42d8475e6095df90ccdc3d1b57f /contrib/libs/icu/include/unicode/ugender.h
parentd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (diff)
downloadydb-8f7cf138264e0caa318144bf8a2c950e0b0a8593.tar.gz
Restoring authorship annotation for <neksard@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/icu/include/unicode/ugender.h')
-rw-r--r--contrib/libs/icu/include/unicode/ugender.h162
1 files changed, 81 insertions, 81 deletions
diff --git a/contrib/libs/icu/include/unicode/ugender.h b/contrib/libs/icu/include/unicode/ugender.h
index 903f3dd5de..d8d03e9a6b 100644
--- a/contrib/libs/icu/include/unicode/ugender.h
+++ b/contrib/libs/icu/include/unicode/ugender.h
@@ -1,84 +1,84 @@
// © 2016 and later: Unicode, Inc. and others.
-// License & terms of use: http://www.unicode.org/copyright.html
-/*
-*****************************************************************************************
-* Copyright (C) 2010-2013, International Business Machines
-* Corporation and others. All Rights Reserved.
-*****************************************************************************************
-*/
-
-#ifndef UGENDER_H
-#define UGENDER_H
-
-#include "unicode/utypes.h"
-
-#if !UCONFIG_NO_FORMATTING
-
-#include "unicode/localpointer.h"
-
-/**
- * \file
- * \brief C API: The purpose of this API is to compute the gender of a list as a
- * whole given the gender of each element.
- *
- */
-
-/**
- * Genders
- * @stable ICU 50
- */
-enum UGender {
- /**
- * Male gender.
- * @stable ICU 50
- */
- UGENDER_MALE,
- /**
- * Female gender.
- * @stable ICU 50
- */
- UGENDER_FEMALE,
- /**
- * Neutral gender.
- * @stable ICU 50
- */
- UGENDER_OTHER
-};
-/**
- * @stable ICU 50
- */
-typedef enum UGender UGender;
-
+// License & terms of use: http://www.unicode.org/copyright.html
+/*
+*****************************************************************************************
+* Copyright (C) 2010-2013, International Business Machines
+* Corporation and others. All Rights Reserved.
+*****************************************************************************************
+*/
+
+#ifndef UGENDER_H
+#define UGENDER_H
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+#include "unicode/localpointer.h"
+
+/**
+ * \file
+ * \brief C API: The purpose of this API is to compute the gender of a list as a
+ * whole given the gender of each element.
+ *
+ */
+
+/**
+ * Genders
+ * @stable ICU 50
+ */
+enum UGender {
+ /**
+ * Male gender.
+ * @stable ICU 50
+ */
+ UGENDER_MALE,
+ /**
+ * Female gender.
+ * @stable ICU 50
+ */
+ UGENDER_FEMALE,
+ /**
+ * Neutral gender.
+ * @stable ICU 50
+ */
+ UGENDER_OTHER
+};
+/**
+ * @stable ICU 50
+ */
+typedef enum UGender UGender;
+
struct UGenderInfo;
-/**
- * Opaque UGenderInfo object for use in C programs.
- * @stable ICU 50
- */
-typedef struct UGenderInfo UGenderInfo;
-
-/**
- * Opens a new UGenderInfo object given locale.
- * @param locale The locale for which the rules are desired.
- * @param status UErrorCode pointer
- * @return A UGenderInfo for the specified locale, or NULL if an error occurred.
- * @stable ICU 50
- */
-U_STABLE const UGenderInfo* U_EXPORT2
-ugender_getInstance(const char *locale, UErrorCode *status);
-
-
-/**
- * Given a list, returns the gender of the list as a whole.
- * @param genderInfo pointer that ugender_getInstance returns.
- * @param genders the gender of each element in the list.
- * @param size the size of the list.
- * @param status A pointer to a UErrorCode to receive any errors.
- * @return The gender of the list.
- * @stable ICU 50
- */
-U_STABLE UGender U_EXPORT2
+/**
+ * Opaque UGenderInfo object for use in C programs.
+ * @stable ICU 50
+ */
+typedef struct UGenderInfo UGenderInfo;
+
+/**
+ * Opens a new UGenderInfo object given locale.
+ * @param locale The locale for which the rules are desired.
+ * @param status UErrorCode pointer
+ * @return A UGenderInfo for the specified locale, or NULL if an error occurred.
+ * @stable ICU 50
+ */
+U_STABLE const UGenderInfo* U_EXPORT2
+ugender_getInstance(const char *locale, UErrorCode *status);
+
+
+/**
+ * Given a list, returns the gender of the list as a whole.
+ * @param genderInfo pointer that ugender_getInstance returns.
+ * @param genders the gender of each element in the list.
+ * @param size the size of the list.
+ * @param status A pointer to a UErrorCode to receive any errors.
+ * @return The gender of the list.
+ * @stable ICU 50
+ */
+U_STABLE UGender U_EXPORT2
ugender_getListGender(const UGenderInfo* genderInfo, const UGender *genders, int32_t size, UErrorCode *status);
-
-#endif /* #if !UCONFIG_NO_FORMATTING */
-
-#endif
+
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
+#endif