q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1a48c31f81d9ecbe4128f855c841306b0f38ec08

commit 1a48c31f81d9ecbe4128f855c841306b0f38ec08
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Fri May 29 12:03:57 2015 +0100

    eolian: "generic_value" builtin type
---
 src/lib/efl/interfaces/efl_model_base.eo | 2 +-
 src/lib/eo/eina_types.eot                | 1 -
 src/lib/eo/eo_base.eo                    | 2 +-
 src/lib/eolian/eo_lexer.c                | 5 ++++-
 src/lib/eolian/eo_lexer.h                | 2 +-
 5 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_model_base.eo 
b/src/lib/efl/interfaces/efl_model_base.eo
index 8ba6c5a..dbda997 100644
--- a/src/lib/efl/interfaces/efl_model_base.eo
+++ b/src/lib/efl/interfaces/efl_model_base.eo
@@ -111,7 +111,7 @@ interface Efl.Model.Base ()
                property: const(char)*; /*@ Property name */
             }
             values {
-               value: const(Eina_Value)*; /*@ New value */
+               value: const(generic_value)*; /*@ New value */
             }
          }
          @property children_slice {
diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot
index 691c6d8..eef43fb 100644
--- a/src/lib/eo/eina_types.eot
+++ b/src/lib/eo/eina_types.eot
@@ -1,3 +1,2 @@
 /* FIXME: Move to Eina when we decide they are handled properly. */
 type @extern Eina_Stringshare: const(char) *;
-type @extern Eina_Value: void *;
diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo
index 3e1f781..546a61d 100644
--- a/src/lib/eo/eo_base.eo
+++ b/src/lib/eo/eo_base.eo
@@ -26,7 +26,7 @@ struct Eo.Dbg_Info {
       * The structure for the debug info used by Eo.
       */
      name: Eina_Stringshare *; /*@< The name of the part (stringshare). */
-     value: Eina_Value; /*@< The value. */
+     value: generic_value; /*@< The value. */
 }
 
 
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c
index 9f69c7f..7b79d23 100644
--- a/src/lib/eolian/eo_lexer.c
+++ b/src/lib/eolian/eo_lexer.c
@@ -72,7 +72,10 @@ static const char * const ctypes[] =
 
    "void",
 
-   "Eina_Accessor", "Eina_Array", "Eina_Iterator", "Eina_Hash", "Eina_List"
+   "Eina_Accessor", "Eina_Array", "Eina_Iterator", "Eina_Hash", "Eina_List",
+   "Eina_Value",
+
+   "Eo_Event_Cb"
 };
 
 #undef KW
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h
index 3812d47..aea3a1c 100644
--- a/src/lib/eolian/eo_lexer.h
+++ b/src/lib/eolian/eo_lexer.h
@@ -50,7 +50,7 @@ enum Tokens
     \
     KW(void), \
     \
-    KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \
+    KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), 
KW(generic_value), \
     \
     KW(__builtin_event_cb), \
     \

-- 


Reply via email to