widl: Use is_string_type instead of is_attr(..., ATTR_STRING) for detecting strings.

Rob Shearman robertshearman at gmail.com
Fri Jan 2 06:14:50 CST 2009


Detecting strings is a bit harder than just looking for the string
attribute, so make sure to use the function which has the purpose of
doing just that.

Fixes compilation of generated server/proxy code when a parameter has
both the [out] and [string] attributes.
---
 tools/widl/typegen.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c4141d82db29d7d33573804a06383371ad7761d4.diff
Type: text/x-patch
Size: 1471 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090102/d2b1421a/attachment.bin 


More information about the wine-patches mailing list