[PATCH 2/2] include/winuser: Add CopyRect as inline version of common RECT helpers

Alexandre Julliard julliard at winehq.org
Wed Mar 20 15:27:39 CDT 2019


Gabriel Ivăncescu <gabrielopcode at gmail.com> writes:

> Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
> ---
>
> Apparently, there are some places in the Wine code where it helps to keep
> CopyRect, so this does have uses after all. (see replies to patch series
> from 156204)

CopyRect() may be useful in a couple of places, but not enough to
justify adding an inline version. It's treated differently because we
actually want to encourage using the open-coded variant, unlike for the
other functions.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list