# HG changeset patch # User Mike Becker # Date 1471948864 -7200 # Node ID 1f57f196d2217f8c7501fa9ec8d8d0411d78ed22 # Parent 2df780a4482b60a5061a374b9a28e564139acd93 fixes UCX_FOREACH documentation diff -r 2df780a4482b -r 1f57f196d221 ucx/list.h --- a/ucx/list.h Fri Mar 11 18:06:27 2016 +0100 +++ b/ucx/list.h Tue Aug 23 12:41:04 2016 +0200 @@ -46,13 +46,13 @@ /** * Loop statement for UCX lists. * - * The first argument is a pointer to the list. In most cases this will be the + * The first argument is the name of the iteration variable. The scope of + * this variable is limited to the UCX_FOREACH statement. + * + * The second argument is a pointer to the list. In most cases this will be the * pointer to the first element of the list, but it may also be an arbitrary * element of the list. The iteration will then start with that element. * - * The second argument is the name of the iteration variable. The scope of - * this variable is limited to the UCX_FOREACH statement. - * * @param list The first element of the list * @param elem The variable name of the element */