Add ecore cplusplus extern define
authorJeonghyun Yun <jh0506.yun@samsung.com>
Thu, 14 Dec 2017 01:45:00 +0000 (10:45 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 13:34:07 +0000 (22:34 +0900)
Change-Id: I98738db07f015896f753afb5f9fa083c4d7cec37
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
src/lib/ecore/Ecore_Common.h
src/lib/ecore/Ecore_Eo.h
src/lib/ecore/Ecore_Legacy.h

index 18f39c3..d2546f4 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _ECORE_COMMON_H
 #define _ECORE_COMMON_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <Efl_Config.h>
 
 /**
@@ -3438,4 +3442,8 @@ EAPI Efl_Future *ecore_thread_future_run(Ecore_Thread_Future_Cb heavy, const voi
 
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
index be1929a..ec690a7 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _ECORE_EO_H
 #define _ECORE_EO_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* This include has been added to support Eo in Ecore */
 #include <Eo.h>
 
@@ -154,4 +158,8 @@ EAPI Efl_Future *efl_future_iterator_race(Eina_Iterator *it);
  * @}
  */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
index a993187..3607f07 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _ECORE_LEGACY_H
 #define _ECORE_LEGACY_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @ingroup Ecore_Poller_Group
  *
@@ -391,4 +395,8 @@ EAPI void *ecore_job_del(Ecore_Job *obj);
  * @}
  */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif