Re: [ovs-dev] [PATCH v4 02/15] util: add safe multi-variable iterators

2022-03-18 Thread Eelco Chaudron
On 9 Mar 2022, at 17:10, Adrian Moreno wrote: > Safe version of multi-variable iterator helpers declare an internal > variable to store the next value of the iterator temporarily. > > Two versions of the macro are provided, one that still uses the NEXT > variable for backwards compatibility

[ovs-dev] [PATCH v4 02/15] util: add safe multi-variable iterators

2022-03-09 Thread Adrian Moreno
Safe version of multi-variable iterator helpers declare an internal variable to store the next value of the iterator temporarily. Two versions of the macro are provided, one that still uses the NEXT variable for backwards compatibility and a shorter version that does not require the use of an