Jacek Caban : unknwn.idl: Don't use inline wrappers for IUnknown calls.

Alexandre Julliard julliard at winehq.org
Tue Aug 28 14:44:40 CDT 2012


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Aug 28 11:15:12 2012 +0200

unknwn.idl: Don't use inline wrappers for IUnknown calls.

---

 include/unknwn.idl |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/include/unknwn.idl b/include/unknwn.idl
index 9071973..d6799f4 100644
--- a/include/unknwn.idl
+++ b/include/unknwn.idl
@@ -20,7 +20,10 @@
 import "wtypes.idl";
 #endif
 
-/* Interfaces */
+cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#undef WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#endif")
 
 [
   local,
@@ -39,6 +42,10 @@ interface IUnknown
   ULONG Release();
 }
 
+cpp_quote("#ifdef SAVE_WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#endif")
+
 [
   object,
   uuid(00000001-0000-0000-C000-000000000046),




More information about the wine-cvs mailing list