SHDOCVW: Use macro to implement IUnknown iface's methods that forward calls to the other iface.

Jacek Caban jacek at codeweavers.com
Thu Jan 12 09:22:17 CST 2006


This patch not only reduces the size of code and number of places of potential
typos, but also makes it easier to debug ref counting.

ChangeLog:
Use macro to implement IUnknown iface's methods that forward calls to the other iface.

  dlls/shdocvw/classinfo.c |   20 +-----------
  dlls/shdocvw/client.c    |   41 +++---------------------
  dlls/shdocvw/dochost.c   |   20 +-----------
  dlls/shdocvw/events.c    |   20 +-----------
  dlls/shdocvw/misc.c      |   20 +-----------
  dlls/shdocvw/oleobject.c |   78 ++++------------------------------------------
  dlls/shdocvw/persist.c   |   40 ++----------------------
  dlls/shdocvw/shdocvw.h   |   18 +++++++++++
  dlls/shdocvw/view.c      |   19 +----------
  9 files changed, 44 insertions(+), 232 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 50df296cd05b05df1d5884e722ed0839a296cf1a.diff
Type: text/x-patch
Size: 15786 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060112/8aac7767/50df296cd05b05df1d5884e722ed0839a296cf1a.diff


More information about the wine-patches mailing list