Re: Question about `Avoid const strarray pointers in all functions' patch
Alexandre Julliard <[email protected]> Thu, 27 Feb 2025 22:26:05 +0100
| Newsgroups | gmane.comp.emulators.wine.devel |
|---|---|
| Message-ID | <87eczj13ma.fsf@wine> |
Mitch Wilkinson <[email protected]> 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. -- Alexandre Julliard [email protected]