From 396b3b6e1d438a227f35d11f1b4f39758a2f7377 Mon Sep 17 00:00:00 2001 From: Jeonghyun Yun Date: Thu, 14 Dec 2017 10:45:00 +0900 Subject: [PATCH] Add ecore cplusplus extern define Change-Id: I98738db07f015896f753afb5f9fa083c4d7cec37 Signed-off-by: Jeonghyun Yun --- src/lib/ecore/Ecore_Common.h | 8 ++++++++ src/lib/ecore/Ecore_Eo.h | 8 ++++++++ src/lib/ecore/Ecore_Legacy.h | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/src/lib/ecore/Ecore_Common.h b/src/lib/ecore/Ecore_Common.h index 18f39c3..d2546f4 100644 --- a/src/lib/ecore/Ecore_Common.h +++ b/src/lib/ecore/Ecore_Common.h @@ -1,6 +1,10 @@ #ifndef _ECORE_COMMON_H #define _ECORE_COMMON_H +#ifdef __cplusplus +extern "C" { +#endif + #include /** @@ -3438,4 +3442,8 @@ EAPI Efl_Future *ecore_thread_future_run(Ecore_Thread_Future_Cb heavy, const voi #endif +#ifdef __cplusplus +} +#endif + #endif diff --git a/src/lib/ecore/Ecore_Eo.h b/src/lib/ecore/Ecore_Eo.h index be1929a..ec690a7 100644 --- a/src/lib/ecore/Ecore_Eo.h +++ b/src/lib/ecore/Ecore_Eo.h @@ -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 @@ -154,4 +158,8 @@ EAPI Efl_Future *efl_future_iterator_race(Eina_Iterator *it); * @} */ +#ifdef __cplusplus +} +#endif + #endif diff --git a/src/lib/ecore/Ecore_Legacy.h b/src/lib/ecore/Ecore_Legacy.h index a993187..3607f07 100644 --- a/src/lib/ecore/Ecore_Legacy.h +++ b/src/lib/ecore/Ecore_Legacy.h @@ -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 -- 2.7.4