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
5ae2b0f2
Commit
5ae2b0f2
authored
Feb 02, 2011
by
Huw Davies
Committed by
Alexandre Julliard
Feb 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Initialise [out] only parameters if they are user types or interface pointers.
parent
63fe5d84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
typegen.c
tools/widl/typegen.c
+5
-2
No files found.
tools/widl/typegen.c
View file @
5ae2b0f2
...
...
@@ -4055,12 +4055,15 @@ void assign_stub_out_args( FILE *file, int indent, const var_t *func, const char
case
TGT_ENUM
:
case
TGT_POINTER
:
case
TGT_RANGE
:
case
TGT_IFACE_POINTER
:
print_file
(
file
,
indent
,
"%s_W%u = 0;
\n
"
,
local_var_prefix
,
i
);
break
;
case
TGT_USER_TYPE
:
print_file
(
file
,
indent
,
"memset(&%s_W%u, 0, sizeof(%s_W%u));
\n
"
,
local_var_prefix
,
i
,
local_var_prefix
,
i
);
break
;
case
TGT_STRUCT
:
case
TGT_UNION
:
case
TGT_USER_TYPE
:
case
TGT_IFACE_POINTER
:
case
TGT_ARRAY
:
case
TGT_CTXT_HANDLE
:
case
TGT_CTXT_HANDLE_POINTER
:
...
...
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