eina: introduce eina_iterator_process
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Fri, 10 Jan 2020 15:35:57 +0000 (16:35 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 19 Feb 2020 20:59:00 +0000 (05:59 +0900)
commitb518feb92d3c29e2902dea536d6d7df6341fefe4
treec82c5981437e2fd1c8678c52bb9c0a7aecc94057
parent3fa2af29e5118e2de9ee8fff8f81297288758881
eina: introduce eina_iterator_process

this brings a functional-map function to the iterator implementations.
https://en.wikipedia.org/wiki/Map_(higher-order_function)

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D11062
src/lib/eina/eina_iterator.c
src/lib/eina/eina_iterator.h
src/lib/eina/eina_types.h
src/tests/eina/eina_test_iterator.c