Module: wine Branch: master Commit: 033cade616dcd12a47d3f74babc7b47233559f24 URL: http://source.winehq.org/git/wine.git/?a=commit;h=033cade616dcd12a47d3f74bab...
Author: Rob Shearman rob@codeweavers.com Date: Thu May 1 12:35:31 2008 +0100
widl: Consolidate writing of COM and dispatch interfaces into one function to remove duplicated code.
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(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=033cade616dcd12a47d3f7...