q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0a2bb86c63f8ad1cfa1e2bb82e7c64d707ecf9b6

commit 0a2bb86c63f8ad1cfa1e2bb82e7c64d707ecf9b6
Author: Daniel Kolesa <[email protected]>
Date:   Tue May 24 15:22:25 2016 +0100

    eolian: replace Eina.Value with generic_value usage
---
 src/lib/elementary/elm_app_client.eo | 2 +-
 src/lib/elementary/elm_prefs.eo      | 4 ++--
 src/lib/eo/eina_types.eot            | 2 --
 src/lib/eo/eo_base.eo                | 2 +-
 4 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/lib/elementary/elm_app_client.eo 
b/src/lib/elementary/elm_app_client.eo
index 1e161ec..2e31267 100644
--- a/src/lib/elementary/elm_app_client.eo
+++ b/src/lib/elementary/elm_app_client.eo
@@ -38,7 +38,7 @@ class Elm.App.Client (Eo.Base)
       view_open {
          [[Open an application view.]]
          params {
-            @in args: Eina.Value * @optional; [[an array of.]]
+            @in args: generic_value * @optional; [[an array of.]]
             @in view_open_cb: Elm_App_Client_Open_View_Cb @optional; 
[[callback to be called when view open]]
             @in data: const(void)* @optional; [[callback user data]]
          }
diff --git a/src/lib/elementary/elm_prefs.eo b/src/lib/elementary/elm_prefs.eo
index 3a9e77a..0cdae81 100644
--- a/src/lib/elementary/elm_prefs.eo
+++ b/src/lib/elementary/elm_prefs.eo
@@ -92,7 +92,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
          return: bool; [[$true, on success, $false otherwise]]
          params {
             @in name: const(char)*; [[The name of the item (as declared in the 
prefs collection)]]
-            @in value: const(Eina.Value)*; [[The value to set on the item. It 
should be typed as the item expects, preferably, or a conversion will take 
place]]
+            @in value: const(generic_value)*; [[The value to set on the item. 
It should be typed as the item expects, preferably, or a conversion will take 
place]]
          }
       }
       item_value_get @const {
@@ -105,7 +105,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
 
          params {
             @in name: const(char)*; [[The name of the item (as declared in the 
prefs collection) to get value from]]
-            @out value: Eina.Value; [[Where to store the value of the item. It 
will be overwritten and setup with the type the item is bound to]]
+            @out value: generic_value; [[Where to store the value of the item. 
It will be overwritten and setup with the type the item is bound to]]
          }
       }
       item_object_get {
diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot
index 4114581..f25b727 100644
--- a/src/lib/eo/eina_types.eot
+++ b/src/lib/eo/eina_types.eot
@@ -25,5 +25,3 @@ struct @extern Eina.Matrix3 {
 struct @extern Eina.Inarray;
 
 type @extern Eina.Unicode: uint32;
-
-struct @extern Eina.Value;
diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo
index eb7f30f..30904c3 100644
--- a/src/lib/eo/eo_base.eo
+++ b/src/lib/eo/eo_base.eo
@@ -259,7 +259,7 @@ abstract Eo.Base ()
             key: const(char)*; [[the key associated with the value]]
          }
          values {
-            value: Eina.Value *; [[the value to set]]
+            value: generic_value *; [[the value to set]]
          }
       }
       event_thaw {

-- 


Reply via email to