From: Hyunho Kang Date: Mon, 14 Dec 2015 10:33:22 +0000 (+0900) Subject: Fix parameter of message_port_message_cb in doxygen X-Git-Tag: accepted/tizen/mobile/20160216.103046^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F57953%2F1;p=platform%2Fcore%2Fappfw%2Fmessage-port.git Fix parameter of message_port_message_cb in doxygen - Add description about message resource Change-Id: I0294a153da1b60e3b306a12954b6d5ac2ed97852 Signed-off-by: Hyunho Kang --- diff --git a/include/message_port.h b/include/message_port.h index d9ee2ad..0fef5f8 100644 --- a/include/message_port.h +++ b/include/message_port.h @@ -61,7 +61,7 @@ typedef enum * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * - * @remarks You can keep @a message using bundle_dup(). @n + * @remarks @a message is automatically freed by framework when callback returned, you can keep @a message using bundle_dup(). @n * @a remote_port will be set only if the remote application sends a message with its port information using message_port_send_message_with_local_port(), otherwise it is @c NULL. @n * When message is sent from remote application by message_port_send_message_with_local_port() in bidirectional communication, trusted_remote_port is used to check whether remote port is trusted port or not. * This callback is called only in the main thread. @@ -78,7 +78,7 @@ typedef enum * @see message_port_send_message() * @see message_port_send_message_with_local_port() */ -typedef void (*message_port_message_cb)(int local_port_id, const char *remote_app_id, const char *remote_port, bool trusted_remote_port, bundle *messagem, void *user_data); +typedef void (*message_port_message_cb)(int local_port_id, const char *remote_app_id, const char *remote_port, bool trusted_remote_port, bundle *message, void *user_data); /** * @brief Called when a trusted message is received. diff --git a/include/message_port_internal.h b/include/message_port_internal.h old mode 100755 new mode 100644