From 4cb97a87ae4e7ce7813e997d1d3eceee697146fd Mon Sep 17 00:00:00 2001 From: JinWang An Date: Thu, 20 Aug 2020 20:17:58 +0900 Subject: [PATCH] Fix doxgen Change-Id: I15c7b9713a8b12c3e3ab641005dfa736631b38be Signed-off-by: JinWang An --- src/include/utils_i18n_uchar.h | 30 +++++++++++++++--------------- src/include/utils_i18n_ucollator.h | 1 - src/include/utils_i18n_uset.h | 4 ++-- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/include/utils_i18n_uchar.h b/src/include/utils_i18n_uchar.h index 5c5f5b7..069e4d0 100644 --- a/src/include/utils_i18n_uchar.h +++ b/src/include/utils_i18n_uchar.h @@ -121,17 +121,17 @@ extern "C" { /** * @brief Gets the property value for an enumerated property for a code point. * @details - * - * int property_value;\n - * #i18n_uchar_u_east_asian_width_e east_asian_width;\n - * #i18n_uchar_get_int_property_value (c, #I18N_UCHAR_EAST_ASIAN_WIDTH, &property_value);\n - * east_asian_width = (#i18n_uchar_u_east_asian_width_e)property_value;\n - * - * int property_value;\n - * bool is_ideographic;\n - * #i18n_uchar_get_int_property_value(c, #I18N_UCHAR_IDEOGRAPHIC, &property_value);\n - * is_ideographic = (bool)property_value;\n - * + * @code + int property_value; + + i18n_uchar_u_east_asian_width_e east_asian_width; + i18n_uchar_get_int_property_value (c, I18N_UCHAR_EAST_ASIAN_WIDTH, &property_value); + east_asian_width = (i18n_uchar_u_east_asian_width_e)property_value; + + bool is_ideographic; + i18n_uchar_get_int_property_value(c, I18N_UCHAR_IDEOGRAPHIC, &property_value); + is_ideographic = (bool)property_value; + * @endcode * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * * @param[in] c The code point to test. @@ -227,7 +227,7 @@ int i18n_uchar_is_alphabetic(i18n_uchar32 c, i18n_ubool *is_alphabetic); * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter * @see #I18N_UCHAR_LOWERCASE * @see i18n_uchar_is_lower() - * @see i18n_has_binary_property() + * @see i18n_uchar_has_binary_property() */ int i18n_uchar_is_lowercase(i18n_uchar32 c, i18n_ubool *is_lowercase); @@ -638,7 +638,7 @@ int i18n_uchar_is_java_space_char(i18n_uchar32 c, i18n_ubool *is_java_space_char * @retval #I18N_ERROR_NONE Successful * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter * @see i18n_uchar_is_space() - * @see i18n_uchar_js_java_space_char() + * @see i18n_uchar_is_java_space_char() * @see i18n_uchar_is_white_space() */ int i18n_uchar_is_whitespace(i18n_uchar32 c, i18n_ubool *is_whitespace); @@ -927,7 +927,7 @@ int i18n_uchar_char_name(i18n_uchar32 code, * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter * @see i18n_uchar_enum_char_names() * @see i18n_uchar_char_name() - * @see i18n_uchar_name_choice() + * @see i18n_uchar_u_char_name_choice_e */ int i18n_uchar_char_from_name(i18n_uchar_u_char_name_choice_e name_choice, const char *name, @@ -1337,7 +1337,7 @@ int i18n_uchar_digit(i18n_uchar32 ch, int8_t radix, int32_t *numerical_value); * @retval #I18N_ERROR_NONE Successful * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter * @see i18n_uchar_digit() - * @see i18n_uchar_digit_value() + * @see i18n_uchar_char_digit_value() * @see i18n_uchar_is_digit() */ int i18n_uchar_for_digit(int32_t digit, int8_t radix, i18n_uchar32 *representation); diff --git a/src/include/utils_i18n_ucollator.h b/src/include/utils_i18n_ucollator.h index c33695a..d5396f1 100644 --- a/src/include/utils_i18n_ucollator.h +++ b/src/include/utils_i18n_ucollator.h @@ -869,7 +869,6 @@ int i18n_ucollator_get_max_variable(i18n_ucollator_h collator, i18n_ucollator_re * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter * @see i18n_ucollator_get_max_variable() * @see i18n_ucollator_get_variable_top() - * @see i18n_ucollator_restore_variable_top() */ int i18n_ucollator_get_variable_top(i18n_ucollator_h collator, uint32_t *weight); diff --git a/src/include/utils_i18n_uset.h b/src/include/utils_i18n_uset.h index 772a75b..809cad3 100644 --- a/src/include/utils_i18n_uset.h +++ b/src/include/utils_i18n_uset.h @@ -328,7 +328,7 @@ i18n_ubool i18n_uset_resembles_pattern(const i18n_uchar *pattern, int32_t patter /** * @brief Returns a string representation of the given @a set. - * @details If the result of calling this function is passed to an i18n_uset_pattern_create(), + * @details If the result of calling this function is passed to an i18n_uset_create_pattern(), * it will produce another set that is equal to this one. * @remarks The specific error code can be obtained using the get_last_result() method. * Error codes are described in Exceptions section and in #i18n_error_code_e description. @@ -345,7 +345,7 @@ i18n_ubool i18n_uset_resembles_pattern(const i18n_uchar *pattern, int32_t patter * @exception #I18N_ERROR_NONE Successful * @exception #I18N_ERROR_INVALID_PARAMETER Invalid function parameter * - * @see i18n_uset_pattern_create() + * @see i18n_uset_create_pattern() */ int32_t i18n_uset_to_pattern(const i18n_uset_h set, i18n_uchar *result, int32_t result_capacity, i18n_ubool escape_unprintable); -- 2.7.4