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
eb000448
Commit
eb000448
authored
Mar 31, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Mar 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Use print_phase_function for printing NdrPointerFree call.
parent
04632f6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
typegen.c
tools/widl/typegen.c
+2
-11
No files found.
tools/widl/typegen.c
View file @
eb000448
...
...
@@ -1501,20 +1501,11 @@ void write_remoting_arguments(FILE *file, int indent, const func_t *func,
fprintf
(
file
,
";
\n
"
);
}
/* FIXME: these can't both be correct */
if
(
phase
==
PHASE_FREE
)
{
print_file
(
file
,
indent
,
"NdrPointerFree(
\n
"
);
indent
++
;
print_file
(
file
,
indent
,
"&_StubMsg,
\n
"
);
print_file
(
file
,
indent
,
"(unsigned char *)%s,
\n
"
,
var
->
name
);
print_file
(
file
,
indent
,
"&__MIDL_TypeFormatString.Format[%d]);
\n
"
,
*
type_offset
);
indent
--
;
}
print_phase_function
(
file
,
indent
,
"Pointer"
,
phase
,
var
->
name
,
*
type_offset
);
else
{
print_phase_function
(
file
,
indent
,
"ConformantString"
,
phase
,
var
->
name
,
*
type_offset
);
}
}
}
else
if
(
is_array_type
(
var
->
attrs
,
var
->
ptr_level
,
var
->
array
))
...
...
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