summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx/type_lookup_table.cc
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-07-16 21:29:47 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-07-18 18:57:13 -0300
commit78e396ac19b203b0dbfb1a2b8d298177fffde9e4 (patch)
tree8281622f4881cf40a65167e3fa3e99d22f4563b3 /src/bin/eolian_cxx/type_lookup_table.cc
parent88f12935278c9d3547da96b74e525402e2efd3f0 (diff)
eolian-cxx: Initial version of complex types / callbacks / events implementation.
Diffstat (limited to 'src/bin/eolian_cxx/type_lookup_table.cc')
-rw-r--r--src/bin/eolian_cxx/type_lookup_table.cc31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/bin/eolian_cxx/type_lookup_table.cc b/src/bin/eolian_cxx/type_lookup_table.cc
new file mode 100644
index 0000000000..072ef22748
--- /dev/null
+++ b/src/bin/eolian_cxx/type_lookup_table.cc
@@ -0,0 +1,31 @@
1#include "type_lookup.hh"
2
3namespace eolian_cxx {
4
5using efl::eolian::eolian_type;
6
7// Keep the table sorted!
8// This can help: cat type_lookup_table | LC_ALL=C sort
9const lookup_table_type
10type_lookup_table
11{
12 {"Ecore_Cb", eolian_type::callback_, {"Ecore.h"}},
13 {"Ecore_Task_Cb", eolian_type::callback_, {"Ecore.h"}},
14 {"Ecore_Timeline_Cb", eolian_type::callback_, {"Ecore.h"}},
15 {"Eina_Accessor *", eolian_type::complex_, false, "efl::eina::accessor", {"eina-cxx/eina_accessor.hh"}},
16 {"Eina_Bool", eolian_type::simple_, false, "bool", {}},
17 {"Eina_Inlist *", eolian_type::complex_, false, "efl::eina::range_inlist", {"eina-cxx/eina_inlist.hh"}},
18 {"Eina_Inlist *", eolian_type::complex_, true, "efl::eina::inlist", {"eina-cxx/eina_inlist.hh"}},
19 {"Eina_Iterator *", eolian_type::complex_, false, "efl::eina::iterator", {"eina-cxx/eina_iterator.hh"}},
20 {"Eina_List *", eolian_type::complex_, false, "efl::eina::range_ptr_list", {"eina-cxx/eina_ptrlist.hh"}},
21 {"Eina_List *", eolian_type::complex_, true, "efl::eina::ptr_list", {"eina-cxx/eina_ptrlist.hh"}},
22 //{"Eina_List *", eolian_type::complex_, false, "efl::eina::ptr_list", {"eina-cxx/eina_ptrlist.hh"}},
23 {"Eo *", eolian_type::simple_, true, "efl::eo::base", {"eo_base.hh"}},
24 {"Evas_Object *", eolian_type::simple_, false, "evas_object", {"canvas/evas_object.eo.hh"}},
25 {"char *", eolian_type::simple_, true, "std::unique_ptr<char*>", {"memory"}},
26 {"const Eina_Inlist *", eolian_type::complex_, false, "efl::eina::range_inlist", {"eina-cxx/eina_inlist.hh"}},
27 {"const Eina_List *", eolian_type::complex_, false, "efl::eina::range_ptr_list", {"eina-cxx/eina_ptrlist.hh"}},
28 {"const char *", eolian_type::simple_, false, "std::string", {"string"}}
29};
30
31}