widl: Use is_string_type for detecting strings in write_typeformatstring_var to make...
commit8a0cb2b5c587ced1092346bebb58820c30122375
authorRob Shearman <rob@codeweavers.com>
Thu, 27 Mar 2008 14:02:58 +0000 (27 14:02 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 27 Mar 2008 16:32:58 +0000 (27 17:32 +0100)
treed2eae33e69d5f4c08c77af0126e102bcade28caa
parent4e665b1e21ae63f33d0214f677da39373eafcaf4
widl: Use is_string_type for detecting strings in write_typeformatstring_var to make it consistent with write_remoting_arg.

Fix the is_string_type function used for detecting strings by only
examining aliases instead of both aliases and pointers. This is due to
the requirement that pointers to strings be handled as pointers and so
not detected as strings.
tools/widl/header.c
tools/widl/header.h
tools/widl/typegen.c