On Tue, 5 Jul 2022 at 11:26, Giovanni Mascellani gmascellani@codeweavers.com wrote:
It's not a big deal, but this interface looks more complicated than it should for such a simple thing. Maybe we could just return the field index and the caller can dereference the array if needed?
Right, you should only ever need one or the other. (I.e., &fields[i] - fields == i)