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
b8921b41
Commit
b8921b41
authored
Apr 03, 2024
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: In old style typelibs all types are public.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
parent
a630b125
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
write_sltg.c
tools/widl/write_sltg.c
+2
-11
No files found.
tools/widl/write_sltg.c
View file @
b8921b41
...
...
@@ -411,11 +411,6 @@ static void append_data(struct sltg_data *block, const void *data, int size)
block
->
size
=
new_size
;
}
static
void
add_typedef_typeinfo
(
struct
sltg_typelib
*
typelib
,
type_t
*
type
)
{
error
(
"add_typedef_typeinfo: %s not implemented
\n
"
,
type
->
name
);
}
static
void
add_module_typeinfo
(
struct
sltg_typelib
*
typelib
,
type_t
*
type
)
{
error
(
"add_module_typeinfo: %s not implemented
\n
"
,
type
->
name
);
...
...
@@ -996,12 +991,8 @@ static void add_statement(struct sltg_typelib *typelib, const statement_t *stmt)
LIST_FOR_EACH_ENTRY
(
ref
,
stmt
->
u
.
type_list
,
typeref_t
,
entry
)
{
/* if the type is public then add the typedef, otherwise attempt
* to add the aliased type */
if
(
is_attr
(
ref
->
type
->
attrs
,
ATTR_PUBLIC
))
add_typedef_typeinfo
(
typelib
,
ref
->
type
);
else
add_type_typeinfo
(
typelib
,
type_alias_get_aliasee_type
(
ref
->
type
));
/* in old style typelibs all types are public */
add_type_typeinfo
(
typelib
,
ref
->
type
);
}
break
;
}
...
...
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