summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-01-22 15:27:35 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-22 15:35:23 +0900
commit050bd0adc85d35ec0034621fd597ef08a630758c (patch)
tree9e1bcc4bc546db3782c8f8d04d8570e532566623
parentc2c8308e15485156c90443f53a945c8705863835 (diff)
Eolian Cxx: Fix warnings related to deprecated EO_EV_DEL
Switch the generator to EO_BASE_EVENT_DEL.
-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 5389a5d92d..ab64936a84 100644
--- a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
+++ b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
@@ -173,7 +173,7 @@ operator<<(std::ostream& out, functors_constructor_methods const& x)
173 if (d.is_cb) 173 if (d.is_cb)
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_EV_DEL, " 176 << tab(4) << "eo_event_callback_add(EO_BASE_EVENT_DEL, "
177 << "&::efl::eolian::free_callback_calback<" 177 << "&::efl::eolian::free_callback_calback<"
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;
diff --git a/src/lib/eolian_cxx/grammar/parameters_generator.hh b/src/lib/eolian_cxx/grammar/parameters_generator.hh
index 2d590f2b35..3b59ea0a64 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_EV_DEL, &::efl::eolian::free_callback_calback<" 125 << ", eo_event_callback_add(EO_BASE_EVENT_DEL, &::efl::eolian::free_callback_calback<"
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;