Page MenuHomePhabricator

Hide ALL BETA API behind the EFL_BETA_API_SUPPORT define
Closed, ResolvedPublic

Description

In theory, apps wanting to use BETA API have to define the EFL_BETA_API_SUPPORT before including any EFL headers.
However, that is not the case, and files like Efl_Ui.h define this symbol for you, which means that including this file makes you implicitly request BETA API usage.
Plus, this makes the order of the included files relevant, which is always messy.

segfaultxavi triaged this task as Normal priority.
zmike moved this task from Backlog to needs patch on the efl: api board.Feb 11 2019, 10:47 AM
WARNING: Do not try to build an EFL app using the New API without defining EFL_BETA_API_SUPPORT, yet. It will not work because not even Efl.Object is out of BETA, duh!