在 2024-10-04 08:27, Nikolay Sivov 写道:
From ab830a7a71c015c73ac1560476acd37aa64d8060 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov<nsi...@codeweavers.com> Date: Fri, 4 Oct 2024 02:23:01 +0200 Subject: [PATCH] include: Fix ID2D1Geometry methods macros.--- mingw-w64-headers/include/d2d1.h | 170 +++++++++++++++---------------- 1 file changed, 85 insertions(+), 85 deletions(-)
Thanks for the patch. Mostly looks good to me,
+#define ID2D1EllipseGeometry_GetBounds(this,A,B) (this)->lpVtbl->Base.GetBounds((ID2D1Geometry*)this,A,B) +#define ID2D1EllipseGeometry_GetWidenedBounds(this,A,B,C,D,E) (this)->lpVtbl->Base.GetWidenedBounds((ID2D1Geometry*)this,A,B,C,D,E) +#define ID2D1EllipseGeometry_StrokeContainsPoint(this,A,B,C,D,E,F) (this)->lpVtbl->Base.StrokeContainsPoint((ID2D1Geometry*)this,A,B,C,D,E,F)
... except that as the expansion of a macro `this` should be within parentheses. Pushed to master with these fixes now. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public