cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=39b14d705adb349febf413995b35dcd92fb048f4

commit 39b14d705adb349febf413995b35dcd92fb048f4
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Tue Apr 28 15:17:49 2015 +0200

    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 4d23493..5bb2772 100644
--- a/src/lib/elocation/Elocation.h
+++ b/src/lib/elocation/Elocation.h
@@ -66,6 +66,10 @@
 #include <Ecore.h>
 #include <Eldbus.h>
 
+#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

-- 


Reply via email to