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
7d1e3691
Commit
7d1e3691
authored
Sep 10, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Add special handling for pointers to arrays in the typelib generator.
parent
5af9acad
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 @
7d1e3691
...
...
@@ -1128,9 +1128,12 @@ static int encode_var(
if
(
typeoffset
==
typelib
->
typelib_segdir
[
MSFT_SEG_TYPEDESC
].
length
)
{
int
mix_field
;
if
(
target_type
&
0x80000000
)
{
mix_field
=
((
target_type
>>
16
)
&
0x3fff
)
|
VT_BYREF
;
}
else
if
(
is_array
(
ref
))
{
type_t
*
element_type
=
type_alias_get_aliasee
(
type_array_get_element
(
ref
));
mix_field
=
get_type_vt
(
element_type
)
|
VT_ARRAY
|
VT_BYREF
;
}
else
{
typedata
=
(
void
*
)
&
typelib
->
typelib_segment_data
[
MSFT_SEG_TYPEDESC
][
target_type
];
mix_field
=
((
typedata
[
0
]
>>
16
)
==
0x7fff
)
?
0x7fff
:
0x7ffe
;
...
...
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