Hello
Please find a formatted patch for https://github.com/mingw-w64/mingw-w64/pull/17
Regards,
Dmitry Karasik
---
mingw-w64-headers/include/gdiplus/gdiplusinit.h | 4 ++--
mingw-w64-headers/include/gdiplus/gdiplustypes.h | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/mingw-w64-headers/include/gdiplus/gdiplusinit.h
b/mingw-w64-headers/include/gdiplus/gdiplusinit.h
index e9276a67..983b5deb 100644
--- a/mingw-w64-headers/include/gdiplus/gdiplusinit.h
+++ b/mingw-w64-headers/include/gdiplus/gdiplusinit.h
@@ -43,8 +43,8 @@ typedef struct GdiplusStartupInput {
#endif /* __cplusplus */
} GdiplusStartupInput;
-typedef GpStatus WINGDIPAPI (*NotificationHookProc)(ULONG_PTR *token);
-typedef VOID WINGDIPAPI (*NotificationUnhookProc)(ULONG_PTR token);
+typedef GpStatus (WINGDIPAPI *NotificationHookProc)(ULONG_PTR *token);
+typedef VOID (WINGDIPAPI *NotificationUnhookProc)(ULONG_PTR token);
typedef struct GdiplusStartupOutput {
NotificationHookProc NotificationHook;
diff --git a/mingw-w64-headers/include/gdiplus/gdiplustypes.h
b/mingw-w64-headers/include/gdiplus/gdiplustypes.h
index 68d522a3..801122d0 100644
--- a/mingw-w64-headers/include/gdiplus/gdiplustypes.h
+++ b/mingw-w64-headers/include/gdiplus/gdiplustypes.h
@@ -450,9 +450,8 @@ private:
} PathData;
/* Callback function types */
-/* FIXME: need a correct definition for these function pointer types */
typedef void *DebugEventProc;
-typedef BOOL CALLBACK
(*EnumerateMetafileProc)(EmfPlusRecordType,UINT,UINT,const BYTE*,VOID*);
+typedef BOOL (CALLBACK
*EnumerateMetafileProc)(EmfPlusRecordType,UINT,UINT,const BYTE*,VOID*);
typedef void *DrawImageAbort;
typedef void *GetThumbnailImageAbort;
--
2.31.1.windows.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public