From: ByungWoo Lee Date: Fri, 18 Dec 2015 05:34:44 +0000 (+0900) Subject: Deprecated parameters stack_buffer and p_buffer_size of i18n_ubrk_safe_clone() X-Git-Tag: accepted/tizen/mobile/20151229.070803~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F17%2F54817%2F2;p=platform%2Fcore%2Fapi%2Fbase-utils.git Deprecated parameters stack_buffer and p_buffer_size of i18n_ubrk_safe_clone() Change-Id: I04a44c06a3c8cc8c215de0c206eee1568fccb116 --- diff --git a/src/include/mobile/utils_i18n_ubrk.h b/src/include/mobile/utils_i18n_ubrk.h index e755473..23cf7aa 100755 --- a/src/include/mobile/utils_i18n_ubrk.h +++ b/src/include/mobile/utils_i18n_ubrk.h @@ -95,10 +95,10 @@ int i18n_ubrk_create_rules (const i18n_uchar *rules, int32_t rules_length, const * @remarks Error codes are described in #i18n_error_code_e description. * @since_tizen 2.3.1 * @param[in] break_iter iterator to be cloned. Must not be @c NULL. - * @param[in] stack_buffer User allocated space for the new clone. If @c NULL new memory will be allocated. + * @param[in] stack_buffer (Deprecated Since 3.0. Use NULL instead.) User allocated space for the new clone. If @c NULL new memory will be allocated. * If buffer is not large enough, new memory will be allocated. * Clients can use the #I18N_U_BRK_SAFECLONE_BUFFERSIZE. This will probably be enough to avoid memory allocations. - * @param[in] p_buffer_size A pointer to size of allocated space. + * @param[in] p_buffer_size (Deprecated Since 3.0. Use NULL instead.) A pointer to size of allocated space. * If *p_buffer_size == 0, a sufficient size for use in cloning will * be returned ('pre-flighting') * If *p_buffer_size is not enough for a stack-based safe clone, diff --git a/src/include/wearable/utils_i18n_ubrk.h b/src/include/wearable/utils_i18n_ubrk.h index e755473..23cf7aa 100755 --- a/src/include/wearable/utils_i18n_ubrk.h +++ b/src/include/wearable/utils_i18n_ubrk.h @@ -95,10 +95,10 @@ int i18n_ubrk_create_rules (const i18n_uchar *rules, int32_t rules_length, const * @remarks Error codes are described in #i18n_error_code_e description. * @since_tizen 2.3.1 * @param[in] break_iter iterator to be cloned. Must not be @c NULL. - * @param[in] stack_buffer User allocated space for the new clone. If @c NULL new memory will be allocated. + * @param[in] stack_buffer (Deprecated Since 3.0. Use NULL instead.) User allocated space for the new clone. If @c NULL new memory will be allocated. * If buffer is not large enough, new memory will be allocated. * Clients can use the #I18N_U_BRK_SAFECLONE_BUFFERSIZE. This will probably be enough to avoid memory allocations. - * @param[in] p_buffer_size A pointer to size of allocated space. + * @param[in] p_buffer_size (Deprecated Since 3.0. Use NULL instead.) A pointer to size of allocated space. * If *p_buffer_size == 0, a sufficient size for use in cloning will * be returned ('pre-flighting') * If *p_buffer_size is not enough for a stack-based safe clone,