From: Jihoon Kim Date: Fri, 29 Jan 2021 07:04:29 +0000 (+0900) Subject: Fix typo X-Git-Tag: submit/tizen_6.0/20210216.011330~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3349ae3f34f846e60a1ad63177bf702a6e3c5ad7;p=platform%2Fcore%2Fuifw%2Fsmartreply.git Fix typo Change-Id: I7b4318fead3d69ed9f6ef75d0b6c9945a221a734 Signed-off-by: Jihoon Kim --- diff --git a/include/smartreply_service.h b/include/smartreply_service.h index 0aabd25..1402cbc 100755 --- a/include/smartreply_service.h +++ b/include/smartreply_service.h @@ -89,7 +89,7 @@ int smartreply_service_is_language_supported(const char* language, bool* is_enab * @retval SMARTREPLY_ERROR_OPERATION_FAILED Operation failed because of a system error * @retval SMARTREPLY_ERROR_OUT_OF_MEMORY Out of memory * @see smartreply_service_get_nth_reply_message() - * @see smartreply_service_destory_list() + * @see smartreply_service_destroy_list() */ int smartreply_service_get_replies(const char* app_id, const char* sender, const char* message, smartreply_reply_h** candidate_list, int* count); @@ -106,7 +106,7 @@ int smartreply_service_get_replies(const char* app_id, const char* sender, * @param[in] candidate_list Candidate answer list * @param[in] count The total number of the replies * @see smartreply_service_get_nth_reply_message() - * @see smartreply_service_destory_list() + * @see smartreply_service_destroy_list() */ typedef void (*smartreply_service_replies_received_cb)(int request_id, int error, smartreply_reply_h* candidate_list, int count); @@ -119,7 +119,7 @@ typedef void (*smartreply_service_replies_received_cb)(int request_id, int error * @param[in] callback Callback function * @return Incremental request ID which will also be passed by the first parameter of callback function * @see smartreply_service_get_nth_reply_message() - * @see smartreply_service_destory_list() + * @see smartreply_service_destroy_list() * @see smartreply_service_replies_received() */ int smartreply_service_get_replies_async(const char* app_id, const char* sender, @@ -156,6 +156,7 @@ int smartreply_service_get_nth_reply_message(smartreply_reply_h* reply_list, */ int smartreply_service_get_nth_reply_message_with_type(smartreply_reply_h* reply_list, int index, char** type, char** message); + /** * @brief Deletes reply_list struct * @since_tizen 2.3.1 @@ -166,7 +167,7 @@ int smartreply_service_get_nth_reply_message_with_type(smartreply_reply_h* reply * @pre smartreply_service_get_replies_async() * @pre smartreply_service_get_replies() */ -int smartreply_service_destory_list(smartreply_reply_h* reply_list); +int smartreply_service_destroy_list(smartreply_reply_h* reply_list); /** * @brief Records users' reply to history to update future replies diff --git a/src/smartreply_service.cpp b/src/smartreply_service.cpp index 0f1097f..1748f69 100755 --- a/src/smartreply_service.cpp +++ b/src/smartreply_service.cpp @@ -243,7 +243,8 @@ EXPORT_API int smartreply_service_get_nth_reply_message(smartreply_reply_h *repl int res = smartreply_service_get_nth_reply_message_with_type(reply_list, index, NULL, reply_str); return res; } -EXPORT_API int smartreply_service_destory_list(smartreply_reply_h *reply_list) { + +EXPORT_API int smartreply_service_destroy_list(smartreply_reply_h *reply_list) { ASSERT_NOT_NULL(reply_list); smartreply_reply_s* _reply;