summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2016-02-15 22:36:05 -0800
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-02-15 22:36:05 -0800
commit5012ef50a7253f9d3844c93e8f47b436a2b4fe12 (patch)
treecbb6440ed83e53da1f787f6511923205e4a8fb5c
parent9a5b20926504bce3dde43d936d3b22ba68172a74 (diff)
parentd510440f2a27d5afb1e98b42fcff3e48d3b91226 (diff)
downloadmessage-port-5012ef50a7253f9d3844c93e8f47b436a2b4fe12.tar.gz
message-port-5012ef50a7253f9d3844c93e8f47b436a2b4fe12.tar.bz2
message-port-5012ef50a7253f9d3844c93e8f47b436a2b4fe12.zip
-rw-r--r--include/message_port.h4
-rw-r--r--[-rwxr-xr-x]include/message_port_internal.h0
2 files changed, 2 insertions, 2 deletions
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
index d97ba29..d97ba29 100755..100644
--- a/include/message_port_internal.h
+++ b/include/message_port_internal.h