summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_filter.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 14:24:11 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:10 +0200
commit71b7fc982a2e23bcb41bf6d227bceeba1f5596ec (patch)
tree4a6b8a01e76fec5797ff183ea556c229cfdc520d /src/lib/evas/include/evas_filter.h
parent7b52ecc9b9ae2f37d8771060e12f1d1f1e165265 (diff)
evas: remove the need to order the header correctly for Windows.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/include/evas_filter.h30
1 files changed, 29 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index 70b45bfdb1..22804413c5 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -4,6 +4,32 @@
4#include "evas_common_private.h" 4#include "evas_common_private.h"
5#include "evas_private.h" 5#include "evas_private.h"
6 6
7#ifdef EAPI
8# undef EAPI
9#endif
10
11#ifdef _WIN32
12# ifdef EFL_EVAS_BUILD
13# ifdef DLL_EXPORT
14# define EAPI __declspec(dllexport)
15# else
16# define EAPI
17# endif /* ! DLL_EXPORT */
18# else
19# define EAPI __declspec(dllimport)
20# endif /* ! EFL_EVAS_BUILD */
21#else
22# ifdef __GNUC__
23# if __GNUC__ >= 4
24# define EAPI __attribute__ ((visibility("default")))
25# else
26# define EAPI
27# endif
28# else
29# define EAPI
30# endif
31#endif /* ! _WIN32 */
32
7typedef struct _Evas_Filter_Context Evas_Filter_Context; 33typedef struct _Evas_Filter_Context Evas_Filter_Context;
8typedef struct _Evas_Filter_Command Evas_Filter_Command; 34typedef struct _Evas_Filter_Command Evas_Filter_Command;
9typedef struct _Evas_Filter_Instruction Evas_Filter_Instruction; 35typedef struct _Evas_Filter_Instruction Evas_Filter_Instruction;
@@ -249,5 +275,7 @@ struct _Evas_Filter_Proxy_Binding
249 Eina_Stringshare *name; 275 Eina_Stringshare *name;
250}; 276};
251 277
252#endif 278#undef EAPI
279#define EAPI
253 280
281#endif