[PATCH 1/4] widl: Keep const attributes applied to pointers when writing out the type.

Robert Shearman rob at codeweavers.com
Mon Apr 28 14:31:34 CDT 2008

Use an attribute to store the const qualifier for the pointer and type.

Allow multiple type-qualifiers to be applied to a type by adding a 
declaration-specifier rule that encompasses type-qualifiers and types.
  tools/widl/header.c    |    5 ++-
  tools/widl/parser.y    |  103 
  tools/widl/widltypes.h |    2 +-
  3 files changed, 92 insertions(+), 18 deletions(-)

This is a resend of a previous patch, with the bug that Alexandre 
spotted fixed. The bug was that typedef'd types and arrays would no 
longer have any const modifier applied to them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 32482510314382868fb8e23a7a9462156a86d0d8.diff
Type: text/x-patch
Size: 9485 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080428/f3903202/attachment-0001.bin 

More information about the wine-patches mailing list