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
096b3cd0
Commit
096b3cd0
authored
Mar 23, 2010
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix writing of MaxCount expressions for conformant strings declared using array form.
parent
1ff4bfe6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
typegen.c
tools/widl/typegen.c
+4
-2
No files found.
tools/widl/typegen.c
View file @
096b3cd0
...
...
@@ -3305,7 +3305,8 @@ expr_t *get_size_is_expr(const type_t *t, const char *name)
expr_t
*
x
=
NULL
;
for
(
;
is_array
(
t
);
t
=
type_array_get_element
(
t
))
if
(
type_array_has_conformance
(
t
))
if
(
type_array_has_conformance
(
t
)
&&
type_array_get_conformance
(
t
)
->
type
!=
EXPR_VOID
)
{
if
(
!
x
)
x
=
type_array_get_conformance
(
t
);
...
...
@@ -3330,7 +3331,8 @@ static void write_parameter_conf_or_var_exprs(FILE *file, int indent, const char
case
TGT_ARRAY
:
if
(
is_conformance_needed_for_phase
(
phase
))
{
if
(
type_array_has_conformance
(
type
))
if
(
type_array_has_conformance
(
type
)
&&
type_array_get_conformance
(
type
)
->
type
!=
EXPR_VOID
)
{
print_file
(
file
,
indent
,
"__frame->_StubMsg.MaxCount = (ULONG_PTR)"
);
write_expr
(
file
,
type_array_get_conformance
(
type
),
1
,
1
,
NULL
,
NULL
,
local_var_prefix
);
...
...
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