yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=2f1f5d7ebfc55eb1a4f53ffd69e950b9926785c6

commit 2f1f5d7ebfc55eb1a4f53ffd69e950b9926785c6
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Sun May 31 13:29:07 2015 +0300

    Ajusting to changes in type's names
---
 src/lib/database.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/lib/database.c b/src/lib/database.c
index 90c917f..a6459e8 100644
--- a/src/lib/database.c
+++ b/src/lib/database.c
@@ -1055,11 +1055,14 @@ db_init(const char *db_path, const char *all_eo_path, 
const char *black_list)
 
    typedef_table = eina_hash_string_superfast_new(NULL);
    eina_hash_add(typedef_table, "Evas_Coord", (void *) (uintptr_t) 
GUI_TYPE_SINT);
+   eina_hash_add(typedef_table, "Evas.Coord", (void *) (uintptr_t) 
GUI_TYPE_SINT);
    eina_hash_add(typedef_table, "int", (void *) (uintptr_t) GUI_TYPE_SINT);
    eina_hash_add(typedef_table, "short", (void *) (uintptr_t) GUI_TYPE_SINT);
    eina_hash_add(typedef_table, "double", (void *) (uintptr_t) 
GUI_TYPE_DOUBLE);
    eina_hash_add(typedef_table, "Evas_Object*", (void *) (uintptr_t) 
GUI_TYPE_OBJECT);
+   eina_hash_add(typedef_table, "Evas.Object*", (void *) (uintptr_t) 
GUI_TYPE_OBJECT);
    eina_hash_add(typedef_table, "Evas_Object *", (void *) (uintptr_t) 
GUI_TYPE_OBJECT);
+   eina_hash_add(typedef_table, "Evas.Object *", (void *) (uintptr_t) 
GUI_TYPE_OBJECT);
    eina_hash_add(typedef_table, "Elm_Radio *", (void *) (uintptr_t) 
GUI_TYPE_OBJECT);
    eina_hash_add(typedef_table, "Eina_Bool", (void *) (uintptr_t) 
GUI_TYPE_BOOL);
    eina_hash_add(typedef_table, "bool", (void *) (uintptr_t) GUI_TYPE_BOOL);
@@ -1253,7 +1256,7 @@ db_init(const char *db_path, const char *all_eo_path, 
const char *black_list)
                                  if ((eolian_type_type_get(base) == 
EOLIAN_TYPE_REGULAR) ||
                                      (eolian_type_type_get(base) == 
EOLIAN_TYPE_CLASS))
                                    {
-                                      c_type = eolian_type_name_get(base);
+                                      c_type = eolian_type_full_name_get(base);
                                       sprintf(c_type2, "%s *", c_type);
                                    }
                                  else if (eolian_type_type_get(base) == 
EOLIAN_TYPE_POINTER)
@@ -1270,6 +1273,11 @@ db_init(const char *db_path, const char *all_eo_path, 
const char *black_list)
                                       sprintf(c_type2, "%s", c_type);
                                       _enum_type_register(typedef_table, base);
                                    }
+                                 else if (eolian_type_type_get(base) == 
EOLIAN_TYPE_ALIAS)
+                                   {
+                                      c_type = eolian_type_full_name_get(base);
+                                      sprintf(c_type2, "%s", c_type);
+                                   }
                                  else
                                    {
                                       c_type = "NULL";

-- 


Reply via email to