diff options
Diffstat (limited to 'src/lib/ector/Ector.h')
-rw-r--r-- | src/lib/ector/Ector.h | 34 |
1 files changed, 4 insertions, 30 deletions
diff --git a/src/lib/ector/Ector.h b/src/lib/ector/Ector.h index 9a7a7d3706..ba93fbddae 100644 --- a/src/lib/ector/Ector.h +++ b/src/lib/ector/Ector.h @@ -6,31 +6,8 @@ #ifdef EFL_BETA_API_SUPPORT #include <Efl.h> #endif -#ifdef EAPI -# undef EAPI -#endif -#ifdef _WIN32 -# ifdef EFL_BUILD -# ifdef DLL_EXPORT -# define EAPI __declspec(dllexport) -# else -# define EAPI -# endif -# else -# define EAPI __declspec(dllimport) -# endif -#else -# ifdef __GNUC__ -# if __GNUC__ >= 4 -# define EAPI __attribute__ ((visibility("default"))) -# else -# define EAPI -# endif -# else -# define EAPI -# endif -#endif +#include <ector_api.h> #ifdef __cplusplus extern "C" { @@ -133,7 +110,7 @@ typedef enum _Ector_Update_Type * * @see ector_shutfown() */ -EAPI int ector_init(void); +ECTOR_API int ector_init(void); /** * @brief Shutdown the ector subsystem @@ -141,7 +118,7 @@ EAPI int ector_init(void); * * @see ector_init() */ -EAPI int ector_shutdown(void); +ECTOR_API int ector_shutdown(void); /** * @brief Registers OpenGL API calls with the internal Ector_GL_API. @@ -156,7 +133,7 @@ EAPI int ector_shutdown(void); * * @see dlsym() */ -EAPI Eina_Bool ector_glsym_set(void *(*glsym)(void *lib, const char *name), void *lib); +ECTOR_API Eina_Bool ector_glsym_set(void *(*glsym)(void *lib, const char *name), void *lib); /* Avoid redefinition of types */ #define _ECTOR_SURFACE_EO_CLASS_TYPE @@ -177,7 +154,4 @@ EAPI Eina_Bool ector_glsym_set(void *(*glsym)(void *lib, const char *name), void } #endif -#undef EAPI -#define EAPI - #endif |