widl: Fix the writing of expressions in un-typedef'd structures by using write_type_l...
authorRob Shearman <robertshearman@gmail.com>
Mon, 15 Mar 2010 19:30:37 +0000 (19:30 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 16 Mar 2010 10:40:10 +0000 (11:40 +0100)
commit9aad1447552173d2bbe07021c859907e344e54a3
tree351ff82b0b9de60abee73bb7134ca5d0a89f86b9
parentdf853f8ed2ce37587585055cf0926e3ced745041
widl: Fix the writing of expressions in un-typedef'd structures by using write_type_left to write out the type, which adds the "struct ..." if necessary.

Also improve the type comparison code to not crash on unnamed
structures (although further changes need to be made to fix the output
in this case) and make it more efficient by first doing a comparison
on the values of the type pointers.
tools/widl/typegen.c