Mitch Wilkinson foo.ami@yandex.com writes:
Patch 0828f33e550 (tools: Avoid const strarray pointers in all functions., 2025-02-26)[1] recently landed to `Wine development'. Can anyone explain me what motivation was behind changing type of function parameter(s)? Does this affect function inlining, or something?
There's no performance improvement, it's for consistency with the other similar functions that take an strarray as input. Not passing a pointer makes it obvious that the array is not modified.