[PATCH 04/14] widl: Add new type_is_alias and type_get_real_type helper functions.
Rob Shearman
robertshearman at gmail.com
Mon Jan 5 17:33:43 CST 2009
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 | 14 +++++++-------
tools/widl/parser.y | 32 ++++++++++++--------------------
tools/widl/typegen.c | 4 ++--
tools/widl/typelib.c | 3 ++-
tools/widl/typetree.h | 13 +++++++++++++
tools/widl/write_msft.c | 2 +-
6 files changed, 37 insertions(+), 31 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d70c1c025ac5e8f228a9effca1526c0924370aa4.diff
Type: text/x-patch
Size: 7490 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090105/8a08e16b/attachment.bin
More information about the wine-patches
mailing list