aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-10-13 15:18:01 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-10-13 15:18:18 +0200
commit5699466dbabc8a1b2bd6b46a49cb268c5db415e1 (patch)
treeb846cc1646c9f323b95d83289631e6eae77fcdf4 /src/bin/eolian
parentelm_toolbar: use prepare to get focus into the items again (diff)
downloadefl-5699466dbabc8a1b2bd6b46a49cb268c5db415e1.tar.gz
eolian gen: generate documentation for first object param if present
This prevents doxygen from emitting warnings. Fixes https://phab.enlightenment.org/T6186.
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/docs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bin/eolian/docs.c b/src/bin/eolian/docs.c
index aa17975334..9807b727b7 100644
--- a/src/bin/eolian/docs.c
+++ b/src/bin/eolian/docs.c
@@ -569,6 +569,17 @@ eo_gen_docs_func_gen(const Eolian_Unit *src, const Eolian_Function *fid,
}
}
+ if (!eolian_function_is_class(fid))
+ {
+ _indent_line(buf, indent);
+ eina_strbuf_append(buf, " * @param[in] obj The object.\n");
+ if (!par && (rdoc || since))
+ {
+ _indent_line(buf, indent);
+ eina_strbuf_append(buf, " *\n");
+ }
+ }
+
while (par)
{
const Eolian_Documentation *adoc = eolian_parameter_documentation_get(par);