Public symbols were defined internal to Evas/Elementary on macOS, making
the link of external modules unfeasible.
- EAPI was messed up by an invalid inclusion of evas_text_utils.h, making
some symbols private instead of public.
- A similar issue was present in evas_font_draw.c, where the symbols
were directly imported without the proper definition of EAPI.
- Elementary.h did include some eo-generated headers, but for windows
only. It should not been restricted to windows, as it allows to export
symbols to external modules.
Fixes T6448.
#include <elm_glview.h>
#include <elm_grid.h>
-
-#ifdef _WIN32
-#ifdef ELEMENTARY_BUILD
// Elm legacy headers that require EAPI defined
#include <elm_spinner.eo.h>
#include <elm_entry.eo.h>
#include <elm_systray.eo.h>
#include <elm_notify.eo.h>
#include <elm_hoversel.eo.h>
-#endif
-#endif
#include <elm_hover.h>
#include <elm_image.h>
#include <Eina.h>
#include "evas_text_utils.h"
+#include "evas_text_utils.h"
+
#ifdef EAPI
# undef EAPI
#endif
#define LKDBG(x) eina_lock_debug(&(x))
+
enum _Evas_Font_Style
{
EVAS_FONT_STYLE_SLANT,
-#include "evas_font_draw.h"
+#include "evas_common_private.h"
#include "evas_private.h"
#include "evas_blend_private.h"