From 39b14d705adb349febf413995b35dcd92fb048f4 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Tue, 28 Apr 2015 15:17:49 +0200 Subject: [PATCH] elocation: allow usage of it with C++. --- src/lib/elocation/Elocation.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/elocation/Elocation.h b/src/lib/elocation/Elocation.h index 4d23493171..5bb2772ef3 100644 --- a/src/lib/elocation/Elocation.h +++ b/src/lib/elocation/Elocation.h @@ -66,6 +66,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** * @ingroup Location * @brief Available location events that are emitted from the library @@ -416,6 +420,10 @@ EAPI Eina_Bool elocation_init(void); */ EAPI void elocation_shutdown(void); +#ifdef __cplusplus +} +#endif + #endif /* BETA API */ #endif -- 2.34.1