widl: Fix pointer detection in structures and arrays. [try 2]

Robert Shearman rob at codeweavers.com
Tue Dec 25 11:06:28 CST 2007

write_embedded_types doesn't descend into all types contained by the
array or structure, so create a new function, type_has_pointers, for the
purpose of descending into all types and returning whether or not
pointers are present.
   tools/widl/typegen.c |   42 +++++++++++++++++++++++++++++++++++++++++-
   1 files changed, 41 insertions(+), 1 deletions(-)

This version fixes a crash with unions with empty case statements.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 384563379d676a1f45c290284f8feae5ad551fe4.diff
Type: text/x-patch
Size: 2301 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071225/dc820202/attachment.bin 

More information about the wine-patches mailing list