widl: Simplify write_parameter_conf_or_var_exprs by making use of typegen_detect_type.
authorRob Shearman <robertshearman@gmail.com>
Mon, 15 Mar 2010 19:31:10 +0000 (19:31 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 16 Mar 2010 10:41:21 +0000 (11:41 +0100)
commitfd96c54641e500952233d0ac5a1a2730f82a60d7
tree3bf69af6bd9df6db87ed4fa94ecd602738977bc7
parent82ab9443b87b363a4fba2552dd88760972ee40ee
widl: Simplify write_parameter_conf_or_var_exprs by making use of typegen_detect_type.

Remove the difficult manual walking of the alias tree and make the
code easier to read and less likely to break if a new type is added.
tools/widl/typegen.c