evas: correctly declare filter_internal as public API
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Thu, 4 Jun 2020 08:03:44 +0000 (10:03 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 7 Jun 2020 21:48:13 +0000 (06:48 +0900)
I know this is internal. However it is public used in public .eo files.
Even if it is internal, and beta, we still need to expose the API in
order to have it correctly in the .so.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11932

src/lib/evas/canvas/evas_filter_mixin.c
src/lib/evas/include/evas_filter.h

index 0094262..11a3fe4 100644 (file)
@@ -1,9 +1,7 @@
 #define EFL_CANVAS_FILTER_INTERNAL_PROTECTED
 
-#include "evas_common_private.h"
-#include "evas_private.h"
-#include "../../lib/efl/interfaces/efl_gfx_filter.eo.h"
-#include "efl_canvas_filter_internal.eo.h"
+#include <Evas.h>
+
 #include "evas_filter.h"
 
 #define MY_CLASS EFL_CANVAS_FILTER_INTERNAL_MIXIN
index 5a22c2b..dd77981 100644 (file)
@@ -4,7 +4,6 @@
 #include "evas_common_private.h"
 #include "evas_private.h"
 
-#include "efl_canvas_filter_internal.eo.h"
 
 #ifdef EAPI
 # undef EAPI
@@ -32,6 +31,8 @@
 # endif
 #endif
 
+#include "efl_canvas_filter_internal.eo.h"
+
 #ifdef DEBUG
 # define FILTERS_DEBUG
 #endif