Eo: Move Eo back into beta.

Eo should now be considered beta again. This commit puts it back in beta
and makes it necessary to define EFL_BETA_API_SUPPORT before including
Eo.h.
This commit is contained in:
Tom Hacohen 2016-08-02 16:14:12 +01:00
parent ad358a80e9
commit bf772125e8
3 changed files with 15 additions and 0 deletions

View File

@ -959,7 +959,10 @@ enum _Ecore_Exe_Win32_Priority
};
typedef enum _Ecore_Exe_Win32_Priority Ecore_Exe_Win32_Priority;
#ifdef EFL_BETA_API_SUPPORT
#include "ecore_exe.eo.h"
#endif
#include "ecore_exe.eo.legacy.h"
#define _ECORE_EXE_EO_CLASS_TYPE

View File

@ -119,6 +119,11 @@ typedef struct _Eo_Opaque Eo;
typedef Eo Eo_Class;
#define _EO_CLASS_EO_CLASS_TYPE
typedef Eo Eo_Base;
#define _EO_BASE_EO_CLASS_TYPE
#ifdef EFL_BETA_API_SUPPORT
/**
* @var _eo_class_creation_lock
* This variable is used for locking purposes in the class_get function
@ -1138,6 +1143,8 @@ EAPI const Eo_Event_Description *eo_base_legacy_only_event_description_get(const
EAPI int ___eo_ref2_get(const Eo *obj_id);
EAPI void ___eo_ref2_reset(const Eo *obj_id);
#endif
#ifdef __cplusplus
}
#endif

View File

@ -88,7 +88,12 @@ EAPI extern Evas_Version * evas_version;
*
* @since 1.1
*/
// Support not having eo available
#ifdef EFL_BETA_API_SUPPORT
typedef Eo_Callback_Priority Evas_Callback_Priority;
#else
typedef short Evas_Callback_Priority;
#endif
typedef struct _Evas_Coord_Rectangle Evas_Coord_Rectangle; /**< A generic rectangle handle */
typedef struct _Evas_Point Evas_Point; /**< integer point */