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
1dbcdee3
Commit
1dbcdee3
authored
Apr 02, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Don't call write_embedded_types if an array element is a string.
parent
bde38beb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
typegen.c
tools/widl/typegen.c
+2
-1
No files found.
tools/widl/typegen.c
View file @
1dbcdee3
...
...
@@ -2899,7 +2899,8 @@ static unsigned int write_array_tfs(FILE *file, const attr_list_t *attrs, type_t
if
(
!
pointer_type
)
pointer_type
=
RPC_FC_RP
;
write_embedded_types
(
file
,
attrs
,
type_array_get_element
(
type
),
name
,
FALSE
,
typestring_offset
);
if
(
!
is_string_type
(
attrs
,
type_array_get_element
(
type
)))
write_embedded_types
(
file
,
attrs
,
type_array_get_element
(
type
),
name
,
FALSE
,
typestring_offset
);
size
=
type_memsize
(
is_conformant_array
(
type
)
?
type_array_get_element
(
type
)
:
type
);
align
=
type_buffer_alignment
(
is_conformant_array
(
type
)
?
type_array_get_element
(
type
)
:
type
);
...
...
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