From 1f6b589c12083df1f9337cc26d41e14f6224839a Mon Sep 17 00:00:00 2001 From: dpinthinker Date: Wed, 1 Jul 2020 12:24:36 +0800 Subject: [PATCH] fix comments wrong position (#296) --- .../app-mgr/app-mgr-shared/app_manager_export.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/core/app-mgr/app-mgr-shared/app_manager_export.h b/core/app-mgr/app-mgr-shared/app_manager_export.h index 4e29b1f92..aa676d2a4 100644 --- a/core/app-mgr/app-mgr-shared/app_manager_export.h +++ b/core/app-mgr/app-mgr-shared/app_manager_export.h @@ -175,15 +175,6 @@ typedef struct host_interface { bool app_manager_host_init(host_interface *interface); -/** - * Send message to Host - * - * @param buf buffer to send - * @param size size of buffer - * - * @return size of buffer sent - */ - /* Startup app manager */ void app_manager_startup(host_interface *interface); @@ -284,6 +275,14 @@ send_error_response_to_host(int mid, int code, const char *msg); bool bh_applet_check_permission(const char *perm); +/** + * Send message to Host + * + * @param buf buffer to send + * @param size size of buffer + * + * @return size of buffer sent + */ int app_manager_host_send_msg(int msg_type, const char *buf, int size);