@@ -122,7 +122,7 @@ parent-children rings it returns the number of children.
122122Iteration
123123.........
124124
125- ``RING_FOR(Ring node, Ring ring, Ring next) ``
125+ ``RING_FOR(node, ring, next) ``
126126
127127_`.for `: A macro is used for iterating over the elements in a ring.
128128This macro is called ``RING_FOR() ``. ``RING_FOR() `` takes three arguments.
@@ -163,11 +163,11 @@ Element access
163163
164164_`.next `: ``RingNext() `` returns the next node in the ring.
165165
166- ``Ring ( RingPrev) (Ring ring) ``
166+ ``Ring RingPrev(Ring ring) ``
167167
168168_`.prev `: ``RingPrev() `` returns the previous node in the ring.
169169
170- ``RING_ELT(type, field, Ring node) ``
170+ ``RING_ELT(type, field, node) ``
171171
172172_`.elt `: ``RING_ELT() `` is a macro that converts a pointer to a ring
173173structure into a pointer to the enclosing parent structure.
@@ -182,17 +182,17 @@ result is a pointer to the enclosing structure.
182182Append / Remove
183183...............
184184
185- ``void RingAppend(Ring ring, Ring new) ``
185+ ``void RingAppend(ring, new) ``
186186
187187_`.append `: ``RingAppend() `` appends a singleton ring to a ring (such
188188that the newly added element will be last in the iteration sequence).
189189
190- ``void ( RingInsert) (Ring ring, Ring new) ``
190+ ``void RingInsert(Ring ring, Ring new) ``
191191
192192_`.insert `: ``RingInsert() `` adds a singleton ring to a ring (such that
193193the newly added element will be first in the iteration sequence).
194194
195- ``void ( RingRemove) (Ring old) ``
195+ ``void RingRemove(Ring old) ``
196196
197197_`.remove `: ``RingRemove() `` removes an element from a ring. The newly
198198removed element becomes a singleton ring. It is an error for the
0 commit comments