evas: Remove some types from EO
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 15 May 2017 04:33:00 +0000 (13:33 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 15 May 2017 06:05:10 +0000 (15:05 +0900)
Those are legacy only.

Ref T5312

src/lib/evas/Evas_Common.h
src/lib/evas/canvas/evas_types.eot

index 26d61d7..4e7d7a7 100644 (file)
@@ -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
 {
index a44027a..dfcaa01 100644 (file)
@@ -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]]