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
c8703d17
Commit
c8703d17
authored
Dec 26, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Convert the main while loops in marshall_arguments and
unmarshall_arguments into for loops.
parent
41373881
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
typegen.c
tools/widl/typegen.c
+2
-6
No files found.
tools/widl/typegen.c
View file @
c8703d17
...
...
@@ -291,7 +291,7 @@ void marshall_arguments(FILE *file, int indent, func_t *func, unsigned int *type
var
=
func
->
args
;
while
(
NEXT_LINK
(
var
))
var
=
NEXT_LINK
(
var
);
while
(
var
)
for
(;
var
;
var
=
PREV_LINK
(
var
)
)
{
if
(
var
->
ptr_level
==
0
)
{
...
...
@@ -382,8 +382,6 @@ void marshall_arguments(FILE *file, int indent, func_t *func, unsigned int *type
error
(
"marshall_arguments: Pointer level %d not supported for variable %s
\n
"
,
var
->
ptr_level
,
var
->
name
);
last_size
=
1
;
}
var
=
PREV_LINK
(
var
);
}
}
...
...
@@ -397,7 +395,7 @@ void unmarshall_arguments(FILE *file, int indent, func_t *func, unsigned int *ty
var
=
func
->
args
;
while
(
NEXT_LINK
(
var
))
var
=
NEXT_LINK
(
var
);
while
(
var
)
for
(;
var
;
var
=
PREV_LINK
(
var
)
)
{
if
(
var
->
ptr_level
==
0
)
{
...
...
@@ -489,8 +487,6 @@ void unmarshall_arguments(FILE *file, int indent, func_t *func, unsigned int *ty
error
(
"unmarshall_arguments: Pointer level %d not supported for variable %s
\n
"
,
var
->
ptr_level
,
var
->
name
);
last_size
=
1
;
}
var
=
PREV_LINK
(
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