diff -r 8170f658f017 -r 311cac04d079 ucx/ucx.h --- a/ucx/ucx.h Sat Jul 20 11:13:26 2013 +0200 +++ b/ucx/ucx.h Mon Jul 22 11:39:06 2013 +0200 @@ -47,33 +47,6 @@ #endif /** - * Generic loop statement for lists. - * - * The first argument is the type of the list and its elements (e.g. UcxList). - * The structure invariant of the list must be as follows: - *
NULL
) elementnext
element (the
- * variable name of the pointer MUST be next
)next
pointer
- * set to NULL
UCX_FOREACH
statement.
- *
- * @param type The type of both the list and the element
- * @param list The first element of the list
- * @param elem The variable name of the element
- */
-#define UCX_FOREACH(type,list,elem) \
- for (type elem = list ; elem != NULL ; elem = elem->next)
-
-/**
* Function pointer to a compare function.
*
* The compare function shall take three arguments: the two values that shall be