mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 03:04:47 +00:00
widl: Use "string" for HSTRING in signatures for generated UUID.
Fixes the UUID of IVectorView<HSTRING*> to match MIDL for instance. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1f2614c60b
commit
1af44e2670
|
@ -197,6 +197,7 @@ static size_t append_type_signature(char **buf, size_t *len, size_t pos, type_t
|
||||||
return n;
|
return n;
|
||||||
case TYPE_ALIAS:
|
case TYPE_ALIAS:
|
||||||
if (!strcmp(type->name, "boolean")) n += strappend(buf, len, pos + n, "b1");
|
if (!strcmp(type->name, "boolean")) n += strappend(buf, len, pos + n, "b1");
|
||||||
|
else if (!strcmp(type->name, "HSTRING")) n += strappend(buf, len, pos + n, "string");
|
||||||
else n += append_type_signature(buf, len, pos + n, type->details.alias.aliasee.type);
|
else n += append_type_signature(buf, len, pos + n, type->details.alias.aliasee.type);
|
||||||
return n;
|
return n;
|
||||||
case TYPE_STRUCT:
|
case TYPE_STRUCT:
|
||||||
|
|
Loading…
Reference in a new issue