forked from enlightenment/efl
Eolian Cxx: Fix warnings related to deprecated EO_EV_DEL
Switch the generator to EO_BASE_EVENT_DEL.
This commit is contained in:
parent
c2c8308e15
commit
050bd0adc8
|
@ -173,7 +173,7 @@ operator<<(std::ostream& out, functors_constructor_methods const& x)
|
||||||
if (d.is_cb)
|
if (d.is_cb)
|
||||||
d.out << tab(3)
|
d.out << tab(3)
|
||||||
<< "eo_do(_eoptr," << endl
|
<< "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<"
|
<< "&::efl::eolian::free_callback_calback<"
|
||||||
<< parameter_no_ref_type(d.type, d.name)
|
<< parameter_no_ref_type(d.type, d.name)
|
||||||
<< ">, " << callback_tmp(d.name) << "));" << endl;
|
<< ">, " << callback_tmp(d.name) << "));" << endl;
|
||||||
|
|
|
@ -122,7 +122,7 @@ inline std::ostream&
|
||||||
operator<<(std::ostream& out, callback_parameter_free_ev_add const& x)
|
operator<<(std::ostream& out, callback_parameter_free_ev_add const& x)
|
||||||
{
|
{
|
||||||
out << "eo_do(" << x._eo_raw_expr
|
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) << ">, "
|
<< parameter_no_ref_type(x._type, x._name) << ">, "
|
||||||
<< callback_tmp(x._name) << "));";
|
<< callback_tmp(x._name) << "));";
|
||||||
return out;
|
return out;
|
||||||
|
|
Loading…
Reference in New Issue