Export API to C++ 88/68988/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 11 May 2016 02:25:08 +0000 (11:25 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Wed, 11 May 2016 02:37:06 +0000 (11:37 +0900)
Add #ifdef __cpluscplus to Pepper_Efl.h so the API can be used by C++.

Change-Id: I323ce95fbd9ed125b1095c6a586a844af9c42edc

src/lib/Pepper_Efl.h

index 0b577f3cbf9b02173eb4916bc79cf83d0f286cb4..ea2842432952622d02c354ad89d956dfa257e0ee 100644 (file)
@@ -6,6 +6,10 @@
 * @{
 */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @brief Event name for smart callback.
  * @details This is event name for smart callback to listen add/del event of the clients
@@ -64,4 +68,8 @@ const char *pepper_efl_object_app_id_get(Evas_Object *obj);
 
 Eina_Bool   pepper_efl_object_touch_cancel(Evas_Object *obj);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif