summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-03-16 21:11:17 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-03-16 21:11:17 +0100
commite981bfc4e8f1ac2eaa2d8c1fa120c4ee27b095c2 (patch)
treebbf31f16ba653db471ff6a03b65e9b3ce69f11b0 /src/lib/eolian_cxx
parent7cbd8c7b93d7e78ede8d79029ccf468003d44199 (diff)
cxx: follow eoid to eo_self rename in cxx generator and bindings
Bringing efl back to a building state with cxx enabled.
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh8
1 files changed, 4 insertions, 4 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 2a7091ad02..21395e9c1a 100644
--- a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
+++ b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
@@ -158,9 +158,9 @@ operator<<(std::ostream& out, functors_constructor_methods const& x)
158 << tab(2) << "{}" << endl; 158 << tab(2) << "{}" << endl;
159 159
160 // Struct operator() 160 // Struct operator()
161 out << tab(2) << "void operator()(Eo* _obj_eoid)" << endl 161 out << tab(2) << "void operator()(Eo* _obj_eo_self)" << endl
162 << tab(2) << "{" << endl 162 << tab(2) << "{" << endl
163 << tab(3) << "::" << c.impl << "(_obj_eoid" << (c.params.empty() ? "" : ", ") 163 << tab(3) << "::" << c.impl << "(_obj_eo_self" << (c.params.empty() ? "" : ", ")
164 << parameters_forward_to_c(c.params) << ");" << endl 164 << parameters_forward_to_c(c.params) << ");" << endl
165 << tab(2) << "}" << endl; 165 << tab(2) << "}" << endl;
166 166
@@ -580,10 +580,10 @@ operator<<(std::ostream& out, function_call_constructor_methods const& x)
580 << tab(2) << "Eo* _ret_eo = eo_add_ref(" << x._cls.eo_name << ", _p._eo_raw"; 580 << tab(2) << "Eo* _ret_eo = eo_add_ref(" << x._cls.eo_name << ", _p._eo_raw";
581 for (it = first; it != last; ++it) 581 for (it = first; it != last; ++it)
582 { 582 {
583 out << ", _c" << (it-first) << "(eoid)"; 583 out << ", _c" << (it-first) << "(eo_self)";
584 } 584 }
585 if (!x._cls.optional_constructors.empty()) 585 if (!x._cls.optional_constructors.empty())
586 out << ", ::efl::eolian::call_ctors(eoid, _opts...)"; 586 out << ", ::efl::eolian::call_ctors(eo_self, _opts...)";
587 out << ");" << endl << endl; 587 out << ");" << endl << endl;
588 588
589 for (it = first; it != last; ++it) 589 for (it = first; it != last; ++it)