summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/eolian/docs_generator.c17
-rw-r--r--src/tests/eolian/data/class_simple_ref_eo.h1
-rw-r--r--src/tests/eolian/data/class_simple_ref_legacy.h1
3 files changed, 12 insertions, 7 deletions
diff --git a/src/bin/eolian/docs_generator.c b/src/bin/eolian/docs_generator.c
index 70475850f0..6272d4681c 100644
--- a/src/bin/eolian/docs_generator.c
+++ b/src/bin/eolian/docs_generator.c
@@ -242,8 +242,11 @@ docs_generate_function(const Eolian_Function *fid, Eolian_Function_Type ftype, i
242 indent, curl, buf, wbuf); 242 indent, curl, buf, wbuf);
243 243
244 eina_strbuf_append_char(buf, '\n'); 244 eina_strbuf_append_char(buf, '\n');
245 _indent_line(buf, indent); 245 if (desc || par || rdoc || pdoc)
246 eina_strbuf_append(buf, " *\n"); 246 {
247 _indent_line(buf, indent);
248 eina_strbuf_append(buf, " *\n");
249 }
247 250
248 if (desc) 251 if (desc)
249 { 252 {
@@ -275,7 +278,7 @@ docs_generate_function(const Eolian_Function *fid, Eolian_Function_Type ftype, i
275 _append_section(desc, indent, curl + 3, buf, wbuf); 278 _append_section(desc, indent, curl + 3, buf, wbuf);
276 eina_strbuf_append_char(buf, '\n'); 279 eina_strbuf_append_char(buf, '\n');
277 } 280 }
278 if (par) 281 if (par || rdoc)
279 { 282 {
280 _indent_line(buf, indent); 283 _indent_line(buf, indent);
281 eina_strbuf_append(buf, " *\n"); 284 eina_strbuf_append(buf, " *\n");
@@ -334,13 +337,17 @@ docs_generate_function(const Eolian_Function *fid, Eolian_Function_Type ftype, i
334 force_out = EINA_TRUE; 337 force_out = EINA_TRUE;
335 } 338 }
336 } 339 }
340
341 if (!par && rdoc)
342 {
343 _indent_line(buf, indent);
344 eina_strbuf_append(buf, " *\n");
345 }
337 } 346 }
338 eina_iterator_free(itr); 347 eina_iterator_free(itr);
339 348
340 if (rdoc) 349 if (rdoc)
341 { 350 {
342 _indent_line(buf, indent);
343 eina_strbuf_append(buf, " *\n");
344 curl = _indent_line(buf, indent); 351 curl = _indent_line(buf, indent);
345 eina_strbuf_append(buf, " * @return "); 352 eina_strbuf_append(buf, " * @return ");
346 curl += sizeof(" * @return ") - 1; 353 curl += sizeof(" * @return ") - 1;
diff --git a/src/tests/eolian/data/class_simple_ref_eo.h b/src/tests/eolian/data/class_simple_ref_eo.h
index 4cf1c6dd57..b430036a8e 100644
--- a/src/tests/eolian/data/class_simple_ref_eo.h
+++ b/src/tests/eolian/data/class_simple_ref_eo.h
@@ -35,7 +35,6 @@ EOAPI Eina_Bool evas_obj_simple_a_set(int value);
35/** 35/**
36 * @brief Common desc for a 36 * @brief Common desc for a
37 * 37 *
38 *
39 * @return Value description 38 * @return Value description
40 */ 39 */
41EOAPI int evas_obj_simple_a_get(void); 40EOAPI int evas_obj_simple_a_get(void);
diff --git a/src/tests/eolian/data/class_simple_ref_legacy.h b/src/tests/eolian/data/class_simple_ref_legacy.h
index 22c5b6b5ac..29889f8df9 100644
--- a/src/tests/eolian/data/class_simple_ref_legacy.h
+++ b/src/tests/eolian/data/class_simple_ref_legacy.h
@@ -29,7 +29,6 @@ EAPI Eina_Bool evas_object_simple_a_set(Class_Simple *obj, int value);
29/** 29/**
30 * @brief Common desc for a 30 * @brief Common desc for a
31 * 31 *
32 *
33 * @return Value description 32 * @return Value description
34 */ 33 */
35EAPI int evas_object_simple_a_get(const Class_Simple *obj); 34EAPI int evas_object_simple_a_get(const Class_Simple *obj);