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
2f532567
Commit
2f532567
authored
Apr 15, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Don't use a structure for NdrClientCall2 parameters on ARM.
parent
84509acb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
typegen.c
tools/widl/typegen.c
+3
-3
No files found.
tools/widl/typegen.c
View file @
2f532567
...
...
@@ -5063,7 +5063,7 @@ void write_client_call_routine( FILE *file, const type_t *iface, const var_t *fu
int
len
,
needs_params
=
0
;
/* we need a param structure if we have more than one arg */
if
(
pointer_size
==
4
&&
args
)
needs_params
=
is_object
(
iface
)
||
list_count
(
args
)
>
1
;
if
(
target
.
cpu
==
CPU_i386
&&
args
)
needs_params
=
is_object
(
iface
)
||
list_count
(
args
)
>
1
;
print_file
(
file
,
0
,
"{
\n
"
);
if
(
needs_params
)
...
...
@@ -5086,7 +5086,7 @@ void write_client_call_routine( FILE *file, const type_t *iface, const var_t *fu
{
fprintf
(
file
,
",
\n
%*s&__params"
,
len
,
""
);
}
else
if
(
pointer_size
==
8
)
else
if
(
target
.
cpu
!=
CPU_i386
)
{
if
(
is_object
(
iface
))
fprintf
(
file
,
",
\n
%*sThis"
,
len
,
""
);
if
(
args
)
...
...
@@ -5107,7 +5107,7 @@ void write_client_call_routine( FILE *file, const type_t *iface, const var_t *fu
{
print_file
(
file
,
1
,
"return ("
);
write_type_decl_left
(
file
,
rettype
);
fprintf
(
file
,
")%s;
\n
"
,
pointer_size
==
8
?
"_RetVal.Simple"
:
"*(LONG_PTR *)&_RetVal"
);
fprintf
(
file
,
")%s;
\n
"
,
target
.
cpu
!=
CPU_i386
?
"_RetVal.Simple"
:
"*(LONG_PTR *)&_RetVal"
);
}
print_file
(
file
,
0
,
"}
\n\n
"
);
}
...
...
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