diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-05-22 15:05:16 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-05-22 15:05:16 +0900 |
commit | c8ec1cb2af4f3771ebdcafff3a1f9c7db5c13dad (patch) | |
tree | 27741ff35222106b1e2cc1bcc7e1cf3d078ff6cf | |
parent | 1e2d382298b0d4357d35b1f350c04f04820c7218 (diff) | |
download | efl-c8ec1cb2af4f3771ebdcafff3a1f9c7db5c13dad.tar.gz |
Revert "evas: Fix build for Windows (hopefully)"
This reverts commit 1e2d382298b0d4357d35b1f350c04f04820c7218.
This segfaults. Ouch... Will need more time to fix this.
-rw-r--r-- | src/lib/ecore_evas/ecore_evas.c | 1 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_common_internal.h | 32 | ||||
-rw-r--r-- | src/lib/evas/Evas_Internal.h | 3 | ||||
-rw-r--r-- | src/lib/evas/canvas/efl_input_focus.c | 2 |
4 files changed, 32 insertions, 6 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index c7942548e8..ce41475d19 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -28,7 +28,6 @@ #include "ecore_private.h" #include <Ecore_Input.h> #include <Ecore_Input_Evas.h> -#include <Evas_Internal.h> #include "Ecore_Evas.h" #include "ecore_evas_private.h" diff --git a/src/lib/efl/interfaces/efl_common_internal.h b/src/lib/efl/interfaces/efl_common_internal.h index 86884bf36b..e684423563 100644 --- a/src/lib/efl/interfaces/efl_common_internal.h +++ b/src/lib/efl/interfaces/efl_common_internal.h @@ -167,4 +167,36 @@ _efl_input_value_mark(Efl_Input_Pointer_Data *pd, Efl_Input_Value key) #define _efl_input_value_mask(key) (1u << (int) key) +/* Internal EO APIs */ + +#undef EAPI + +#ifdef _WIN32 +# ifdef EFL_EFL_BUILD +# ifdef DLL_EXPORT +# define EAPI __declspec(dllexport) +# else +# define EAPI +# endif /* ! DLL_EXPORT */ +# else +# define EAPI __declspec(dllimport) +# endif /* ! EFL_EFL_BUILD */ +#else +# ifdef __GNUC__ +# if __GNUC__ >= 4 +# define EAPI __attribute__ ((visibility("default"))) +# else +# define EAPI +# endif +# else +# define EAPI +# endif +#endif /* ! _WIN32 */ + +EOAPI void *efl_input_legacy_info_get(const Eo *obj); +EOAPI Eo *efl_input_instance_get(const Eo *obj, Efl_Object *owner, void **priv); + +#undef EAPI +#define EAPI + #endif diff --git a/src/lib/evas/Evas_Internal.h b/src/lib/evas/Evas_Internal.h index 47aeb0e55d..be30998312 100644 --- a/src/lib/evas/Evas_Internal.h +++ b/src/lib/evas/Evas_Internal.h @@ -53,9 +53,6 @@ EOAPI void efl_canvas_object_type_set(Eo *obj, const char *type); EOAPI void efl_canvas_group_add(Eo *obj); EOAPI void efl_canvas_group_del(Eo *obj); -EOAPI void *efl_input_legacy_info_get(const Eo *obj); -EOAPI Eo *efl_input_instance_get(const Eo *obj, Efl_Object *owner, void **priv); - EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE; #define EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE (&(_EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE)) diff --git a/src/lib/evas/canvas/efl_input_focus.c b/src/lib/evas/canvas/efl_input_focus.c index 5e3065b489..4ee891a1e0 100644 --- a/src/lib/evas/canvas/efl_input_focus.c +++ b/src/lib/evas/canvas/efl_input_focus.c @@ -6,8 +6,6 @@ #include <Evas.h> -#include <Evas_Internal.h> - #define EFL_INTERNAL_UNSTABLE #include "interfaces/efl_common_internal.h" |