Francois Gouget : gdiplus: Make gdiplustypes.h C++ compatible.

Alexandre Julliard julliard at winehq.org
Fri Sep 21 07:23:01 CDT 2007


Module: wine
Branch: master
Commit: 0bf3f1d9f1f4cf0b0a3372fcb056098bff71331a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0bf3f1d9f1f4cf0b0a3372fcb056098bff71331a

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Sep 20 21:36:10 2007 +0200

gdiplus: Make gdiplustypes.h C++ compatible.

Add GetThumbnailImageAbort.

---

 include/gdiplustypes.h |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/include/gdiplustypes.h b/include/gdiplustypes.h
index 9d73a85..c9a5740 100644
--- a/include/gdiplustypes.h
+++ b/include/gdiplustypes.h
@@ -21,9 +21,6 @@
 
 typedef float REAL;
 
-typedef BOOL (CALLBACK * ImageAbort)(VOID *);
-typedef ImageAbort DrawImageAbort;
-
 enum Status{
     Ok                          = 0,
     GenericError                = 1,
@@ -48,6 +45,20 @@ enum Status{
     PropertyNotSupported        = 20
 };
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef BOOL (CALLBACK * ImageAbort)(VOID *);
+typedef ImageAbort DrawImageAbort;
+typedef ImageAbort GetThumbnailImageAbort;
+
+#ifdef __cplusplus
+}
+#endif
+
+
 #ifdef __cplusplus
 
 class Point




More information about the wine-cvs mailing list