Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c8c7ff64
Commit
c8c7ff64
authored
Aug 16, 2022
by
Julian Klemann
Committed by
Alexandre Julliard
Sep 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Use "cinterface(IInspectable)" for IInspectable signature.
Fixes the UUID of ITypedEventHandler<DeviceWatcher*, IInspectable*> to match MIDL.
parent
e970c4c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
typetree.c
tools/widl/typetree.c
+2
-1
No files found.
tools/widl/typetree.c
View file @
c8c7ff64
...
@@ -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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment