elm: Add missing undef EAPI to Elementary.h
This may solve issues on Windows where EAPI can be either dllimport or dllexport. Anyway keeping EAPI defined is invalid and inconsistent. Also, change an invalid EO_BETA_API define tag to EFL_BETA_API_SUPPORT and EFL_EO_API_SUPPORT. Thanks @vtorri for the report! @fix
This commit is contained in:
parent
10ec5f5f80
commit
ad6e3ce3df
|
@ -285,4 +285,7 @@ EAPI extern Elm_Version *elm_version;
|
|||
}
|
||||
#endif
|
||||
|
||||
#undef EAPI
|
||||
#define EAPI
|
||||
|
||||
#endif
|
||||
|
|
|
@ -77,7 +77,7 @@ elm_validator_regexp_free(Elm_Validator_Regexp *validator) EINA_ARG_NONNULL(1);
|
|||
EAPI Elm_Regexp_Status
|
||||
elm_validator_regexp_status_get(Elm_Validator_Regexp *validator) EINA_ARG_NONNULL(1);
|
||||
|
||||
#ifdef EO_BETA_API
|
||||
#if defined(EFL_BETA_API_SUPPORT) && defined(EFL_EO_API_SUPPORT)
|
||||
/**
|
||||
* @brief The regex validator. Used as callback to validate event.
|
||||
*
|
||||
|
|
|
@ -641,4 +641,7 @@ const Elm_Layout_Part_Alias_Description *elm_layout_text_aliases_get(const Eo *o
|
|||
#define ELM_LAYOUT_SIZING_EVAL_OPS(_pfx) \
|
||||
EFL_OBJECT_OP_FUNC(elm_layout_sizing_eval, _##_pfx##_elm_layout_sizing_eval)
|
||||
|
||||
#undef EAPI
|
||||
#define EAPI
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue