summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo_generator.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-27 15:25:13 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-27 15:43:47 +0100
commit1a76690abfbe5c709695ff84aa90b51242f4e469 (patch)
treeb3469526d6cb433d44f76743b4e535f01cb61f4f /src/bin/eolian/eo_generator.c
parent7e95079f0fb8affae694d2855c01fbaec35e0806 (diff)
eolian/generator: remove support for custom constructors
Diffstat (limited to 'src/bin/eolian/eo_generator.c')
-rw-r--r--src/bin/eolian/eo_generator.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index ce498fa519..f3ee216d2b 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -225,7 +225,7 @@ eo_fundef_generate(const Eolian_Class *class, Eolian_Function *func, Eolian_Func
225Eina_Bool 225Eina_Bool
226eo_header_generate(const Eolian_Class *class, Eina_Strbuf *buf) 226eo_header_generate(const Eolian_Class *class, Eina_Strbuf *buf)
227{ 227{
228 const Eolian_Function_Type ftype_order[] = {EOLIAN_CTOR, EOLIAN_PROPERTY, EOLIAN_METHOD}; 228 const Eolian_Function_Type ftype_order[] = {EOLIAN_PROPERTY, EOLIAN_METHOD};
229 Eina_Iterator *itr; 229 Eina_Iterator *itr;
230 Eolian_Event *event; 230 Eolian_Event *event;
231 Eolian_Function *fid; 231 Eolian_Function *fid;
@@ -710,22 +710,6 @@ eo_source_end_generate(const Eolian_Class *class, Eina_Strbuf *buf)
710 } 710 }
711 eina_iterator_free(itr); 711 eina_iterator_free(itr);
712 712
713 //Constructors
714 itr = eolian_class_functions_get(class, EOLIAN_CTOR);
715 EINA_ITERATOR_FOREACH(itr, fn)
716 {
717 if (eolian_function_is_legacy_only(fn, EOLIAN_CTOR))
718 continue;
719
720 char *desc = _source_desc_get(eolian_function_description_get(fn, EOLIAN_METHOD));
721 eo_op_desc_generate(class, fn, EOLIAN_CTOR, desc, tmpbuf);
722 eina_strbuf_append(str_op, eina_strbuf_string_get(tmpbuf));
723 free(desc);
724
725 eo_bind_func_generate(class, fn, EOLIAN_UNRESOLVED, str_bodyf, NULL);
726 }
727 eina_iterator_free(itr);
728
729 //Properties 713 //Properties
730 itr = eolian_class_functions_get(class, EOLIAN_PROPERTY); 714 itr = eolian_class_functions_get(class, EOLIAN_PROPERTY);
731 EINA_ITERATOR_FOREACH(itr, fn) 715 EINA_ITERATOR_FOREACH(itr, fn)