gdiplus: Make gdiplustypes.h C++ compatible.
Francois Gouget
fgouget at free.fr
Thu Sep 20 14:36:10 CDT 2007
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
--
1.5.2.4
More information about the wine-patches
mailing list