widl: Add new type_is_alias and type_get_real_type helper functions.
authorRob Shearman <robertshearman@gmail.com>
Mon, 5 Jan 2009 23:33:43 +0000 (23:33 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 6 Jan 2009 11:56:51 +0000 (12:56 +0100)
commitcb8d3322beffa1abae2869b54ce0172c5d0fd3f7
tree041b4fdeccedf940a62695d256c682430f0c041a
parent200ec538352c36cb1e10e76c70ec7da56cbc0958
widl: Add new type_is_alias and type_get_real_type helper functions.

Use type_is_alias to replace cumbersome "type->kind == TKIND_ALIAS" expressions.
Use type_get_real_type to simplify some code.
tools/widl/header.c
tools/widl/parser.y
tools/widl/typegen.c
tools/widl/typelib.c
tools/widl/typetree.h
tools/widl/write_msft.c