summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 16:45:41 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 16:45:58 +0100
commitc9119b0c8801ca5e5bb15e1c65172e4f98040521 (patch)
treecc786550cb60da7802e14a7dc8948b5b950110e8 /src/bin/eolian_cxx
parentd5443ffbcee8c540538a55f04e04f160a581cf3e (diff)
eolian: refactoring step three
Move from all instances of Eolian_Event and Eolian_Implement to Eolian_Event* and Eolian_Implement*.
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/convert.cc2
-rw-r--r--src/bin/eolian_cxx/eolian_wrappers.hh4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian_cxx/convert.cc b/src/bin/eolian_cxx/convert.cc
index 1a5917d95e..066dc77455 100644
--- a/src/bin/eolian_cxx/convert.cc
+++ b/src/bin/eolian_cxx/convert.cc
@@ -198,7 +198,7 @@ convert_eolian_implements(efl::eolian::eo_class& cls, Eolian_Class const *& klas
198 198
199 EINA_LIST_FOREACH(eolian_class_implements_list_get(klass), it, impl_desc_) 199 EINA_LIST_FOREACH(eolian_class_implements_list_get(klass), it, impl_desc_)
200 { 200 {
201 Eolian_Implement impl_desc = static_cast<Eolian_Implement>(impl_desc_); 201 Eolian_Implement *impl_desc = static_cast<Eolian_Implement*>(impl_desc_);
202 Eolian_Class *impl_class; 202 Eolian_Class *impl_class;
203 Eolian_Function impl_func; 203 Eolian_Function impl_func;
204 Eolian_Function_Type impl_type; 204 Eolian_Function_Type impl_type;
diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh
index cb979d0895..92e9c5e681 100644
--- a/src/bin/eolian_cxx/eolian_wrappers.hh
+++ b/src/bin/eolian_cxx/eolian_wrappers.hh
@@ -308,7 +308,7 @@ parameter_type(Eolian_Function_Parameter const& parameter, setter_t func_type)
308} 308}
309 309
310inline efl::eolian::eo_event 310inline efl::eolian::eo_event
311event_create(Eolian_Class const *& klass, const Eolian_Event event_) 311event_create(Eolian_Class const *& klass, const Eolian_Event *event_)
312{ 312{
313 efl::eolian::eo_event event; 313 efl::eolian::eo_event event;
314 const char *name, *type, *comment; 314 const char *name, *type, *comment;
@@ -332,7 +332,7 @@ event_list(Eolian_Class const *& klass)
332 unsigned int length = eina_list_count(list); 332 unsigned int length = eina_list_count(list);
333 for (unsigned int i = 0; i < length; ++i) 333 for (unsigned int i = 0; i < length; ++i)
334 { 334 {
335 Eolian_Event e = static_cast<Eolian_Event>(eina_list_nth(list, i)); 335 Eolian_Event *e = static_cast<Eolian_Event*>(eina_list_nth(list, i));
336 events.push_back(event_create(klass, e)); 336 events.push_back(event_create(klass, e));
337 } 337 }
338 return events; 338 return events;