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
This commit is contained in:
Xavi Artigas 2020-01-10 16:35:37 +00:00 committed by Marcel Hollerbach
parent 74491e8781
commit c2738b4ed9
2 changed files with 6 additions and 2 deletions

View File

@ -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
*/

View File

@ -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);