jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=dfaa1d572208cc879e65b07663c30f1d9eaddd23
commit dfaa1d572208cc879e65b07663c30f1d9eaddd23 Author: Yossi Kantor <yossi.kan...@samsung.com> Date: Mon Mar 31 09:28:13 2014 +0300 Eolian: Legacy generator - dont generate @param[out] ret if return value is specified --- src/bin/eolian/legacy_generator.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bin/eolian/legacy_generator.c b/src/bin/eolian/legacy_generator.c index 2a3ca70..bfd756a 100644 --- a/src/bin/eolian/legacy_generator.c +++ b/src/bin/eolian/legacy_generator.c @@ -40,10 +40,8 @@ _eapi_decl_func_generate(const char *classname, Eolian_Function funcid, Eolian_F const char *func_lpref = NULL; Eina_Bool var_as_ret = EINA_FALSE; Eina_Bool add_star = EINA_FALSE; - Eina_Bool ret_is_void = EINA_FALSE; rettype = eolian_function_return_type_get(funcid, ftype); - if (rettype && !strcmp(rettype, "void")) ret_is_void = EINA_TRUE; if (ftype == GET) { suffix = "_get"; @@ -159,12 +157,6 @@ _eapi_decl_func_generate(const char *classname, Eolian_Function funcid, Eolian_F } if (flags) eina_strbuf_append_printf(flags, ")"); - if (rettype && !ret_is_void) - { - const char *pdesc = eolian_function_return_comment_get(funcid, ftype); - eina_strbuf_append_printf(descparam, " * @param[out] ret %s\n", pdesc?pdesc:"No description supplied."); - } - eina_strbuf_replace_all(fbody, "@#params", eina_strbuf_string_get(fparam)); eina_strbuf_replace_all(fbody, "@#list_desc_param", eina_strbuf_string_get(descparam)); eina_strbuf_reset(fparam); --