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
a8238dd1
Commit
a8238dd1
authored
Mar 05, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Pass var attrs into write_no_repeat_pointer_descriptions and use them for the string check.
parent
9d878f22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
typegen.c
tools/widl/typegen.c
+4
-4
No files found.
tools/widl/typegen.c
View file @
a8238dd1
...
@@ -1471,7 +1471,7 @@ static void write_descriptors(FILE *file, type_t *type, unsigned int *tfsoff)
...
@@ -1471,7 +1471,7 @@ static void write_descriptors(FILE *file, type_t *type, unsigned int *tfsoff)
}
}
static
int
write_no_repeat_pointer_descriptions
(
static
int
write_no_repeat_pointer_descriptions
(
FILE
*
file
,
type_t
*
type
,
FILE
*
file
,
const
attr_list_t
*
attrs
,
type_t
*
type
,
unsigned
int
*
offset_in_memory
,
unsigned
int
*
offset_in_buffer
,
unsigned
int
*
offset_in_memory
,
unsigned
int
*
offset_in_buffer
,
unsigned
int
*
typestring_offset
)
unsigned
int
*
typestring_offset
)
{
{
...
@@ -1493,7 +1493,7 @@ static int write_no_repeat_pointer_descriptions(
...
@@ -1493,7 +1493,7 @@ static int write_no_repeat_pointer_descriptions(
if
(
is_ptr
(
type
))
if
(
is_ptr
(
type
))
{
{
if
(
is_string_type
(
type
->
attrs
,
type
))
if
(
is_string_type
(
attrs
,
type
))
write_string_tfs
(
file
,
NULL
,
type
,
NULL
,
typestring_offset
);
write_string_tfs
(
file
,
NULL
,
type
,
NULL
,
typestring_offset
);
else
else
write_pointer_tfs
(
file
,
type
,
typestring_offset
);
write_pointer_tfs
(
file
,
type
,
typestring_offset
);
...
@@ -1534,7 +1534,7 @@ static int write_no_repeat_pointer_descriptions(
...
@@ -1534,7 +1534,7 @@ static int write_no_repeat_pointer_descriptions(
*
offset_in_buffer
+=
padding
;
*
offset_in_buffer
+=
padding
;
}
}
written
+=
write_no_repeat_pointer_descriptions
(
written
+=
write_no_repeat_pointer_descriptions
(
file
,
v
->
type
,
file
,
v
->
attrs
,
v
->
type
,
offset_in_memory
,
offset_in_buffer
,
typestring_offset
);
offset_in_memory
,
offset_in_buffer
,
typestring_offset
);
}
}
}
}
...
@@ -1852,7 +1852,7 @@ static void write_pointer_description(FILE *file, type_t *type,
...
@@ -1852,7 +1852,7 @@ static void write_pointer_description(FILE *file, type_t *type,
offset_in_memory
=
0
;
offset_in_memory
=
0
;
offset_in_buffer
=
0
;
offset_in_buffer
=
0
;
write_no_repeat_pointer_descriptions
(
write_no_repeat_pointer_descriptions
(
file
,
type
,
file
,
NULL
,
type
,
&
offset_in_memory
,
&
offset_in_buffer
,
typestring_offset
);
&
offset_in_memory
,
&
offset_in_buffer
,
typestring_offset
);
}
}
...
...
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