summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2020-01-10 16:35:37 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-19 16:34:08 +0100
commitc2738b4ed9d0361049c3f83dbdd050f750ad7b72 (patch)
tree1a326efc3b89bd06c9e3432b5b4f4306cec119e4 /src/lib/eina
parent74491e8781d87b4321470bea5414a3a750a695e8 (diff)
downloadefl-c2738b4ed9d0361049c3f83dbdd050f750ad7b72.tar.gz
docs: A bit more info and formatting for Eina_Process_Cb
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11063
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_iterator.h2
-rw-r--r--src/lib/eina/eina_types.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/eina/eina_iterator.h b/src/lib/eina/eina_iterator.h
index 21194d59c3..4f05bda5b9 100644
--- a/src/lib/eina/eina_iterator.h
+++ b/src/lib/eina/eina_iterator.h
@@ -377,7 +377,7 @@ EAPI Eina_Iterator *eina_multi_iterator_internal_new(Eina_Iterator *it, ...) EIN
*
* Processes every node in the input iterator and returns a new iterator containing
* the processed nodes. This is akin to a Map function:
- * @see https://en.wikipedia.org/wiki/Map_(higher-order_function)
+ * https://en.wikipedia.org/wiki/Map_(higher-order_function)
*
* @since 1.24
*/
diff --git a/src/lib/eina/eina_types.h b/src/lib/eina/eina_types.h
index ad797d3d91..7c5ef004eb 100644
--- a/src/lib/eina/eina_types.h
+++ b/src/lib/eina/eina_types.h
@@ -542,7 +542,11 @@ typedef int (*Eina_Random_Cb)(const int min, const int max);
/**
* @typedef Eina_Process_Cb
* Method that processes some data and returns new data.
- * It's meant to be used as a callback to process all nodes inside a container (See eina_iterator_processed_new, for example.)
+ * It's meant to be used as a callback to process all nodes inside a container
+ * (See eina_iterator_processed_new, for example.)
+ * @param data The data to process.
+ * @param fdata Context data.
+ * @return The processed data.
*/
typedef void* (*Eina_Process_Cb)(const void *container, void *data, void *fdata);