Elm_App: protect against type redefinition

This commit is contained in:
Jérémy Zurcher 2014-08-22 10:20:22 +02:00
parent f934291859
commit 72dc271d32
2 changed files with 6 additions and 0 deletions

View 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;

View 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);