Fix typo 60/253560/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 29 Jan 2021 07:04:29 +0000 (16:04 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Feb 2021 01:10:24 +0000 (10:10 +0900)
Change-Id: I7b4318fead3d69ed9f6ef75d0b6c9945a221a734
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
include/smartreply_service.h
src/smartreply_service.cpp

index 0aabd253f930ccf49f8ce94c58ba642ff604072d..1402cbc2de91c507a53ae19abdff10c25e82003d 100755 (executable)
@@ -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
index 0f1097f3e9b32628c82de37d95246a0d37285893..1748f69de7d79f5b96bce5cfd696c343b685a688 100755 (executable)
@@ -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;