aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
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/tests
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/tests')
-rw-r--r--src/tests/eolian/data/class_simple_ref_eo.h4
-rw-r--r--src/tests/eolian/data/docs_ref.h4
-rw-r--r--src/tests/eolian/data/docs_ref_legacy.h4
-rw-r--r--src/tests/eolian/data/struct_ref.c1
4 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/eolian/data/class_simple_ref_eo.h b/src/tests/eolian/data/class_simple_ref_eo.h
index fea32db0b2..9a5ddcd5c7 100644
--- a/src/tests/eolian/data/class_simple_ref_eo.h
+++ b/src/tests/eolian/data/class_simple_ref_eo.h
@@ -47,6 +47,7 @@ EWAPI const Efl_Class *class_simple_class_get(void);
*
* comment a.set
*
+ * @param[in] obj The object.
* @param[in] value Value description
*
* @return comment for property set return
@@ -60,6 +61,8 @@ EOAPI Eina_Bool efl_canvas_object_simple_a_set(Eo *obj, int value);
/**
* @brief Common desc for a
*
+ * @param[in] obj The object.
+ *
* @return Value description
*
* @ingroup Class_Simple
@@ -73,6 +76,7 @@ EOAPI void efl_canvas_object_simple_b_set(Eo *obj);
/**
* @brief comment foo
*
+ * @param[in] obj The object.
* @param[in] a a
* @param[in,out] b
* @param[out] c
diff --git a/src/tests/eolian/data/docs_ref.h b/src/tests/eolian/data/docs_ref.h
index bd9224efbd..d8002b8abf 100644
--- a/src/tests/eolian/data/docs_ref.h
+++ b/src/tests/eolian/data/docs_ref.h
@@ -88,6 +88,7 @@ EWAPI const Efl_Class *docs_class_get(void);
/**
* @brief Method documentation.
*
+ * @param[in] obj The object.
* @param[in] a Param documentation.
* @param[out] b
* @param[out] c Another param documentation.
@@ -105,6 +106,7 @@ EOAPI int docs_meth(Eo *obj, int a, float *b, long *c);
*
* Set documentation.
*
+ * @param[in] obj The object.
* @param[in] val Value documentation.
*
* @since 1.18
@@ -118,6 +120,8 @@ EOAPI void docs_prop_set(Eo *obj, int val);
*
* Get documentation.
*
+ * @param[in] obj The object.
+ *
* @return Value documentation.
*
* @since 1.18
diff --git a/src/tests/eolian/data/docs_ref_legacy.h b/src/tests/eolian/data/docs_ref_legacy.h
index 5d3849ac36..75aad8bfb4 100644
--- a/src/tests/eolian/data/docs_ref_legacy.h
+++ b/src/tests/eolian/data/docs_ref_legacy.h
@@ -74,6 +74,7 @@ typedef struct _Opaque Opaque;
/**
* @brief Method documentation.
*
+ * @param[in] obj The object.
* @param[in] a Param documentation.
* @param[out] b
* @param[out] c Another param documentation.
@@ -91,6 +92,7 @@ EAPI int docs_meth(Docs *obj, int a, float *b, long *c);
*
* Set documentation.
*
+ * @param[in] obj The object.
* @param[in] val Value documentation.
*
* @since 1.18
@@ -104,6 +106,8 @@ EAPI void docs_prop_set(Docs *obj, int val);
*
* Get documentation.
*
+ * @param[in] obj The object.
+ *
* @return Value documentation.
*
* @since 1.18
diff --git a/src/tests/eolian/data/struct_ref.c b/src/tests/eolian/data/struct_ref.c
index 42f34a9be2..60b4369bce 100644
--- a/src/tests/eolian/data/struct_ref.c
+++ b/src/tests/eolian/data/struct_ref.c
@@ -33,6 +33,7 @@ EWAPI const Efl_Class *struct_class_get(void);
/**
* @brief Foo docs. This is @c monospace. This is alone-standing $.
*
+ * @param[in] obj The object.
* @param[in] idx
*
* @ingroup Struct