eolian_cxx: Fix wrapper constructors by updating to the new eo_add_ref interface

This commit is contained in:
Vitor Sousa 2015-02-23 17:04:53 -03:00
parent 15a2178492
commit 0ca8f7c718
1 changed files with 2 additions and 2 deletions

View File

@ -441,10 +441,10 @@ operator<<(std::ostream& out, function_call_constructor_methods const& x)
out << "::efl::eo::parent_type _p)" << 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)
{
out << "_c" << (it-first) << "(); ";
out << ", _c" << (it-first) << "()";
}
out << ");" << endl << endl;