Re: [PATCH v2 06/19] cutils: Document differences between parse_uint and qemu_strtou64

2023-05-19 Thread Hanna Czenczek
On 12.05.23 04:10, Eric Blake wrote: These two functions are subtly different, and not just because of swapped parameter order. It took me adding better unit tests to figure out why. Document the differences to make it more obvious to developers trying to pick which one to use, as well as to ai

[PATCH v2 06/19] cutils: Document differences between parse_uint and qemu_strtou64

2023-05-11 Thread Eric Blake
These two functions are subtly different, and not just because of swapped parameter order. It took me adding better unit tests to figure out why. Document the differences to make it more obvious to developers trying to pick which one to use, as well as to aid in upcoming semantic changes. While