widl: Consolidate writing of COM and dispatch interfaces into one function to remove duplicated code.

Robert Shearman rob at codeweavers.com
Thu May 1 06:35:31 CDT 2008

Split up the writing into start and end to eventually support the style 
MIDL uses where it writes declared types, etc. between the start and end 
of the interface.

Make internal header functions take the file pointer to print to.

Don't write interface IDs for non-object interfaces and always write 
handle declarations even if the interface has no methods, like MIDL does.
  tools/widl/header.c |  199 
  tools/widl/header.h |    1 -
  tools/widl/parser.y |    4 +-
  3 files changed, 93 insertions(+), 111 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7836f8dc422ee87f1bffb6ab6ca04c8d37af341c.diff
Type: text/x-patch
Size: 14002 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080501/4ef7f959/attachment.bin 

More information about the wine-patches mailing list