felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0ca8f7c7186e83724bf4590665b9f99a559d1369

commit 0ca8f7c7186e83724bf4590665b9f99a559d1369
Author: Vitor Sousa <vitorsousasi...@gmail.com>
Date:   Mon Feb 23 17:04:53 2015 -0300

    eolian_cxx: Fix wrapper constructors by updating to the new eo_add_ref 
interface
---
 src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh | 4 ++--
 1 file 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 42d5776..86a515e 100644
--- a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
+++ b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
@@ -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;
 

-- 


Reply via email to