widl: Use is_string_type instead of is_attr(..., ATTR_STRING) for detecting strings.
commit10a422ae1455574fd21f92135a2b5c2a9a287664
authorRob Shearman <robertshearman@gmail.com>
Fri, 2 Jan 2009 12:14:50 +0000 (2 12:14 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 2 Jan 2009 13:27:43 +0000 (2 14:27 +0100)
treeb83595fdaa7d283e77acdb8d1eb153c00c6fbfee
parentba349210345accf4026c8db65d9fe9ed0341cee1
widl: Use is_string_type instead of is_attr(..., ATTR_STRING) for detecting strings.

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