export ewk_ipc_wrt_* API as C linkage
authorSeungSeop Park <sns.park@samsung.com>
Thu, 26 Feb 2015 14:12:23 +0000 (23:12 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
This is necessary due to merged commit http://165.213.202.130:8080/#/c/75191/,
which is to minimize memory size by restricting symbol export as ewk prefixed
ones. Without this patch, wrt package build fails with undefined symbol error.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11607
Reviewed by: Antonio Gomes, Janusz Majnert, Min-Soo Koo, Piotr Tworek

Change-Id: I590eff2c4b529c3ec46cac427377c6828c52df7d
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
tizen_src/ewk/efl_integration/public/ewk_ipc_message.h

index bbee171..249936c 100644 (file)
 #include "ewk_export.h"
 #include "ewk_context.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct Ewk_Wrt_Message_Data Ewk_IPC_Wrt_Message_Data;
 
 /*
@@ -108,5 +112,8 @@ EAPI Eina_Bool ewk_ipc_wrt_message_send(Ewk_Context* context, const Ewk_IPC_Wrt_
  */
 EAPI Eina_Bool ewk_ipc_plugins_sync_message_send(int routingId, Ewk_IPC_Wrt_Message_Data* data);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif // EWK_IPC_MESSAGE_H