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
4b5386e2
Commit
4b5386e2
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: Write pointer calls for all non-basetype pointer parameters to functions.
parent
91dbc5ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
typegen.c
tools/widl/typegen.c
+6
-6
No files found.
tools/widl/typegen.c
View file @
4b5386e2
...
...
@@ -1163,8 +1163,12 @@ static size_t write_typeformatstring_var(FILE *file, int indent,
const
type_t
*
type
=
var
->
type
;
int
ptr_level
=
var
->
ptr_level
;
chat
(
"write_typeformatstring_var: %s
\n
"
,
var
->
name
);
while
(
TRUE
)
{
chat
(
"write_typeformatstring: type->type = 0x%x, type->name = %s, ptr_level = %d
\n
"
,
type
->
type
,
type
->
name
,
ptr_level
);
if
(
is_string_type
(
var
->
attrs
,
ptr_level
,
var
->
array
))
return
write_string_tfs
(
file
,
var
->
attrs
,
type
,
var
->
array
,
var
->
name
,
typeformat_offset
);
...
...
@@ -1646,7 +1650,7 @@ void write_remoting_arguments(FILE *file, int indent, const func_t *func,
}
else
{
if
(
pointer_type
==
RPC_FC_RP
)
if
(
(
var
->
ptr_level
==
1
)
&&
(
pointer_type
==
RPC_FC_RP
)
&&
is_base_type
(
var
->
type
->
type
)
)
{
unsigned
int
size
;
switch
(
var
->
type
->
type
)
...
...
@@ -1711,7 +1715,7 @@ void write_remoting_arguments(FILE *file, int indent, const func_t *func,
write_type
(
file
,
var
->
type
,
NULL
,
var
->
tname
);
fprintf
(
file
,
");
\n
"
);
}
else
if
(
pointer_type
==
RPC_FC_UP
)
else
{
print_file
(
file
,
indent
,
"NdrPointer%s(
\n
"
,
function_from_phase
(
phase
));
indent
++
;
...
...
@@ -1723,10 +1727,6 @@ void write_remoting_arguments(FILE *file, int indent, const func_t *func,
print_file
(
file
,
indent
,
"(unsigned char *)0);
\n
"
);
indent
--
;
}
else
if
(
pointer_type
==
RPC_FC_FP
)
{
error
(
"write_remoting_arguments: Unimplemented for full pointers to base types
\n
"
);
}
}
fprintf
(
file
,
"
\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