eolian: have eolian_all_classes_list_get instead of eolian_class_names_list_get
authorDaniel Kolesa <d.kolesa@samsung.com>
Thu, 3 Jul 2014 21:12:09 +0000 (22:12 +0100)
committerDaniel Kolesa <d.kolesa@samsung.com>
Thu, 3 Jul 2014 21:12:31 +0000 (22:12 +0100)
src/bin/eolian_cxx/eolian_wrappers.hh
src/lib/eolian/Eolian.h
src/lib/eolian/eolian_database.c

index e357c25..f8ff71c 100644 (file)
@@ -154,7 +154,7 @@ class_namespace_full(Eolian_Class const& klass)
 inline efl::eina::range_ptr_list<const Eolian_Class>
 class_list_all()
 {
-   return ::eolian_class_names_list_get();
+   return ::eolian_all_classes_list_get();
 }
 
 inline std::string
index ae6ddcf..a7e4bc2 100644 (file)
@@ -289,14 +289,13 @@ eolian_class_namespaces_list_get(const Eolian_Class klass);
 EAPI Eolian_Class_Type eolian_class_type_get(const Eolian_Class klass);
 
 /*
- * @brief Returns the names list of all the classes stored into the database.
+ * @brief Returns a list of all the classes stored into the database.
  *
  * @return the list
  *
  * @ingroup Eolian
  */
-/* Returns the list of class names of the database */
-EAPI const Eina_List *eolian_class_names_list_get(void);
+EAPI const Eina_List *eolian_all_classes_list_get(void);
 
 /*
  * @brief Returns the description of a class.
index 55f59a6..1b281ff 100644 (file)
@@ -393,14 +393,9 @@ database_class_del(Eolian_Class class)
 }
 
 EAPI const Eina_List *
-eolian_class_names_list_get(void)
+eolian_all_classes_list_get(void)
 {
-   Eina_List *itr;
-   _Class_Desc *cl;
-   Eina_List *list = NULL;
-   EINA_LIST_FOREACH(_classes, itr, cl)
-      list = eina_list_append(list, cl->name);
-   return list;
+   return _classes;
 }
 
 Eina_Bool