summaryrefslogtreecommitdiff
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
parent74491e8781d87b4321470bea5414a3a750a695e8 (diff)
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
-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
377 * 377 *
378 * Processes every node in the input iterator and returns a new iterator containing 378 * Processes every node in the input iterator and returns a new iterator containing
379 * the processed nodes. This is akin to a Map function: 379 * the processed nodes. This is akin to a Map function:
380 * @see https://en.wikipedia.org/wiki/Map_(higher-order_function) 380 * https://en.wikipedia.org/wiki/Map_(higher-order_function)
381 * 381 *
382 * @since 1.24 382 * @since 1.24
383 */ 383 */
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);
542/** 542/**
543 * @typedef Eina_Process_Cb 543 * @typedef Eina_Process_Cb
544 * Method that processes some data and returns new data. 544 * Method that processes some data and returns new data.
545 * It's meant to be used as a callback to process all nodes inside a container (See eina_iterator_processed_new, for example.) 545 * It's meant to be used as a callback to process all nodes inside a container
546 * (See eina_iterator_processed_new, for example.)
547 * @param data The data to process.
548 * @param fdata Context data.
549 * @return The processed data.
546 */ 550 */
547typedef void* (*Eina_Process_Cb)(const void *container, void *data, void *fdata); 551typedef void* (*Eina_Process_Cb)(const void *container, void *data, void *fdata);
548 552