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
3387fc90
Commit
3387fc90
authored
Jan 24, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Jan 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix handling of void.
parent
ef847a03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
write_msft.c
tools/widl/write_msft.c
+8
-2
No files found.
tools/widl/write_msft.c
View file @
3387fc90
...
@@ -766,8 +766,11 @@ static int encode_type(
...
@@ -766,8 +766,11 @@ static int encode_type(
{
{
int
next_vt
;
int
next_vt
;
while
((
next_vt
=
get_type_vt
(
type
->
ref
))
==
0
)
{
while
((
next_vt
=
get_type_vt
(
type
->
ref
))
==
0
)
{
if
(
type
->
ref
==
NULL
)
{
next_vt
=
VT_VOID
;
break
;
}
type
=
type
->
ref
;
type
=
type
->
ref
;
if
(
!
type
)
error
(
"encode_type: type->ref is null
\n
"
);
}
}
encode_type
(
typelib
,
next_vt
,
type
->
ref
,
&
target_type
,
NULL
,
NULL
,
&
child_size
);
encode_type
(
typelib
,
next_vt
,
type
->
ref
,
&
target_type
,
NULL
,
NULL
,
&
child_size
);
...
@@ -1021,8 +1024,11 @@ static int encode_var(
...
@@ -1021,8 +1024,11 @@ static int encode_var(
vt
=
get_var_vt
(
var
);
vt
=
get_var_vt
(
var
);
type
=
var
->
type
;
type
=
var
->
type
;
while
(
!
vt
)
{
while
(
!
vt
)
{
if
(
type
->
ref
==
NULL
)
{
vt
=
VT_VOID
;
break
;
}
type
=
type
->
ref
;
type
=
type
->
ref
;
if
(
!
type
)
error
(
"encode_var: type->ref is null
\n
"
);
vt
=
get_type_vt
(
type
);
vt
=
get_type_vt
(
type
);
}
}
encode_type
(
typelib
,
vt
,
type
,
encoded_type
,
width
,
alignment
,
decoded_size
);
encode_type
(
typelib
,
vt
,
type
,
encoded_type
,
width
,
alignment
,
decoded_size
);
...
...
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