path: root/src/lib/eio
diff options
authorXavi Artigas <>2019-02-13 11:58:33 +0100
committerXavi Artigas <>2019-02-13 18:09:17 +0100
commit6b7346b7b2b0db05e76cc217966d3304e4cbc41a (patch)
tree20033403a3659e0db98c9e576e10470a4dd54170 /src/lib/eio
parent56f06d21c19cddb056f6ced6822b275c08ebfc3a (diff)
Remove individual class BETA guards
Summary: Eolian adds a per-class BETA guard (like EFL_UI_WIN_BETA) to any method tagged as @beta. This means that any app (and the EFL code) wanting to use BETA features has to enable them class by class, which is cumbersome. This commit replaces the individual guards with the global EFL_BETA_API_SUPPORT guard, so apps only need to define one symbol to access BETA features. Any usage of the per-class guards has been removed from the EFL code and examples. When building EFL the global guard is defined by configure, so all EFL methods already have access to BETA API. Efl_Core.h and Efl_Ui.h no longer define EFL_BETA_API_SUPPORT. Apps wanting to use BETA API have to define this symbol before including any EFL header (It has been added to the examples requiring it). Test Plan: make && make check && make examples still work, but there's a lot less #defines in the code Reviewers: zmike, bu5hm4n, q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T6788 Differential Revision:
Diffstat (limited to 'src/lib/eio')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/eio/eio_sentry.c b/src/lib/eio/eio_sentry.c
index 84b958f694..20ca327282 100644
--- a/src/lib/eio/eio_sentry.c
+++ b/src/lib/eio/eio_sentry.c
@@ -21,7 +21,6 @@
21# include <config.h> 21# include <config.h>
22#endif 22#endif
23 23
24#define EIO_SENTRY_BETA 1
25 24
26#include <Eo.h> 25#include <Eo.h>
27#include "Ecore.h" 26#include "Ecore.h"