Improve documentation.
This commit is contained in:
1 parent
370cdb4e45
commit
d87ffaa572
1 file changed
+2
@@ -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))
|
##### void name\_for\_each(container\_t c, void (*func)(type\_t))
|
||||||
|
|
||||||
Apply the function 'func' to each element of the container 'c'.
|
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))
|
##### void name\_reduce(type\_t *dest, const container\_t c, void (*func)(type\_t *, type\_t const))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user