Elm_App: protect against type redefinition
authorJérémy Zurcher <jeremy@asynk.ch>
Fri, 22 Aug 2014 08:20:22 +0000 (10:20 +0200)
committerJérémy Zurcher <jeremy@asynk.ch>
Fri, 22 Aug 2014 08:20:22 +0000 (10:20 +0200)
src/lib/elm_app_client_eo.h
src/lib/elm_app_server_eo.h

index 2163263..dac06cd 100644 (file)
@@ -1,5 +1,8 @@
 typedef Eo Elm_App_Client;
+#define _ELM_APP_CLIENT_EO_CLASS_TYPE
+
 typedef Eo Elm_App_Client_View;
+#define _ELM_APP_CLIENT_VIEW_EO_CLASS_TYPE
 
 typedef Eldbus_Pending Elm_App_Client_Pending;
 
index 1d02213..306535d 100644 (file)
@@ -5,7 +5,10 @@
 #define ELM_APP_SERVER_VIEW_CREATE_DUPLICATE "org.enlightenment.Application.ViewDuplicate"
 
 typedef Eo Elm_App_Server;
+#define _ELM_APP_SERVER_EO_CLASS_TYPE
+
 typedef Eo Elm_App_Server_View;
+#define _ELM_APP_SERVER_VIEW_EO_CLASS_TYPE
 
 typedef Elm_App_Server_View *(*Elm_App_Server_Create_View_Cb)(Elm_App_Server *app, const Eina_Value *args, Eina_Stringshare **error_name, Eina_Stringshare **error_message);