summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo_generator.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-09-04 14:29:33 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-09-04 15:03:00 +0100
commite75ded5e3fd28a9a5f450a22dbb279f2b723d61d (patch)
tree57014ea3deb99cadc1f56e890b4ade79f3033432 /src/bin/eolian/eo_generator.c
parentdebb51e5df59e0e55b087a150dfc3f01cab33013 (diff)
eolian: prepare for implements list expansion
As the implements list will soon contain all methods and properties, do some preparations. The Eolian library now fills in class field in implements early on when the implement is local. The Eolian C generator now checks for local implements and skips them (so that things don't break).
Diffstat (limited to 'src/bin/eolian/eo_generator.c')
-rw-r--r--src/bin/eolian/eo_generator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index ce1d0ad52c..20f69a0b19 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -726,6 +726,8 @@ eo_source_end_generate(const Eolian_Class *class, Eina_Strbuf *buf)
726 726
727 if ((impl_class = eolian_implement_class_get(impl_desc))) 727 if ((impl_class = eolian_implement_class_get(impl_desc)))
728 { 728 {
729 if (impl_class == class)
730 continue;
729 fnid = eolian_implement_function_get(impl_desc, &ftype); 731 fnid = eolian_implement_function_get(impl_desc, &ftype);
730 _class_env_create(impl_class, NULL, &impl_env); 732 _class_env_create(impl_class, NULL, &impl_env);
731 funcname = eolian_function_name_get(fnid); 733 funcname = eolian_function_name_get(fnid);