tasn pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c2c7763481aefa4c6a8da7c34472a11d752f7d9d
commit c2c7763481aefa4c6a8da7c34472a11d752f7d9d Author: Tom Hacohen <t...@stosb.com> Date: Tue Dec 8 10:57:19 2015 +0000 Eolian legacy generator: Make code a bit clearer. This makes it clear that only one of those conditions can be true. This also fixed CID1323087 --- src/bin/eolian/legacy_generator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/eolian/legacy_generator.c b/src/bin/eolian/legacy_generator.c index 18b4506..660464f 100644 --- a/src/bin/eolian/legacy_generator.c +++ b/src/bin/eolian/legacy_generator.c @@ -132,8 +132,9 @@ _eapi_decl_func_generate(const Eolian_Class *class, const Eolian_Function *funci Eolian_Parameter_Dir pdir = eolian_parameter_direction_get(param); Eina_Bool had_star = !!strchr(ptype, '*'); if (ftype == EOLIAN_UNRESOLVED || ftype == EOLIAN_METHOD) add_star = (pdir == EOLIAN_OUT_PARAM || pdir == EOLIAN_INOUT_PARAM); - if (ftype == EOLIAN_PROP_GET) pdir = EOLIAN_OUT_PARAM; - if (ftype == EOLIAN_PROP_SET) pdir = EOLIAN_IN_PARAM; + else if (ftype == EOLIAN_PROP_GET) pdir = EOLIAN_OUT_PARAM; + else if (ftype == EOLIAN_PROP_SET) pdir = EOLIAN_IN_PARAM; + leg_param_idx++; if (eina_strbuf_length_get(fparam)) eina_strbuf_append(fparam, ", "); eina_strbuf_append_printf(fparam, "%s%s%s%s", --