Michael Stefaniuc : dmusic: Remove old and ugly COM macros.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 29 08:12:10 CDT 2015


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Mon Jun 29 11:00:05 2015 +0200

dmusic: Remove old and ugly COM macros.

---

 dlls/dmusic/dmusic_private.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dlls/dmusic/dmusic_private.h b/dlls/dmusic/dmusic_private.h
index 9ac05d6..44d5d57 100644
--- a/dlls/dmusic/dmusic_private.h
+++ b/dlls/dmusic/dmusic_private.h
@@ -248,10 +248,6 @@ static inline void DMUSIC_UnlockModule(void) { InterlockedDecrement( &DMUSIC_ref
 /*****************************************************************************
  * Misc.
  */
-/* my custom ICOM stuff */
-#define ICOM_NAME_MULTI(impl,field,iface,name)  impl* const name=(impl*)((char*)(iface) - offsetof(impl,field))
-#define ICOM_THIS_MULTI(impl,field,iface) ICOM_NAME_MULTI(impl,field,iface,This)
- 
 /* for simpler reading */
 typedef struct _DMUS_PRIVATE_CHUNK {
 	FOURCC fccID; /* FOURCC ID of the chunk */




More information about the wine-cvs mailing list