widl: Consolidate writing of COM and dispatch interfaces into one function to remove...
commit033cade616dcd12a47d3f74babc7b47233559f24
authorRob Shearman <rob@codeweavers.com>
Thu, 1 May 2008 11:35:31 +0000 (1 12:35 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 1 May 2008 16:11:26 +0000 (1 18:11 +0200)
tree8f787e415549a2179b668c1c42405dc336dda8b5
parent550aaaded571b1204bfcd04c732eec03c9ce52a9
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
tools/widl/header.h
tools/widl/parser.y