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
53bb4117
Commit
53bb4117
authored
Mar 28, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Don't output the explicit handle argument.
parent
7ff6c631
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
typegen.c
tools/widl/typegen.c
+7
-5
No files found.
tools/widl/typegen.c
View file @
53bb4117
...
...
@@ -1044,11 +1044,7 @@ static unsigned char get_parameter_fc( const var_t *var, int is_return, unsigned
case
TGT_BASIC
:
*
flags
|=
IsBasetype
;
fc
=
get_basic_fc_signed
(
var
->
declspec
.
type
);
if
(
fc
==
FC_BIND_PRIMITIVE
)
{
buffer_size
=
4
;
/* actually 0 but avoids setting MustSize */
fc
=
FC_LONG
;
}
if
(
fc
==
FC_BIND_PRIMITIVE
)
buffer_size
=
4
;
/* actually 0 but avoids setting MustSize */
break
;
case
TGT_ENUM
:
*
flags
|=
IsBasetype
;
...
...
@@ -1420,6 +1416,7 @@ static void write_proc_func_interp( FILE *file, int indent, const type_t *iface,
print_file
(
file
,
indent
,
"NdrFcShort(0x%hx),
\t
/* stack offset = %hu */
\n
"
,
handle_stack_offset
,
handle_stack_offset
);
*
offset
+=
4
;
nb_args
--
;
break
;
case
FC_BIND_GENERIC
:
handle_flags
=
type_memsize
(
handle_var
->
declspec
.
type
);
...
...
@@ -1493,6 +1490,11 @@ static void write_proc_func_interp( FILE *file, int indent, const type_t *iface,
/* emit argument data */
if
(
args
)
LIST_FOR_EACH_ENTRY
(
var
,
args
,
var_t
,
entry
)
{
if
(
explicit_fc
==
FC_BIND_PRIMITIVE
&&
var
==
handle_var
)
{
stack_offset
+=
pointer_size
;
continue
;
}
print_file
(
file
,
0
,
"/* %u (parameter %s) */
\n
"
,
*
offset
,
var
->
name
);
*
offset
+=
write_new_procformatstring_type
(
file
,
indent
,
var
,
FALSE
,
&
stack_offset
);
}
...
...
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