summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-29 11:01:04 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-29 11:01:04 -0300
commitd40b046685263b1a3afec595dc08b91e2dcc9371 (patch)
treeeb77ed2b7cdb8fa4d0e6b731c51633a87ad194c3 /src/lib/eolian_cxx
parent9ad7ddbcd425702077b7cbf17c9de0f97e1ec956 (diff)
eolian-cxx: Fix C++ events with new Eo_Event_Cb signature
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh2
-rw-r--r--src/lib/eolian_cxx/grammar/parameters_generator.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
index ab64936a84..73847a8c39 100644
--- a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
+++ b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
@@ -174,7 +174,7 @@ operator<<(std::ostream& out, functors_constructor_methods const& x)
174 d.out << tab(3) 174 d.out << tab(3)
175 << "eo_do(_eoptr," << endl 175 << "eo_do(_eoptr," << endl
176 << tab(4) << "eo_event_callback_add(EO_BASE_EVENT_DEL, " 176 << tab(4) << "eo_event_callback_add(EO_BASE_EVENT_DEL, "
177 << "&::efl::eolian::free_callback_calback<" 177 << "&::efl::eolian::free_callback_callback<"
178 << parameter_no_ref_type(d.type, d.name) 178 << parameter_no_ref_type(d.type, d.name)
179 << ">, " << callback_tmp(d.name) << "));" << endl; 179 << ">, " << callback_tmp(d.name) << "));" << endl;
180 }) 180 })
diff --git a/src/lib/eolian_cxx/grammar/parameters_generator.hh b/src/lib/eolian_cxx/grammar/parameters_generator.hh
index 3b59ea0a64..ecda9d8e2a 100644
--- a/src/lib/eolian_cxx/grammar/parameters_generator.hh
+++ b/src/lib/eolian_cxx/grammar/parameters_generator.hh
@@ -122,7 +122,7 @@ inline std::ostream&
122operator<<(std::ostream& out, callback_parameter_free_ev_add const& x) 122operator<<(std::ostream& out, callback_parameter_free_ev_add const& x)
123{ 123{
124 out << "eo_do(" << x._eo_raw_expr 124 out << "eo_do(" << x._eo_raw_expr
125 << ", eo_event_callback_add(EO_BASE_EVENT_DEL, &::efl::eolian::free_callback_calback<" 125 << ", eo_event_callback_add(EO_BASE_EVENT_DEL, &::efl::eolian::free_callback_callback<"
126 << parameter_no_ref_type(x._type, x._name) << ">, " 126 << parameter_no_ref_type(x._type, x._name) << ">, "
127 << callback_tmp(x._name) << "));"; 127 << callback_tmp(x._name) << "));";
128 return out; 128 return out;