Eolian Cxx: Fix warnings related to deprecated EO_EV_DEL

Switch the generator to EO_BASE_EVENT_DEL.
This commit is contained in:
Jean-Philippe Andre 2016-01-22 15:27:35 +09:00
parent c2c8308e15
commit 050bd0adc8
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ operator<<(std::ostream& out, functors_constructor_methods const& x)
if (d.is_cb)
d.out << tab(3)
<< "eo_do(_eoptr," << endl
<< tab(4) << "eo_event_callback_add(EO_EV_DEL, "
<< tab(4) << "eo_event_callback_add(EO_BASE_EVENT_DEL, "
<< "&::efl::eolian::free_callback_calback<"
<< parameter_no_ref_type(d.type, d.name)
<< ">, " << callback_tmp(d.name) << "));" << endl;

View File

@ -122,7 +122,7 @@ inline std::ostream&
operator<<(std::ostream& out, callback_parameter_free_ev_add const& x)
{
out << "eo_do(" << x._eo_raw_expr
<< ", eo_event_callback_add(EO_EV_DEL, &::efl::eolian::free_callback_calback<"
<< ", eo_event_callback_add(EO_BASE_EVENT_DEL, &::efl::eolian::free_callback_calback<"
<< parameter_no_ref_type(x._type, x._name) << ">, "
<< callback_tmp(x._name) << "));";
return out;