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
bf9d2904
Commit
bf9d2904
authored
May 24, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Don't call the buffer sizer routine when the size is known already.
parent
050f6f38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
typegen.c
tools/widl/typegen.c
+3
-1
No files found.
tools/widl/typegen.c
View file @
bf9d2904
...
...
@@ -3537,7 +3537,7 @@ static void write_remoting_arg(FILE *file, int indent, const var_t *func, const
{
int
in_attr
,
out_attr
,
pointer_type
;
const
type_t
*
type
=
var
->
type
;
unsigned
int
start_offset
=
type
->
typestring_offset
;
unsigned
int
alignment
,
start_offset
=
type
->
typestring_offset
;
if
(
is_ptr
(
type
)
||
is_array
(
type
))
pointer_type
=
get_pointer_fc
(
type
,
var
->
attrs
,
pass
!=
PASS_RETURN
);
...
...
@@ -3562,6 +3562,8 @@ static void write_remoting_arg(FILE *file, int indent, const var_t *func, const
break
;
}
if
(
phase
==
PHASE_BUFFERSIZE
&&
get_required_buffer_size
(
var
,
&
alignment
,
pass
))
return
;
write_parameter_conf_or_var_exprs
(
file
,
indent
,
local_var_prefix
,
phase
,
var
);
switch
(
typegen_detect_type
(
type
,
var
->
attrs
,
TDT_ALL_TYPES
))
...
...
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