Rémi Bernon : widl: Use "g16" for GUID parameterized type signature.
Module: wine Branch: master Commit: a375ff9e65f4d67ef90495889468023658a583a1 URL: https://gitlab.winehq.org/wine/wine/-/commit/a375ff9e65f4d67ef90495889468023... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Tue Feb 28 17:39:48 2023 +0100 widl: Use "g16" for GUID parameterized type signature. --- tools/widl/typetree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/widl/typetree.c b/tools/widl/typetree.c index 290f9fffeb5..87ab7d2134c 100644 --- a/tools/widl/typetree.c +++ b/tools/widl/typetree.c @@ -198,6 +198,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, "GUID")) n += strappend(buf, len, pos + n, "g16"); 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;
participants (1)
-
Alexandre Julliard