From: Jean-Philippe Andre Date: Mon, 15 May 2017 04:33:00 +0000 (+0900) Subject: evas: Remove some types from EO X-Git-Tag: upstream/1.20.0~1070 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0ed9bb8b81f93fd1fcf801c1c734fafd75a4e2d;p=platform%2Fupstream%2Fefl.git evas: Remove some types from EO Those are legacy only. Ref T5312 --- diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h index 26d61d7..4e7d7a7 100644 --- a/src/lib/evas/Evas_Common.h +++ b/src/lib/evas/Evas_Common.h @@ -441,10 +441,11 @@ typedef enum } Evas_Callback_Type; -struct _Evas_Engine_Info /** Generic engine information. Generic info is useless */ +typedef struct _Evas_Engine_Info /** Generic engine information. Generic info is useless */ { int magic; /**< Magic number */ -}; +} Evas_Engine_Info; + struct _Evas_Event_Mouse_Down /** Mouse button press event */ { @@ -664,11 +665,11 @@ typedef enum _Evas_Axis_Label EVAS_AXIS_LABEL_NORMAL_Y, /**< Y normalized to the [0, 1] range. @since 1.19 */ } Evas_Axis_Label; /**< Types of recognized device axes @since 1.13 */ -struct _Evas_Axis +typedef struct _Evas_Axis { Evas_Axis_Label label; double value; -}; +} Evas_Axis; struct _Evas_Event_Axis_Update { diff --git a/src/lib/evas/canvas/evas_types.eot b/src/lib/evas/canvas/evas_types.eot index a44027a..dfcaa01 100644 --- a/src/lib/evas/canvas/evas_types.eot +++ b/src/lib/evas/canvas/evas_types.eot @@ -1,5 +1,4 @@ type @extern Evas.Load_Error: int; [[Evas load error type]] /* FIXME: Need to migrate emile. */ -struct @extern Evas.Video_Surface; [[Evas video surface data structure]] /* FIXME: The structure is full of the unsupported func pointers. */ type Evas.Modifier_Mask: ullong; [[An Evas modifier mask type]] type Evas.Coord: int; [[A type for coordinates]] @@ -51,10 +50,10 @@ enum Evas.Border_Fill_Mode struct Evas.Modifier; [[An opaque type containing information on which modifier keys are registered in an Evas canvas]] struct Evas.Lock; [[An opaque type containing information on which lock keys are registered in an Evas canvas]] -struct Evas.Engine_Info; [[A generic Evas Engine information structure]] -struct Evas.Axis; [[Details for a single device axis state - @since 1.13]] + +// ---------------------------------------------------------------------------- +// All the below types are for Evas 3D type Evas.Real: double; [[A type for floating value]]