summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-10-26 19:42:55 -0200
committerVitor Sousa <vitorsousasilva@gmail.com>2015-01-05 15:52:27 -0200
commit890ce1f9cf902ccd0011a4041fd90d05f93f3c8a (patch)
treed00d89566ed2c84759a976c533eebe75081a350d /src/bin/eolian_cxx
parentdff706f123789a3df0f370abe470c383ffbdb55c (diff)
eolian-cxx: Fixed C++ conversion for lists
Signed-off-by: Vitor Sousa <vitorsousasilva@gmail.com>
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/type_lookup.hh1
-rw-r--r--src/bin/eolian_cxx/type_lookup_table.cc33
2 files changed, 18 insertions, 16 deletions
diff --git a/src/bin/eolian_cxx/type_lookup.hh b/src/bin/eolian_cxx/type_lookup.hh
index 006201c122..1b64bbb20b 100644
--- a/src/bin/eolian_cxx/type_lookup.hh
+++ b/src/bin/eolian_cxx/type_lookup.hh
@@ -35,6 +35,7 @@ type_from_eolian(Eolian_Type const& type)
35 efl::eolian::eolian_type x; 35 efl::eolian::eolian_type x;
36 x.native = normalize_spaces(safe_str(::eolian_type_c_type_get(&type))); 36 x.native = normalize_spaces(safe_str(::eolian_type_c_type_get(&type)));
37 x.is_own = ::eolian_type_is_own(&type); 37 x.is_own = ::eolian_type_is_own(&type);
38 x.is_const = ::eolian_type_is_const(&type);
38 return x; 39 return x;
39} 40}
40 41
diff --git a/src/bin/eolian_cxx/type_lookup_table.cc b/src/bin/eolian_cxx/type_lookup_table.cc
index bb14d95f1f..d4e7c1e9d6 100644
--- a/src/bin/eolian_cxx/type_lookup_table.cc
+++ b/src/bin/eolian_cxx/type_lookup_table.cc
@@ -13,24 +13,25 @@ type_lookup_table
13 {"Ecore_Task_Cb", eolian_type::callback_, {"Ecore.h"}}, 13 {"Ecore_Task_Cb", eolian_type::callback_, {"Ecore.h"}},
14 {"Ecore_Timeline_Cb", eolian_type::callback_, {"Ecore.h"}}, 14 {"Ecore_Timeline_Cb", eolian_type::callback_, {"Ecore.h"}},
15 {"Edje_Signal_Cb", eolian_type::callback_, {"Edje.h"}}, 15 {"Edje_Signal_Cb", eolian_type::callback_, {"Edje.h"}},
16 {"Eina_Accessor *", eolian_type::complex_, false, "efl::eina::accessor", {"eina-cxx/eina_accessor.hh"}}, 16 {"Eina_Accessor *", eolian_type::complex_, false, false, "efl::eina::accessor", {"eina-cxx/eina_accessor.hh"}},
17 {"Eina_Bool", eolian_type::simple_, false, "bool", {}}, 17 {"Eina_Bool", eolian_type::simple_, false, false, "bool", {}},
18 {"Eina_Bool *", eolian_type::simple_, false, "bool*", {}}, 18 {"Eina_Bool *", eolian_type::simple_, false, false, "bool*", {}},
19 {"Eina_Inlist *", eolian_type::complex_, false, "efl::eina::range_inlist", {"eina-cxx/eina_inlist.hh"}}, 19 {"Eina_Inlist *", eolian_type::complex_, false, false, "efl::eina::range_inlist", {"eina-cxx/eina_inlist.hh"}},
20 {"Eina_Inlist *", eolian_type::complex_, true, "efl::eina::inlist", {"eina-cxx/eina_inlist.hh"}}, 20 {"Eina_Inlist *", eolian_type::complex_, false, true, "efl::eina::inlist", {"eina-cxx/eina_inlist.hh"}},
21 {"Eina_Iterator *", eolian_type::complex_, false, "efl::eina::iterator", {"eina-cxx/eina_iterator.hh"}}, 21 {"Eina_Iterator *", eolian_type::complex_, false, false, "efl::eina::iterator", {"eina-cxx/eina_iterator.hh"}},
22 {"Eina_List *", eolian_type::complex_, false, "efl::eina::range_list", {"eina-cxx/eina_list.hh"}}, 22 {"Eina_List *", eolian_type::complex_, false, false, "efl::eina::range_list", {"eina-cxx/eina_list.hh"}},
23 {"Eina_List *", eolian_type::complex_, true, "efl::eina::list", {"eina-cxx/eina_list.hh"}}, 23 {"Eina_List *", eolian_type::complex_, false, true, "efl::eina::list", {"eina-cxx/eina_list.hh"}},
24 {"const Eina_List *", eolian_type::complex_, true, false, "efl::eina::crange_list", {"eina-cxx/eina_list.hh"}},
24 {"Eio_Filter_Direct_Cb", eolian_type::callback_, {"Eio.h"}}, 25 {"Eio_Filter_Direct_Cb", eolian_type::callback_, {"Eio.h"}},
25 {"Emodel *", eolian_type::simple_, false, "emodel", {"Emodel.hh"}}, 26 {"Emodel *", eolian_type::simple_, false, false, "emodel", {"Emodel.hh"}},
26 {"Eo *", eolian_type::simple_, true, "efl::eo::base", {"eo_base.hh"}}, 27 {"Eo *", eolian_type::simple_, false, true, "efl::eo::base", {"eo_base.hh"}},
27 {"Eo *", eolian_type::simple_, false, "efl::eo::base", {"eo_base.hh"}}, 28 {"Eo *", eolian_type::simple_, false, false, "efl::eo::base", {"eo_base.hh"}},
28 //{"Evas_Object_Box_Layout", eolian_type::callback_, {"Evas.h"}}, 29 //{"Evas_Object_Box_Layout", eolian_type::callback_, {"Evas.h"}},
29 {"Evas_Object *", eolian_type::simple_, false, "evas::object", {"canvas/evas_object.eo.hh"}}, 30 {"Evas_Object *", eolian_type::simple_, false, false, "evas::object", {"canvas/evas_object.eo.hh"}},
30 {"char *", eolian_type::simple_, true, "std::unique_ptr<char*>", {"memory"}}, 31 {"char *", eolian_type::simple_, false, true, "std::unique_ptr<char*>", {"memory"}},
31 {"const Eina_Inlist *", eolian_type::complex_, false, "efl::eina::range_inlist", {"eina-cxx/eina_inlist.hh"}}, 32 {"const Eina_Inlist *", eolian_type::complex_, false, false, "efl::eina::range_inlist", {"eina-cxx/eina_inlist.hh"}},
32 {"const Eina_List *", eolian_type::complex_, false, "efl::eina::crange_list", {"eina-cxx/eina_ptrlist.hh"}}, 33 {"const Eina_List *", eolian_type::complex_, false, false, "efl::eina::range_list", {"eina-cxx/eina_ptrlist.hh"}},
33 {"const char *", eolian_type::simple_, false, "std::string", {"string"}} 34 {"const char *", eolian_type::simple_, false, false, "std::string", {"string"}},
34}; 35};
35 36
36} 37}