From d87ffaa572973284f7d3e4d94c545c3e18b047b8 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 28 Mar 2020 13:07:35 +0100 Subject: [PATCH] Improve documentation. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d19bd004..19f4a3e6 100644 --- a/README.md +++ b/README.md @@ -6364,6 +6364,8 @@ This method is defined only if the container exports a PUSH method. ##### void name\_for\_each(container\_t c, void (*func)(type\_t)) Apply the function 'func' to each element of the container 'c'. +The function may transform the element provided it doesn't reallocate the +object and if the container supports iterating over modifiable elements. ##### void name\_reduce(type\_t *dest, const container\_t c, void (*func)(type\_t *, type\_t const))