WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=89a79f8038d9ae2ed54d9162a4f2994700e92094
commit 89a79f8038d9ae2ed54d9162a4f2994700e92094 Author: Nate Drake <nate.dr...@gmx.com> Date: Fri Dec 1 07:30:16 2017 -0800 Wiki page iterator-functions.md changed with summary [] by Nate Drake --- pages/develop/guides/c/eina/iterator-functions.md.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/develop/guides/c/eina/iterator-functions.md.txt b/pages/develop/guides/c/eina/iterator-functions.md.txt index 51386f671..4302d8d51 100644 --- a/pages/develop/guides/c/eina/iterator-functions.md.txt +++ b/pages/develop/guides/c/eina/iterator-functions.md.txt @@ -5,15 +5,15 @@ # Iterator Functions # -Eina provides a set of iterator functions to manipulate data types, such as arrays. +Eina provides a set of iterator functions to manipulate data types such as arrays. -These functions allow access to container elements in a generic way, without knowing which container is used (similar to iterators in the C++ STL). Iterators only allow sequential access (that is, from one element to the next one). For random access, Eina provides accessor functions. +These functions allow access to container elements in a generic way, without knowing which container is used (similar to iterators in the C++ Standard Template Library). Iterators only allow sequential access : that is to say from one element to the next. Eina also provides accessor functions for random access. -Getting an iterator to access elements of a given container is done through the functions of that particular container. There is no function to create a generic iterator as iterators absolutely depend on the container. Note that all iterators, regardless of the container type, are always deleted with the same ``eina_iterator_free()`` function. +Getting an iterator to access elements of a given container is done through the functions of that particular container. There is no function to create a generic iterator, as iterators absolutely depend on the container. All iterators regardless of the container type can be deleted with the function : ``eina_iterator_free()``. -To get the data and iterate, use the ``eina_iterator_next()`` function. To call a function on every single element of a container, use the ``eina_iterator_foreach()`` function. +Use the ``eina_iterator_next()`` function to obtain the data and start iterating. To call a function on every single element of a container use the function ``eina_iterator_foreach()``. -In addition to iterator functions, each data type also owns a set of macros that provide the iterators, such as ``FOREACH`` or ``REVERSE_FOREACH``. +In addition to iterator functions each data type also owns a set of macros that provide the iterators, such as ``FOREACH`` or ``REVERSE_FOREACH``. ## Further Reading ## --