Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
df0a15d7
Commit
df0a15d7
authored
Jan 22, 2016
by
Dmitry Timoshkov
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Avoid relying on side effects when marking function index as the last one.
parent
0fc39655
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
write_sltg.c
tools/widl/write_sltg.c
+4
-3
No files found.
tools/widl/write_sltg.c
View file @
df0a15d7
...
...
@@ -1465,11 +1465,12 @@ static void add_interface_typeinfo(struct sltg_typelib *typelib, type_t *iface)
STATEMENTS_FOR_EACH_FUNC
(
stmt_func
,
type_iface_get_stmts
(
iface
))
{
if
(
i
==
func_count
-
1
)
i
|=
0x80000000
;
int
idx
=
inherited_func_count
+
i
;
if
(
i
==
func_count
-
1
)
idx
|=
0x80000000
;
base_offset
+=
add_func_desc
(
typelib
,
&
data
,
stmt_func
->
u
.
var
,
inherited_func_count
+
i
,
dispid
++
,
base_offset
,
&
hrefmap
);
idx
,
dispid
+
i
,
base_offset
,
&
hrefmap
);
i
++
;
}
...
...
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