Document the more convenient iteration method.

This commit is contained in:
Dimi Paun 2005-05-18 13:24:46 +00:00 committed by Alexandre Julliard
parent 66d922df37
commit 10d48a9464
1 changed files with 3 additions and 3 deletions

View File

@ -54,10 +54,10 @@ struct list
* *
* And to iterate over it: * And to iterate over it:
* *
* struct list *cursor; * struct gadget *gadget;
* LIST_FOR_EACH( cursor, &global_gadgets ) * LIST_FOR_EACH_ENTRY( gadget, &global_gadgets, struct gadget, entry )
* { * {
* struct gadget *gadget = LIST_ENTRY( cursor, struct gadget, entry ); * ...
* } * }
* *
*/ */