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
a67c37f8
Commit
a67c37f8
authored
Apr 25, 2007
by
Dan Hipschman
Committed by
Alexandre Julliard
Apr 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Declare fixed-size array args as pointers to arrays.
parent
cc09b0c1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
proxy.c
tools/widl/proxy.c
+2
-0
server.c
tools/widl/server.c
+2
-0
typegen.c
tools/widl/typegen.c
+6
-1
No files found.
tools/widl/proxy.c
View file @
a67c37f8
...
...
@@ -416,6 +416,8 @@ static void gen_stub(type_t *iface, const func_t *cur, const char *cas,
LIST_FOR_EACH_ENTRY
(
arg
,
cur
->
args
,
const
var_t
,
entry
)
{
fprintf
(
proxy
,
", "
);
if
(
arg
->
array
)
fprintf
(
proxy
,
"*"
);
write_name
(
proxy
,
arg
);
}
}
...
...
tools/widl/server.c
View file @
a67c37f8
...
...
@@ -211,6 +211,8 @@ static void write_function_stubs(type_t *iface, unsigned int *proc_offset, unsig
else
fprintf
(
server
,
",
\n
"
);
print_server
(
""
);
if
(
var
->
array
)
fprintf
(
server
,
"*"
);
write_name
(
server
,
var
);
}
fprintf
(
server
,
");
\n
"
);
...
...
tools/widl/typegen.c
View file @
a67c37f8
...
...
@@ -2302,7 +2302,12 @@ void declare_stub_args( FILE *file, int indent, const func_t *func )
print_file
(
file
,
indent
,
""
);
write_type
(
file
,
var
->
type
,
var
,
var
->
tname
);
fprintf
(
file
,
" "
);
write_name
(
file
,
var
);
if
(
var
->
array
)
{
fprintf
(
file
,
"( *"
);
write_name
(
file
,
var
);
fprintf
(
file
,
" )"
);
}
else
write_name
(
file
,
var
);
write_array
(
file
,
var
->
array
,
0
);
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