summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/convert.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/eolian_cxx/convert.cc b/src/bin/eolian_cxx/convert.cc
index fc0dc29839..3f20f73a18 100644
--- a/src/bin/eolian_cxx/convert.cc
+++ b/src/bin/eolian_cxx/convert.cc
@@ -232,10 +232,12 @@ convert_eolian_constructors(efl::eolian::eo_class& cls, Eolian_Class const& klas
232 void *curr; 232 void *curr;
233 std::string prefix(class_prefix(klass)); 233 std::string prefix(class_prefix(klass));
234 Eina_Iterator *constructors = 234 Eina_Iterator *constructors =
235 ::eolian_class_functions_get(&klass, EOLIAN_CTOR); 235 ::eolian_class_functions_get(&klass, EOLIAN_METHOD);
236 EINA_ITERATOR_FOREACH(constructors, curr) 236 EINA_ITERATOR_FOREACH(constructors, curr)
237 { 237 {
238 Eolian_Function *eo_constructor = static_cast<Eolian_Function*>(curr); 238 Eolian_Function *eo_constructor = static_cast<Eolian_Function*>(curr);
239 if (!eolian_function_is_constructing(eo_constructor))
240 continue;
239 efl::eolian::eo_constructor constructor; 241 efl::eolian::eo_constructor constructor;
240 constructor.name = function_impl(*eo_constructor, prefix); 242 constructor.name = function_impl(*eo_constructor, prefix);
241 constructor.params = convert_eolian_parameters(*eo_constructor); 243 constructor.params = convert_eolian_parameters(*eo_constructor);
@@ -256,6 +258,8 @@ convert_eolian_functions(efl::eolian::eo_class& cls, Eolian_Class const& klass)
256 { 258 {
257 efl::eolian::eo_function func_; 259 efl::eolian::eo_function func_;
258 Eolian_Function *eol_func = static_cast<Eolian_Function*>(curr); 260 Eolian_Function *eol_func = static_cast<Eolian_Function*>(curr);
261 if (eolian_function_is_constructing(eol_func))
262 continue;
259 // XXX Eolian only provides regular methods so far 263 // XXX Eolian only provides regular methods so far
260 func_.type = efl::eolian::eo_function::regular_; 264 func_.type = efl::eolian::eo_function::regular_;
261 func_.name = function_name(*eol_func); 265 func_.name = function_name(*eol_func);