Module: wine Branch: master Commit: 1af44e26709c6c410773a171508b85322991ebcc URL: https://source.winehq.org/git/wine.git/?a=commit;h=1af44e26709c6c410773a1715... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Tue Jan 25 10:13:38 2022 +0100 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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- tools/widl/typetree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/widl/typetree.c b/tools/widl/typetree.c index e1fab1e5525..5e1a73da3d2 100644 --- a/tools/widl/typetree.c +++ b/tools/widl/typetree.c @@ -197,6 +197,7 @@ static size_t append_type_signature(char **buf, size_t *len, size_t pos, type_t return n; case TYPE_ALIAS: 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); return n; case TYPE_STRUCT: