Commit c8c7ff64 authored by Julian Klemann's avatar Julian Klemann Committed by Alexandre Julliard

widl: Use "cinterface(IInspectable)" for IInspectable signature.

Fixes the UUID of ITypedEventHandler<DeviceWatcher*, IInspectable*> to match MIDL.
parent e970c4c3
...@@ -168,7 +168,8 @@ static size_t append_type_signature(char **buf, size_t *len, size_t pos, type_t ...@@ -168,7 +168,8 @@ static size_t append_type_signature(char **buf, size_t *len, size_t pos, type_t
switch (type->type_type) switch (type->type_type)
{ {
case TYPE_INTERFACE: case TYPE_INTERFACE:
if (type->signature) n += strappend(buf, len, pos + n, "%s", type->signature); if (!strcmp(type->name, "IInspectable")) n += strappend(buf, len, pos + n, "cinterface(IInspectable)");
else if (type->signature) n += strappend(buf, len, pos + n, "%s", type->signature);
else else
{ {
if (!(uuid = get_attrp(type->attrs, ATTR_UUID))) if (!(uuid = get_attrp(type->attrs, ATTR_UUID)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment