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

2022-03-24 Thread Dumitru Ceara
On 3/23/22 12:56, 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 and a shorter

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

2022-03-23 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 addi