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
dd68561c
Commit
dd68561c
authored
Mar 28, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix method number for call_as functions.
parent
53bb4117
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
header.h
tools/widl/header.h
+1
-0
proxy.c
tools/widl/proxy.c
+1
-1
typegen.c
tools/widl/typegen.c
+5
-1
No files found.
tools/widl/header.h
View file @
dd68561c
...
...
@@ -34,6 +34,7 @@ extern int needs_space_after(type_t *t);
extern
int
is_object
(
const
type_t
*
iface
);
extern
int
is_local
(
const
attr_list_t
*
list
);
extern
int
count_methods
(
const
type_t
*
iface
);
extern
const
statement_t
*
get_callas_source
(
const
type_t
*
iface
,
const
var_t
*
def
);
extern
int
need_stub
(
const
type_t
*
iface
);
extern
int
need_proxy
(
const
type_t
*
iface
);
extern
int
need_inline_stubs
(
const
type_t
*
iface
);
...
...
tools/widl/proxy.c
View file @
dd68561c
...
...
@@ -464,7 +464,7 @@ int count_methods(const type_t *iface)
return
count
;
}
static
const
statement_t
*
get_callas_source
(
const
type_t
*
iface
,
const
var_t
*
def
)
const
statement_t
*
get_callas_source
(
const
type_t
*
iface
,
const
var_t
*
def
)
{
const
statement_t
*
source
;
STATEMENTS_FOR_EACH_FUNC
(
source
,
type_iface_get_stmts
(
iface
))
{
...
...
tools/widl/typegen.c
View file @
dd68561c
...
...
@@ -1598,7 +1598,11 @@ static void write_iface_procformatstring(type_t *iface, FILE *file, int indent,
STATEMENTS_FOR_EACH_FUNC
(
stmt
,
type_iface_get_stmts
(
iface
))
{
var_t
*
func
=
stmt
->
u
.
var
;
if
(
is_local
(
func
->
attrs
))
continue
;
if
(
is_local
(
func
->
attrs
))
{
if
(
!
get_callas_source
(
iface
,
func
))
count
++
;
continue
;
}
write_procformatstring_func
(
file
,
indent
,
iface
,
func
,
offset
,
count
++
);
}
}
...
...
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