summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-06-09 14:39:06 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-06-09 14:41:12 +0100
commit1a34d89d20c3b90b103481a501764eec522d35aa (patch)
treed9a02041f592595d2e638254ecf27df651b288aa
parent16f4c5c35aa102d2af699ab01b0c754dbae15eb1 (diff)
eolian: fix incorrect doxygen param generation
The first param on methods was skipped for some reason. @fix
-rw-r--r--src/bin/eolian/docs_generator.c7
-rw-r--r--src/tests/eolian/data/class_simple_ref_eo.h1
-rw-r--r--src/tests/eolian/data/class_simple_ref_legacy.h1
-rw-r--r--src/tests/eolian/data/docs_ref.h1
-rw-r--r--src/tests/eolian/data/docs_ref_legacy.h1
5 files changed, 5 insertions, 6 deletions
diff --git a/src/bin/eolian/docs_generator.c b/src/bin/eolian/docs_generator.c
index 886bf9e185..8faddb2122 100644
--- a/src/bin/eolian/docs_generator.c
+++ b/src/bin/eolian/docs_generator.c
@@ -382,11 +382,6 @@ docs_generate_function(const Eolian_Function *fid, Eolian_Function_Type ftype,
382 if (ftype == EOLIAN_METHOD) 382 if (ftype == EOLIAN_METHOD)
383 { 383 {
384 itr = eolian_function_parameters_get(fid); 384 itr = eolian_function_parameters_get(fid);
385 if (!itr || !eina_iterator_next(itr, (void**)&par))
386 {
387 eina_iterator_free(itr);
388 itr = NULL;
389 }
390 } 385 }
391 else 386 else
392 { 387 {
@@ -399,7 +394,7 @@ docs_generate_function(const Eolian_Function *fid, Eolian_Function_Type ftype,
399 } 394 }
400 } 395 }
401 396
402 if (itr && !eina_iterator_next(itr, (void**)&par)) 397 if (!itr || !eina_iterator_next(itr, (void**)&par))
403 { 398 {
404 eina_iterator_free(itr); 399 eina_iterator_free(itr);
405 itr = NULL; 400 itr = NULL;
diff --git a/src/tests/eolian/data/class_simple_ref_eo.h b/src/tests/eolian/data/class_simple_ref_eo.h
index 9c66d574c8..43e96fcabb 100644
--- a/src/tests/eolian/data/class_simple_ref_eo.h
+++ b/src/tests/eolian/data/class_simple_ref_eo.h
@@ -53,6 +53,7 @@ EOAPI void evas_obj_simple_b_set(Eo *obj);
53/** 53/**
54 * @brief comment foo 54 * @brief comment foo
55 * 55 *
56 * @param[in] a a
56 * @param[in,out] b 57 * @param[in,out] b
57 * @param[out] c 58 * @param[out] c
58 * @param[in] d 59 * @param[in] d
diff --git a/src/tests/eolian/data/class_simple_ref_legacy.h b/src/tests/eolian/data/class_simple_ref_legacy.h
index 2150692000..8ec66a60ba 100644
--- a/src/tests/eolian/data/class_simple_ref_legacy.h
+++ b/src/tests/eolian/data/class_simple_ref_legacy.h
@@ -44,6 +44,7 @@ EAPI void evas_object_simple_b_set(Class_Simple *obj);
44/** 44/**
45 * @brief comment foo 45 * @brief comment foo
46 * 46 *
47 * @param[in] a a
47 * @param[in,out] b 48 * @param[in,out] b
48 * @param[out] c 49 * @param[out] c
49 * @param[in] d 50 * @param[in] d
diff --git a/src/tests/eolian/data/docs_ref.h b/src/tests/eolian/data/docs_ref.h
index 4be8d3ce3c..adc01ed4b8 100644
--- a/src/tests/eolian/data/docs_ref.h
+++ b/src/tests/eolian/data/docs_ref.h
@@ -108,6 +108,7 @@ EOAPI int docs_prop_get(const Eo *obj);
108/** 108/**
109 * @brief Method documentation. 109 * @brief Method documentation.
110 * 110 *
111 * @param[in] a Param documentation.
111 * @param[out] b 112 * @param[out] b
112 * @param[out] c Another param documentation. 113 * @param[out] c Another param documentation.
113 * 114 *
diff --git a/src/tests/eolian/data/docs_ref_legacy.h b/src/tests/eolian/data/docs_ref_legacy.h
index e804e3f8b5..33314dad91 100644
--- a/src/tests/eolian/data/docs_ref_legacy.h
+++ b/src/tests/eolian/data/docs_ref_legacy.h
@@ -105,6 +105,7 @@ EAPI int docs_prop_get(const Docs *obj);
105/** 105/**
106 * @brief Method documentation. 106 * @brief Method documentation.
107 * 107 *
108 * @param[in] a Param documentation.
108 * @param[out] b 109 * @param[out] b
109 * @param[out] c Another param documentation. 110 * @param[out] c Another param documentation.
110 * 111 *