Commit 10d48a94 authored by Dimi Paun's avatar Dimi Paun Committed by Alexandre Julliard

Document the more convenient iteration method.

parent 66d922df
......@@ -54,10 +54,10 @@ struct list
*
* And to iterate over it:
*
* struct list *cursor;
* LIST_FOR_EACH( cursor, &global_gadgets )
* struct gadget *gadget;
* LIST_FOR_EACH_ENTRY( gadget, &global_gadgets, struct gadget, entry )
* {
* struct gadget *gadget = LIST_ENTRY( cursor, struct gadget, entry );
* ...
* }
*
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment