eolian_cxx: Fix wrapper constructors by updating to the new eo_add_ref interface
This commit is contained in:
parent
15a2178492
commit
0ca8f7c718
|
@ -441,10 +441,10 @@ operator<<(std::ostream& out, function_call_constructor_methods const& x)
|
||||||
|
|
||||||
out << "::efl::eo::parent_type _p)" << endl
|
out << "::efl::eo::parent_type _p)" << endl
|
||||||
<< tab(1) << "{" << endl
|
<< tab(1) << "{" << endl
|
||||||
<< tab(2) << "Eo* _ret_eo = eo_add_ref(" << x._cls.eo_name << ", _p._eo_raw, ";
|
<< tab(2) << "Eo* _ret_eo = eo_add_ref(" << x._cls.eo_name << ", _p._eo_raw";
|
||||||
for (it = first; it != last; ++it)
|
for (it = first; it != last; ++it)
|
||||||
{
|
{
|
||||||
out << "_c" << (it-first) << "(); ";
|
out << ", _c" << (it-first) << "()";
|
||||||
}
|
}
|
||||||
out << ");" << endl << endl;
|
out << ");" << endl << endl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue