Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
7d1e21e2
Commit
7d1e21e2
authored
Jan 26, 2007
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Handle TKIND_DISPATCH when generating MSFT typelibs.
parent
7f9f78ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
write_msft.c
tools/widl/write_msft.c
+4
-1
No files found.
tools/widl/write_msft.c
View file @
7d1e21e2
...
...
@@ -733,6 +733,7 @@ static void add_structure_typeinfo(msft_typelib_t *typelib, type_t *structure);
static
void
add_interface_typeinfo
(
msft_typelib_t
*
typelib
,
type_t
*
interface
);
static
void
add_enum_typeinfo
(
msft_typelib_t
*
typelib
,
type_t
*
enumeration
);
static
void
add_coclass_typeinfo
(
msft_typelib_t
*
typelib
,
type_t
*
cls
);
static
void
add_dispinterface_typeinfo
(
msft_typelib_t
*
typelib
,
type_t
*
dispinterface
);
/****************************************************************************
...
...
@@ -974,6 +975,8 @@ static int encode_type(
case
0
:
if
(
type
->
kind
==
TKIND_COCLASS
)
add_coclass_typeinfo
(
typelib
,
type
);
else
if
(
type
->
kind
==
TKIND_DISPATCH
)
add_dispinterface_typeinfo
(
typelib
,
type
);
else
error
(
"encode_type: VT_USERDEFINED - can't yet add typedef's on the fly
\n
"
);
break
;
...
...
@@ -1887,7 +1890,7 @@ static void add_dispatch(msft_typelib_t *typelib)
}
static
void
add_dispinterface_typeinfo
(
msft_typelib_t
*
typelib
,
type_t
*
dispinterface
)
{
{
int
idx
=
0
;
const
func_t
*
func
;
var_t
*
var
;
...
...
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